Re: undefined references in libmysqlclient.a

2002-05-13 Thread David James
Philip Spradling wrote: I'm trying to link libmysqlclient into a C/C++ program using g++. But I get the following errors: /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0xaa): undefined reference to 'uncompress'

gcc linking libmySQL (unresolved load_defaults symbol)

2002-05-07 Thread David James
Hi, I'm having problems porting a working client from Solaris/Linux to Windows NT (the client uses Paul DuBois' client4.c ideas to load_defaults() and getopt_long() to get connection parameters at runtime). I'm using the gcc compiler, and the compile phase seems to work fine, but when linking