gmake compilation error (for Timbl5)

Dasn dasn@users.sf.net
Sun Dec 7 21:58:00 GMT 2003


On Sat, Dec 06, 2003 at 03:15:53PM -0800, Ioannis Lekakis wrote:
> $ gmake
> Making on UNKNOWN in directory .
> gmake CXXFLAGS='-W -Wall -Wpointer-arith -Wcast-qual
> -Wwrite-strings -Wconversion -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -ansi -ffloat-store
> -Woverloaded-virtual  -D PTHREADS' PROF_FLAGS='-O2' 
> ./Timbl  ./TimblClient
> g++ -c -W -Wall -Wpointer-arith -Wcast-qual
> -Wwrite-strings -Wconversion -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -ansi -ffloat-store
> -Woverloaded-virtual  -D PTHREADS -O2 MBLClass.cxx -o
> MBLClass.o
> In file included from SocketBasics.h:28,
>                  from MBLClass.cxx:51:
> /usr/include/sys/socket.h:484: error: syntax error
> before `(' token
> /usr/include/sys/socket.h:486: error: syntax error
> before `(' token
> gmake[1]: *** [MBLClass.o] Error 1
> gmake: *** [all] Error 2
> ---------------------------------------------------------

I don't think that's gmake's problem. It's really like a problem of Timbl5,
although the compiler reported errors in the system header files.
-- 
[dasn@source /etc]$ touch yourself
touch: Don't touch `yourself': Permission denied
[dasn@source /etc]$



More information about the Gcc-help mailing list