*BSD News Article 79466


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!ddsw1!news.mcs.net!van-bc!news.iceonline.com!gcshome.iceonline.com!not-for-mail
From: toor@gcshome.iceonline.com (System Administrator)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: gcc cannot resolve rexec
Date: 28 Sep 1996 09:04:08 -0700
Organization: Western Task Force
Lines: 23
Sender: root@gcshome.iceonline.com
Message-ID: <52ji9o$p0v@gcshome.iceonline.com>
References: <324BB080.6578@epnet.com>
Reply-To: gerry@iceonline.com
NNTP-Posting-Host: gcshome.iceonline.com


In article <324BB080.6578@epnet.com>, Kyle Tucker <tucker@epnet.com> writes:
|> Hi,
|> 	I am trying to get the WebStone 2.0 binaries compiled
|> on BSD 2.0 but cannot get past this unresolved symbol (_rexec).
|> I've tried every library on the system and man pages say
|> rexec is a call in BSDI, yet the WebStone FAQ says many
|> systems need exec commented out???? Any help appreciated.
|> 
|> gcc -g -O -L/shlib -DHAVE_CONFIG_H -DMCC_HTTPD -DXP_UNIX
|> -I/usr/ns-home/nsapi/include webmaster.o timefunc.o bench.o
|> parse_file_list.o statistics.o errexit.o sysdep.o  -lc_s.2.0 -lm -o
|> webmaster
|> webmaster.c:710: Undefined symbol _rexec referenced from text segment
|> *** Error code 1
|> 
|> Stop.
|> 

Id have a look at man rexec. There are a lot of hints in there..
You may need to ifdef the code, as rexec is "obsoleted" : >

-g