Path: utzoo!attcan!uunet!samsung!usc!ucsd!ucbvax!techunix.BITNET!devil From: devil@techunix.BITNET (Gil Tene) Newsgroups: comp.windows.x Subject: Re: Xtank for C-programming competition on Sun-4's Message-ID: <9741@discus.technion.ac.il> Date: 7 Jul 90 20:02:37 GMT References: <1990Jul6.165411.2512@msuinfo.cl.msu.edu> <1685@lectroid.sw.stratus.com> <1990Jul6.211251.7638@eng.umd.edu> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: devil%techunix.bitnet@jade.berkeley.edu (Gil Tene) Organization: Technion, Israel Inst. Tech., Haifa Israel Lines: 28 In article <1990Jul6.211251.7638@eng.umd.edu> stripes@eng.umd.edu (Joshua Osborn e) writes: >In article <1685@lectroid.sw.stratus.com> mcross@pennies.sw.stratus.com (Matt C ross) writes: >> >>/bin/ld -x -N -A ~mcross/xwins/xtank/xtank.exe -T (some address) -o >>/tmp/xtank.output ~mcross/xwins/xtank/Programs/DJCmove.o -lm -lc > >>/tmp/xtank.error 2>&1 >> >>It doesn't include xtank in the libraries! Might it have something to >>do with the -A option - xtank.exe uses libX11.a... HELP! > >It failed because you linked xtank with a shared lib, the version of xtank >you are useing was built before shared libs were available, so it can't parse >the headder info. (That is no excuse for the Beta version, but that doesn't >yet understand this stuff either). >-- This link to a dynamic shared lib can be fixed using "-Bstatic" in the "ld -A" line. This tells the ld to link using non-sharable libs only... (I have no experience with xtank, but this fixed something else with a similar problem) Gil. -- -------------------------------------------------------------------- | Gil Tene "Some days it just doesn't pay | | devil@techunix.technion.ac.il to go to sleep in the morning." | --------------------------------------------------------------------