[gnet] gnet_pack linker error



I can't compile code using the gnet_pack or gnet_unpack functions. All other work just fine and gnet-programs without gnet_pack or gnet_unpack compile and run without any problems.

Error:
/tmp/cc3qzwM8.o(.text+0x27a): In function `network::sendRequest()':
: undefined reference to `gnet_pack(char const*, char*, int, ...)'
collect2: ld returned 1 exit status

pkg-config gnet-2.0 --libs
-pthread -lgnet-2.0 -lgthread-2.0 -lglib-2.0

I'm running Debian Sarge
libgnet-dev    2.0.7-1
libgnet2.0-0   2.0.7-1

//Jasminko





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