PDA

View Full Version : newb error


petrewebre
10-21-2003, 03:35 PM
This may seem like a newb error, well it is and seeing how i am kinda new at this i was wondering if i could get some help on it....

i followed the linux readme and all and when i type make in my world directory i get the following errow

makefile:3: ***Missing Separator. Stop.

plz help

running redhat 9

krich
10-21-2003, 06:04 PM
somethings messed up with that makefile. I just joined all the continued lines together in vi and it worked fine. don't forget to take out the / characters at the end of each line before joining.

regards,

krich

bobzub
10-22-2003, 01:10 AM
To resolve this problem ( which I ran into as well). I opened
the makefile in vi and replaced all spaces which preceded
the lines, with tabs. Problem gone. There were only spaces
before the lines in the SF= section where the object files
are listed.

petrewebre
10-22-2003, 10:23 AM
Now i get

makefile:3: *** commands commence before first target

krich
10-22-2003, 01:53 PM
Not sure what's going on, but here's a hint:

the 3 after "makefile:" is the line number in which it found the error. Try to understand what's going on at line 3 and see if you can intuitively identify a syntax problem.

Or wait until they fix it in the next CVS load.

Regards,

krich

Trumpcard
10-22-2003, 08:06 PM
Not sure whats happening there, the things that get loaded into CVS are the ones that I use directly to build with..

I'll try reuploading the makefile, maybe something happened in the transfer process...

petrewebre
10-28-2003, 12:43 PM
Anyone Know what this error is:

needed by 'all'' . stop. target world

Gangrif
10-30-2003, 12:28 AM
I get a similar error on line 5.

I'm about to try whats been suggested
i get

makefile:5: *** missing separator. Stop.

Just trying to make you feel better petrewebre.

If i find the solution ill post it.

Gangrif
10-30-2003, 12:39 AM
I did this

To resolve this problem ( which I ran into as well). I opened
the makefile in vi and replaced all spaces which preceded
the lines, with tabs.

to the top lines of the makefile...
Each of the lines which are preceeded by 3 spaces rather than a Tab.
I replaced the spaces with tabs, and ran make again.
its compiling as we speak.

(RedHat 8 if it helps)