[Nicole-users] Patch
Status: Inactive
Brought to you by:
pghowlett
From: <nic...@li...> - 2001-11-23 21:33:10
|
Hi all, 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. Diff: 36,38c36 < const char *filename = fname.c_str(); < < logfile.open (filename, ios::app ); --- > logfile.open ( fname.begin ( ), ios::app ); 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 Unfortunately I don't have much more time today. I'll try to look at it tommorrow... Anyway, this is my situation status... ;) Bye all, Cya soon! -- Paulo J. Matos aka PDestroy : pocm(_at_)rnl.ist.utl.pt Instituto Superior Tecnico - Lisbon Software & Computer Engineering - A.I. - > http://www.rnl.ist.utl.pt/~pocm --- Yes, God had a deadline... So, He wrote it all in Lisp! |