*BSD News Article 24564


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!uniwa!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!cs.utexas.edu!howland.reston.ans.net!europa.eng.gtefsd.com!darwin.sura.net!martha.utcc.utk.edu!martha.utcc.utk.edu!frank
From: frank@martha.utcc.utk.edu (frank segner)
Subject: freebsd_packages libxview.a problem ?
Message-ID: <1993Dec1.032136.25638@martha.utcc.utk.edu>
Sender: usenet@martha.utcc.utk.edu (USENET News System)
Organization: ifan (inst. for appl. nonsense)
X-Newsreader: Tin 1.1 PL3
Date: Wed, 1 Dec 1993 03:21:36 GMT
Lines: 33

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 had a similar problem with SlingShot2.1.tar.gz and xshogi-1.1p03.tar.gz
(also from ftp.x.org or so... )

first i was trying libxview build from the source_pkg; after failing i tried 
the 'xview32l.tgz', but:  same result ;-(

any hint(s) appreciated... (i'm still 'digging')


so long,
            frank

--
frank@martha.utk.edu                  | Thoughts are false.
frank@ifan.knox.tn.us                 | (aleister crowley, the book of lies, 5)