This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gmake compilation error (for Timbl5)
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]$