neil@yc.estec.nl (Neil Dixon) (11/29/89)
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) Furthur investigation reveals:- /usr/lib/libXhp11.a(XHPKeysymT.o): uL1toR8 is DATA UNIVERSAL /usr/lib/libXw.a(TextEdit.o): uL1toR8 is DATA UNIVERSAL The versions of these files are:- /usr/lib/libXhp11.a: X Window System, Version 11 HP-UX 3.1 A.01 $Revision: 1.1 $ /usr/lib/libXw.a: X Window System, Version 11 HP-UX 3.1 A.01 $Revision: 1.3 $ Is it me, or dare I suggest that HP have screwed up again! The time it takes to release software, you'd think someone was testing it :-) -- Neil Dixon <neil@yc.estec.nl> UUCP:...!mcvax!esatst!neil, BITNET: NDIXON@ESTEC Thermal Control & Life Support Division (YC) European Space Research and Technology Centre (ESTEC), Noordwijk, The Netherlands.
harry@hpcvlx.cv.hp.com (Harry Phinney) (12/05/89)
> 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 <neil@yc.estec.nl> 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