[gnet] Unable to compile Gnet 1.1.7



Dear All,

I've been trying to compile gnet 1.1.7 with gcc 3.2.1 for a while now on Slackware 8.1 on steroids. I'm running gnome 2 compiled with garnome 0.19.3 and would like to have gnomeicu compiled which needs gnet 1.1.7.

I've seen some tips on the mailing list that did help solve part of the problem but I've not been able to fully compile gnet 1.1.7. This is what I've tried sofar.

1 ./configure --enable-glib2 this solved lots of problems but after a while I'm hitting this problem

gcc -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror -D_REENTRANT -DGNET_EXPERIMENTAL -o .libs/hash hash.o ../src/.libs/libgnet.so -L/usr/test/garnome/lib /usr/test/garnome/lib/libgthread-2.0.so -L/usr/X11R6/lib /usr/test/garnome/lib/libglib-2.0.so -lpthread -lresolv -lnsl -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/test/garnome/lib
creating hash
pack.c:22:10: #include expects "FILENAME" or <FILENAME>
cc1: warnings being treated as errors
pack.c: In function `main':
pack.c:306: warning: implicit declaration of function `exit'
make[2]: *** [pack.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2


2 >
> while compiling gnet-1.1.7 with garnome-0.18.0 where warnings are
> treated as errors
>
> i found some missing includes
>
> in tests/pack.c
> #include <stdlib.h>
>
> in tests/unpack.c
> #include <stdlib.h>
> #include <string.h>
>
> adding these seems to fix problems
>
> richard.
>

I've tried adding the includes but this doesn't seem to have much effetc.

Is there more that I can do to solve these problems ?

Thanks in advance,

Stef




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]