Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-sdd!hp-pcd!hpcvlx!harry From: harry@hpcvlx.cv.hp.com (Harry Phinney) Newsgroups: comp.sys.hp Subject: Re: More hpux library woes. Message-ID: <101950066@hpcvlx.cv.hp.com> Date: 5 Dec 89 01:30:47 GMT References: <1050@esatst.yc.estec.nl> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 21 > I have an application which mixes X with starbase, and so I would like > to run it using the sox driver. Therefore I link the sources with the > following libraries:- > -lddsox11 -lsb1 -lsb2 -lXhp11 -lXw -lXt -lX11 -lm > Result:- > /bin/ld: Duplicate symbol uL1toR8 in /usr/lib/libXw.a(TextEdit.o) > Neil Dixon Hmm, I'd say that uL1toR8 should have been in a seperate ".o" within libXw.a. You should be able to get around this by linking as follows: -lddsox11 -lsb1 -lsb2 -lXw -lXt -lX11 -lm -lXhp11 This should work, as uL1toR8 is within a seperate ".o" within libXhp11.a, so the linker should simply use the one already linked with libXw.a. Harry Phinney harry@hp-pcd.cv.hp.com