From: Dan Johnston (dan.johnston++at++nrc.ca)
Date: 08/06/2002 07:17:12
Hi group;
I just upgraded the O2 on my desk to 6.5.16 and thus Performer 2.5.
I was going to use this to test the portability of a big Performer
application before I upgrade the ONYX where the software
usually runs.
The software uses a copy of the pfGUI library source (gui.c) so
that I can access some of the variables local to that source file.
The application does compile and link fine on the ONYX which
is still running 6.5.13m and Performer. But, on the O2 it gives the
error;
cc -o $i $i.o -L../lib -lpfAPC -L/usr/lib32 -no_unresolved \
-lpfdu -lpfui -lpfutil -lpf -limage -lGLw -lXm -lXt -lvl \
-ldmedia -lvl -no_unresolved -lGLU -lGL -lXsgivc -lXext \
-lXmu -lX11 -lm -lCsup -lC
making simple in /disk1/people/xxxxx/yyyy/examples
ld32: WARNING 84 : /usr/lib32/libGLw.a is not used for resolving any
symbol.
ld32: WARNING 84 : /usr/lib32/libXm.so is not used for resolving any
symbol.
ld32: WARNING 84 : /usr/lib32/libCsup.so is not used for resolving any
symbol.
ld32: ERROR 33 : Unresolved text symbol "pfFBStateApplyBasicState" --
1st referenced by ../lib/libpfAPC.a(gui.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: INFO 152: Output file removed because of error.
*** Error code 2
smake: Error: 1 error
*** Error code 2
smake: Error: 1 error
I checked my gui.c versus the latest system gui.c, and there is no
significant
difference. I tried a variety of orders for the libraries and cannot
get the
application to link.
I looked at the man page for the missing function, and it seems to
be related to pfShader - which I am not using. I went to the
Performer example source and tried to compile some suppled
source which uses a pfGUI. No problem to compile detail.c, but
it will not run on my O2. Then I tried (all this as root) to
compile one on the pfShader examples (shader_test) and
it would not compile - lots of un-resolved functions
related to pfShaderXxx and pfdLoadShader.
So what's up? Where is this pfFBState function so I can link
to it? Why cannot root 'make' the shader test on my O2?
Thanks for your help!
--
___|__ |
/ | \ ||\ Daniel (Dan) Johnston
/___|___\ || \ Dan.Johnston++at++nrc.ca
_____|____ || \ National Research Council of Canada, London, ON
| | | || \ Integrated Manufacturing Technologies Institute
\___| | | ||____\ Tel: (519) 430-7081 Fax: (519) 430-7090
\_o_\___|____|_|______\_ Inst: http://www.nrc.ca/imti
\ o / These opinions are my own! Not those of NRC.
\________________/ Virtual Reality:
http://www.nrc.ca/imti/vetc/home.html
More Tall Ships - Fewer Computers!
This archive was generated by hypermail 2b29 : Tue Aug 06 2002 - 07:17:20 PDT