Linkage order in Linux

michael kapelko kornerr@gmail.com
Thu Feb 11 14:34:00 GMT 2010


I've run gdb on h3dInit() call which causes the failure.
It appeared that call to glXGetProcAddressARB("glCreateShader")
returns 0 when -lGL is the first, and a correct address when -lHorde3D
is the first. The function is located in -lGL.
How can this cause the problem?



More information about the Binutils mailing list