Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!psuvax1!news.math.psu.edu!chi-news.cic.net!newsfeed.internetmci.com!in1.uu.net!hilbert.dnai.com!usenet From: jacke@hghed.com (Jack Ellis) Newsgroups: comp.unix.bsd.bsdi.misc,comp.infosystems.wais Subject: compile problems - BSD/OS and freeWAIS-sf HELP PLEASE! Date: 2 Jan 1996 16:47:30 GMT Organization: Direct Network Access Lines: 115 Sender: jacke@hopf.dnai.com Message-ID: <4cbnj2$bko@hilbert.dnai.com> NNTP-Posting-Host: dynamic-219.dnai.com X-Posted-From: InterNews 1.0.7@dynamic-219.dnai.com X-Authenticated: jacke on POP host hopf.dnai.com Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1791 comp.infosystems.wais:5443 Greetings again, Excuse the long post, but I am DESPERATE!! After an unfortunate disk crash and subsequent reformatting and restore, I realized that the copy of freeWAIS-sf I had before was not backed up. Bummer. So now, I'm trying to rebuild it again, this time with version 2.0.58. I am having a seriously frustrating time with this, and nothing I do seems to fix it. This is another plea to SOME guru out there for much-needed help! Here's the problem: Hardware: Digital Starion 133Mhz Pentium, pretty standard. Software: BSD/OS 2.0.1 trying to compile freeWAIS-sf-2.0.58 using gcc 2.6.3 bison A2.6 GNU make 3.72.1 lex (flex) 2.4.7 I have commented out the 'extern char *sys_errlist[];' lines in ir/sockets.c and ir/waisserver.c as I was kindly advised to before. Configure runs fine, and reports no problems. make depend runs fine, no errors. on make, however, this happens... Everything is OK until I get this: ********************************************************************* /bin/rm -f boolean_op.o gcc -c -I../ctype -g -DDEBUGGING boolean_op.c In file included from cutil.h:73, from irfiles.h:108, from boolean_op.c:66: /usr/include/sys/param.h:43: warning: `BSD' redefined ../config.h:25: warning: this is the location of the previous definition make[2]: *** No rule to make target `lex.field.c'. Stop. make[2]: Leaving directory `/usr/home/jacke/freeWAIS-sf-2.0.58/ir' Making all in ui... make[2]: Entering directory `/usr/home/jacke/freeWAIS-sf-2.0.58/ui' gcc -c -I../ctype -I../ir -g -DDEBUGGING source.c In file included from ../ir/cutil.h:73, from wais.h:29, from source.c:89: /usr/include/sys/param.h:43: warning: `BSD' redefined ../ir/../config.h:25: warning: this is the location of the previous definition make[2]: *** No rule to make target `../ir/libwais.a'. Stop. make[2]: Leaving directory `/usr/home/jacke/freeWAIS-sf-2.0.58/ui' Making all in bin... make[2]: Entering directory `/usr/home/jacke/freeWAIS-sf-2.0.58/bin' Nothing to make in "bin". make[2]: Leaving directory `/usr/home/jacke/freeWAIS-sf-2.0.58/bin' Making all in doc/original-TM-wais/manl... make[2]: Entering directory `/usr/home/jacke/freeWAIS-sf-2.0.58/doc/original-TM- wais/manl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/home/jacke/freeWAIS-sf-2.0.58/doc/original-TM-w ais/manl' Making all in FIELD-EXAMPLE... make[2]: Entering directory `/usr/home/jacke/freeWAIS-sf-2.0.58/FIELD-EXAMPLE' cd ../ir; make ../ir/waisindex make[3]: Entering directory `/usr/home/jacke/freeWAIS-sf-2.0.58/ir' gcc -I../ctype -lm ../ir/waisindex.c -o ../ir/waisindex In file included from ../ir/cdialect.h:75, from ../ir/cutil.h:59, from ../ir/waisindex.c:240: ../ir/../config.h:25: warning: `BSD' redefined /usr/include/sys/param.h:43: warning: this is the location of the previous defin ition In file included from ../ir/cutil.h:73, from ../ir/waisindex.c:240: /usr/include/sys/param.h:43: warning: `BSD' redefined ../ir/../config.h:25: warning: this is the location of the previous definition /tmp/cc0194961.o: Undefined symbol _gDelimiters referenced from text segment /tmp/cc0194961.o: Undefined symbol _wordbreak_notalnum referenced from text segm ent /tmp/cc0194961.o: Undefined symbol _gDelimiters referenced from text segment etc. etc. etc. and so on and so forth more many thousands of symbols, until make[3]: *** [../ir/waisindex] Error 1 make[3]: Leaving directory `/usr/home/jacke/freeWAIS-sf-2.0.58/ir' make[2]: *** [../ir/waisindex] Error 2 make[2]: Leaving directory `/usr/home/jacke/freeWAIS-sf-2.0.58/FIELD-EXAMPLE' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/usr/home/jacke/freeWAIS-sf-2.0.58' make: *** [all] Error 2 ************************************************************************ ** Why am I getting those "No rule" errors?? I suspect that is where all the undefined symbols are coming from. What can I do about it? Can anyone shed any light on this, please? Please help if you can! Thanks Jack Ellis, MD