*BSD News Article 86403


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!math.ohio-state.edu!news.cis.ohio-state.edu!nntp.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!jsbh+
From: John Santore <jsbh+@andrew.cmu.edu>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Questions on compiling gopherd on BSDI
Date: Tue,  7 Jan 1997 11:29:56 -0500
Organization: Sponsored account, Alumni Relations, Carnegie Mellon, Pittsburgh, PA
Lines: 64
Message-ID: <0mobc4200YUh03slY0@andrew.cmu.edu>
References: <0moZSG200YUh02OUM0@andrew.cmu.edu>
NNTP-Posting-Host: po6.andrew.cmu.edu
In-Reply-To: <0moZSG200YUh02OUM0@andrew.cmu.edu>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5538

Solved my own problem....

For anyone curious, after adding the -lcompat switches everywhere
there's a big bunch of other -l switches in the Makefiles in gopherd,
gopher, gopherfilt (or whatever the directory's called)

			-John

John Santore <jsbh+@andrew.cmu.edu> writes:
> I've been playing with the compile of the gopher 2_3 gopherd, and I'm
> really having a rough time of it.  Replaced make with the gnu make,
> which somehow magically allowed some libraries to compile.  The
> current problem seems to be with some packages called re_comp and
> re_exec.  (Did a man on them, they seem to be part of <unistd.h> so I
> included that.  No dice.  I'm running BSD/OS 2.1  I've included a log
> of the errors.  Any help would be much appreciated.  
> 
>                         -John 
> 
> Log follows:
> make[1]: Entering directory `/usr/local/src/gopher/gopher2_3/gopherd'
> gcc  -o gopherd error.o globals.o gopherd.o daemon.o special.o dedot.o
> openers.o index.o Waisindex.o serverutil.o ftp.o waisgopher.o ext.o
> site.o gopherdconf.o kernutils.o mindexd.o authenticate.o command.o
> pid.o AUTH.o GGroup.o  ../object/libgopher.a    -lutil -lkvm -lm 
> serverutil.c:521: Undefined symbol _re_comp referenced from text
> segment
> serverutil.c:522: Undefined symbol _re_exec referenced from text
> segment
> ext.c:302: Undefined symbol _re_comp referenced from text segment
> ext.c:305: Undefined symbol _re_exec referenced from text segment
> gopherdconf.c:593: Undefined symbol _re_comp referenced from text
> segment
> gopherdconf.c:595: Undefined symbol _re_exec referenced from text
> segment
> AUTH.c:583: Undefined symbol _re_comp referenced from text segment
> AUTH.c:586: Undefined symbol _re_exec referenced from text segment
> AUTH.c:606: Undefined symbol _re_comp referenced from text segment
> AUTH.c:609: Undefined symbol _re_exec referenced from text segment
> AUTH.c:635: Undefined symbol _re_comp referenced from text segment
> AUTH.c:638: Undefined symbol _re_exec referenced from text segment
> GSgopherobj.c:1814: Undefined symbol _re_comp referenced from text
> segment
> GSgopherobj.c:1816: Undefined symbol _re_exec referenced from text
> segment
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/usr/local/src/gopher/gopher2_3/gopherd'
> make: *** [gopherd/gopherd] Error 2
> 
> =============================================================================
> John Santore                           "I could not love thee, dear, so much,
> jsbh@andrew.cmu.edu                           loved I not honor more"      
> santore@duq5.cc.duq.edu                                 -Richard Lovelace
> 
> http://www.duq.edu/~santore/home.html                Go Flyers!  Go Sabres!
> =============================================================================

=============================================================================
John Santore                           "I could not love thee, dear, so much,
jsbh@andrew.cmu.edu                           loved I not honor more"      
santore@duq5.cc.duq.edu       		                -Richard Lovelace

http://www.duq.edu/~santore/home.html                Go Flyers!  Go Sabres!
=============================================================================