Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » error: *** missing separator. Stop.
error: *** missing separator. Stop. [message #138610] Sun, 13 February 2005 00:02 Go to next message
Eclipse UserFriend
Originally posted by: none.none.com

I tried updating to 2.1 CDT and now I really can't compile. I get the
error:

*** missing separator. Stop.

Help
Re: error: *** missing separator. Stop. [message #138620 is a reply to message #138610] Sun, 13 February 2005 00:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.none.com

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 ' '
Re: error: *** missing separator. Stop. [message #138680 is a reply to message #138620] Sun, 13 February 2005 17:23 Go to previous message
Eclipse UserFriend
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 ' '
>
>
>
>
Previous Topic:How to build native Mac Os X application
Next Topic:bogus subdir.mk file being generated
Goto Forum:
  


Current Time: Thu Jul 10 08:54:50 EDT 2025

Powered by FUDForum. Page generated in 3.72576 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top