OpenGL Performer linking issues [SOLVED]
#2
RE: OpenGL Performer linking issues
IRIX ld is very picky about the order in which libraries are listed.  It scans them in the order they are named on the command line and uses them to resolve any unresolved symbols from prior objects.  It doesn't carry them forward, so to speak, to subsequent objects.  (Unlike, say, GNU ld which doesn't care about order at all.)

So, to me, the glaring mistake is that your hello.o object is listed last.  None of the libraries in your command will be used to resolve symbols in hello.o.  But hello.o will be used to resolve symbols in them (of which there should be none).  So that's backwards.  Put hello.o before all the libraries so that they can be used to satisfy the symbols in hello.o.

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20 (x4), Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125, PWS 600au
jpstewart
Developer

Trade Count: (1)
Posts: 444
Threads: 6
Joined: May 2018
Location: SW Ontario, CA
Find Reply
12-05-2022, 01:54 AM


Messages In This Thread
OpenGL Performer linking issues [SOLVED] - by lenix - 12-04-2022, 02:55 PM
RE: OpenGL Performer linking issues - by jpstewart - 12-05-2022, 01:54 AM
RE: OpenGL Performer linking issues [SOLVED] - by lenix - 12-05-2022, 04:25 AM
RE: OpenGL Performer linking issues - by Raion - 12-05-2022, 02:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)