|
|
Re: error: *** missing separator. Stop. [message #138680 is a reply to message #138620] |
Sun, 13 February 2005 17:23  |
Eclipse User |
|
|
|
Missing separator means that there is no tab at the beginning of a
command in a rule. You can't visually distinguish between tab and bunch
of spaces.
Example from your file:
@echo 'Building file: $<'
You would have to edit the file, erase the spaces and type tab.
I realize that this is a generated file, so you may be able to fix the
problem by cleaning the project and rebuilding it again. I experienced
this problem on Mac OS X with CDT 2.1, but did not experience it on PC
where my CDT is still 2.0.
Possibly there is a bug open against it.
John Chamberlain wrote:
> John Chamberlain wrote:
>
>> I tried updating to 2.1 CDT and now I really can't compile. I get the
>> error:
>
>
>> *** missing separator. Stop.
>
>
>> Help
>
>
> By the way the file does not have any leading spaces that I can see. It
> looks like this:
>
> ############################################################ ####################
>
> # Automatically-generated file. Do not edit!
> ############################################################ ####################
>
>
> buffers.o \
> dds.tab.o \
> http.o \
> interactive.o \
> lex.dds.o \
> main.o \
> ocapi.o \
> stack.o \
> utility.o \
> }
>
> S_UPPER_SRCS += \
> ${addprefix $(ROOT)/build/, \
> }
>
> C_SRCS += \
> ${addprefix $(ROOT)/build/, \
> }
>
> S_SRCS += \
> ${addprefix $(ROOT)/build/, \
> }
>
> # Each subdirectory must supply rules for building sources it contributes
> build/%.exe: $(ROOT)/build/%.o
> @echo 'Building file: $<'
> @echo gcc -L"D:\apps\dev\libcurl\curl-7.12.1\include"
> -L"D:\apps\dev\libcurl\curl-7.12.1\lib\.libs"
> -L"D:\apps\dev\libcurl\curl-7.12.1\lib" -o$@ $<
> @gcc -L"D:\apps\dev\libcurl\curl-7.12.1\include"
> -L"D:\apps\dev\libcurl\curl-7.12.1\lib\.libs"
> -L"D:\apps\dev\libcurl\curl-7.12.1\lib" -o$@ $<
> @echo 'Finished building: $<'
> @echo ' '
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.40197 seconds