Re: [gnet-dev] undefined reference to `gnet_base64_decode'



On Sunday 29 May 2005 14:08, Siddhartha Jain wrote:

Hi,

> 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'

That's because you're using GNet 1.1.x, where the base64 module did not exist 
yet (that was only added in the unstable GNet 1.3 series).


> 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

You should be using GLib-2.x.y and GNet-2.x.y. 

GLib-1.2 has been unmaintained for many years, and is basically unsupported. 
Same goes for GNet-1.x. 

Cheers
  -Tim



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