Re: [Nicole-users] Patch
Status: Inactive
Brought to you by:
pghowlett
From: <nic...@li...> - 2001-11-23 23:32:38
|
Hi Paulo, > I finally managed to get some time to check out the compilation > error I always had when trying to compile nicole with gcc 3.0.0 - > 3.0.2 on linux redhat 7.1, athlon 700mhz, 128mgs RAM. > > Anyway, the diff is as follows. New and working file is attached. <snip> Looks good. :) > Anyway, this is not paradise since log.cpp compiled but something > happened while linking: > c++ -g -O2 -L/usr/lib/mysql -o nicole dictionary.o vocabulary.o parser.o matrix.o log.o database.o dbresult.o responder.o nicole.o -lmysqlclient > /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress': > my_compress.o(.text+0x9a): undefined reference to `uncompress' > /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': > my_compress.o(.text+0x12a): undefined reference to `compress' > collect2: ld returned 1 exit status > make[1]: *** [nicole] Error 1 > make[1]: Leaving directory `/home/pdestroy/nicole-0.1.7/src' > make: *** [all-recursive] Error 1 Ahh.. you need to also include the zlib library when you are compiling. Adding -lz should do the trick. > Unfortunately I don't have much more time today. I'll try to look > at it tommorrow... > Anyway, this is my situation status... ;) Great work. :) Cheers, Phil. |