[gnet] gnet library compile



Hi there gnet users ;-)

I have a fresh Slackware current installed (all the packages) and want to 
compile gnet.
configure script doesn't show any errors but when I try to complie it i get:

""
mv -f .libs/gnet-private.lo gnet-private.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DG_LOG_DOMAIN=\"GNet\"      -I/usr/include/glib-1.2 -I/usr/lib/glib/includ e 
-D_REENTRANT     -g -O2 -Wall -Wstrict-prototypes                     
-Wmissing-prototypes -Wmissing-declarations -Werror -D_REENTRANT -DGNE 
T_EXPERIMENTAL -c inetaddr.c
rm -f .libs/inetaddr.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\" 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -g -O2 -Wall 
-Wstrict-pr ototypes -Wmissing-prototypes -Wmissing-declarations -Werror 
-D_REENTRANT -DGNET_EXPERIMENTAL -c inetaddr.c  -fPIC -DPIC -o 
.libs/inetaddr.lo
cc1: warnings being treated as errors
inetaddr.c: In function `gnet_inetaddr_new':
inetaddr.c:463: warning: const qualifier ignored on asm
inetaddr.c:480: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_new_async':
inetaddr.c:661: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_new_nonblock':
inetaddr.c:1049: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_get_port':
inetaddr.c:1761: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_set_port':
inetaddr.c:1778: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_is_private':
inetaddr.c:1868: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_is_reserved':
inetaddr.c:1906: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_is_loopback':
inetaddr.c:1938: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_is_multicast':
inetaddr.c:1967: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_hash':
inetaddr.c:2031: warning: const qualifier ignored on asm
inetaddr.c:2032: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_new_any':
inetaddr.c:2192: warning: const qualifier ignored on asm
make[2]: *** [inetaddr.lo] Error 1
make[2]: Leaving directory `/disk2/src/gnet-1.1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/disk2/src/gnet-1.1.7'
make: *** [all-recursive-am] Error 2
bash-2.05b$
"
this is some info of my O.S.:

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld 
--verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2

gtk-config --version
1.2.10

Can any1 help me get gnet installed?



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