[gnet-dev] undefined reference to `gnet_base64_decode'



Hi,

I am using:
gnet-1.1.9-0.1.fc3.rf
gnet-devel-1.1.9-0.1.fc3.rf
glib-1.2.10-15
glib-devel-1.2.10-15
Fedora Core 3 Linux
gcc version 3.4.3 20050227

When I try to compile my program, it says:
[root opensims progs]# gcc -o sniff sniff.c -lipq `pkg-config gnet
--cflags --libs`
/tmp/ccqn2qJo.o(.text+0x235): In function `main':
: undefined reference to `gnet_base64_decode'
collect2: ld returned 1 exit status


Its the same if I do:
[root opensims progs]# gcc -o sniff sniff.c -lipq -lgnet
/tmp/cciEp4VD.o(.text+0x235): In function `main':
: undefined reference to `gnet_base64_decode'
collect2: ld returned 1 exit status

How is that a call to gnet_init() doesn't give the same error but a call
to gnet_base64_decode() does?

Any help would be appreciated.

Thanks,

Siddhartha




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