From: 'Bwana' (Bob.Buckley++at++JNTF.osd.mil)
Date: 05/23/2001 11:48:30
I'm posting this for a co-worker.
---------------------------------------------------------------------------
I'm having troubles using a DSO with Performer and the Image Lib.
I'm creating my own DSO with Performer and a few other objects.
At runtime, I get a message "rld: Fatal Error: attempted to access
unresolvable symbol in /usr/lib32/libpf_ogl.so: iopen"
Looking through the Performer mailing list archives, I found that the
Image
Lib should be linked in. I do link with -limage, and the nm command
shows
the iopen symbol in the output. However, iopen has an attribute HIDDEN
in my .so, whereas its attribute is DEFAULT in libimage.a. I'm guessing
that this must be the reason iopen can't be resolved.
Burrowing through the dso and ld man pages, I found the command
"-exported_symbol" and made it apply to iopen. This had the affect
of making iopen DEFAULT, but at runtime the app crashes with "killed"
immediately.
Anybody have any ideas or a better general way of creating the DSO
than I've done?
Thanks!
jan
------------
Jan A. Barglowski
jan.barglowski++at++jntf.osd.mil
Senior Graphics Programmer
(719) 567-0845
Wargame 2000
Joint National Test Facility
---------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Wed May 23 2001 - 11:49:56 PDT