Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!paladin.american.edu!europa.eng.gtefsd.com!uunet!Germany.EU.net!thoth.mch.sni.de!snimucgw!athen!mhr From: mhr@athen.mch.sni.de (Muharem Hrnjadovic) Subject: Re: freebsd_packages libxview.a problem ? Organization: SNI AG Muenchen, SU MR Date: Thu, 2 Dec 93 14:00:55 GMT Message-ID: <1993Dec2.140055.16412@athen.mch.sni.de> References: <1993Dec1.032136.25638@martha.utcc.utk.edu> Lines: 24 In article <1993Dec1.032136.25638@martha.utcc.utk.edu> frank@martha.utcc.utk.edu (frank segner) writes: : hi, : : q: has some tried to link with -lxview ? : : i had problems with xmpb(.tar.z from ftp.x.org)... : something like: : : gcc -o shop shop_ui.o shop_stubs.o save_load.o -DBITMAPDIR="\"/usr/games/lib/blast/bitmaps/\"" -DSAVEDIR="\"/usr/games/lib/blast/save/\"" -DNPCDIR="\"/usr/games/lib/blast/npc/\"" -O2 -m486 -L/usr/X386/lib -L/usr/X386/lib -lgnumalloc -lxview -lolgx -lX11 : calloc.o: Definition of symbol _calloc (multiply defined) : ndet_loop.o: Undefined symbol _svc_fdset referenced from text segment : ndet_loop.o: Undefined symbol _svc_fdset referenced from text segment : ndet_loop.o: Undefined symbol _svc_getreqset referenced from text segment : file_list.o: Undefined symbol _regfree referenced from text segment : file_list.o: Undefined symbol _regfree referenced from text segment : calloc.o: Definition of symbol _calloc (multiply defined) : *** Error code 1 I'm not sure but think that the _svc_... stuff should go away when you add '-lrpc' to your LDFLAGS regards, -- Muharem