Tomas Moller (tompa++at++clarus.se)
Thu, 27 Jun 1996 03:01:35 -0700
I have serious problems when compiling the perfly.C program (OpenGL). I have
had problems since installing Irix6.2 on my IMPACT.
If I set PFSTYLE=32 in the Makefile I get a lot of warnings when linking:
-----------------------------------------
/usr/bin/CC -DPFIRIX5 -I.. -I../../common
-I../../../../../../usr/include/ -nostdinc -I/usr/include/CC -I/usr/include
-mips2 -o32 -O -MDupdate Makedepend -c ../../common/main.C
/usr/bin/cc -DPFIRIX5 -I.. -I../../common
-I../../../../../../usr/include/ -nostdinc -I/usr/include -mips2 -o32 -O
-MDupdate Makedepend -woff 1685,515,608,658,799,803,852,1048,1233,1499 -o
perfly.OPT cmdline.o generic.o env.o gui.o keybd.o perfly.o main.o
-L/usr/lib/Performer/Static -L/usr/lib/Performer/Static/libpfdb -L/lib -all
-lpf_ogl -lpfdu_ogl -lpfutil_ogl -lpfui -Wl,-none -limage -lfm
-ignore_unresolved -lGLU -lGL -lXext -lXmu -lX11 -lfpe -lm -lmalloc -lC
ld: WARNING 15: multiply defined:(getData__8pfMemoryCFv) in
/usr/lib/Performer/Static/libpfui.a(pfiCollide.o) and
/usr/lib/Performer/Static/libpfui.a(pfiInputXform.o) (2nd definition ignored).
ld: WARNING 15: multiply defined:(isOfType__8pfMemoryFP6pfType) in
/usr/lib/Performer/Static/libpfui.a(pfiCollide.o) and
/usr/lib/Performer/Static/libpfui.a(pfiInputXform.o) (2nd definition ignored).
-- many WARNINGS deleted...
ld: Giving up after printing 50 warnings. Use -wall to print all warnings.
ln -s OPT.O32.OPENGL/perfly.OPT perfly
---------------------------------------------------
Then perfly-program works fine, but the warnings are very annoying.
However, since I am running on Irix6.2 I thought I have to compile with
PFSTYLE=N32 or 64.
This generates warnings en masse:
-----------------------------------------------------------
-- many warnings deleted
"../../../../../../usr/include/Performer/pfui/pfiInputXform.h", line 155:
warning(1681):
"void pfiMotionCoord::copy(pfiMotionCoord *)" does not match
"pfMemory::copy" -- virtual function override intended?
void copy(pfiMotionCoord *_src);
^
"../../../../../../usr/include/Performer/pfui/pfiInputXform.h", line 155:
warning(1681):
"void pfiMotionCoord::copy(pfiMotionCoord *)" does not match
"pfObject::copy" -- virtual function override intended?
void copy(pfiMotionCoord *_src);
^
"../../../../../../usr/include/Performer/pfui/pfiXformer.h", line 156:
warning(1681):
"void pfiTDFXformer::setStartMotion(float, float, float)" does not
match "pfiInputXform::setStartMotion" -- virtual function override
intended?
virtual void setStartMotion(float _startSpeed,
^
"../../../../../../usr/include/Performer/pfui/pfiXformer.h", line 158:
warning(1681):
"void pfiTDFXformer::getStartMotion(float *, float *, float *) const"
does not match "pfiInputXform::getStartMotion" -- virtual function
override intended?
virtual void getStartMotion(float *_startSpeed,
^
/usr/bin/cc -DPFIRIX6 -I.. -I../../common
-I../../../../../../usr/include/ -nostdinc -I/usr/include -mips3 -n32 -O
-MDupdate Makedepend -woff 1685,515,608,658,799,803,852,1048,1233,1499 -o
perfly.OPT cmdline.o generic.o env.o gui.o keybd.o perfly.o main.o
-L/usr/lib32/Performer/Static -L/usr/lib32/Performer/Static/libpfdb -L/lib32
-all -lpf_ogl -lpfdu_ogl -lpfutil_ogl -lpfui -Wl,-none -limage
-ignore_unresolved -lGLU -lGL -lXext -lXmu -lX11 -lm -lC
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfDCS.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfFrameStats.o) (2nd definition
ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfGeode.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfGroup.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfNode.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfBillboard.o) (2nd definition
ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfLayer.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfLightPoint.o) (2nd definition
ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfLightSource.o) (2nd definition
ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfLOD.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfMorph.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfPartition.o) (2nd definition
ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfScene.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfSCS.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfSequence.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfSwitch.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfTraverser.o) (2nd definition
ignored).
ld32: WARNING 15: multiply defined:(__TID_8pfStruct) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfNode.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfTraverser.o) (2nd definition
ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfText.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(cBillboard.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(cTraverser.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfinit.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfIsector.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_10_pfIsector) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfNode.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfIsector.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_8pfStruct) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfNode.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfIsector.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfCuller.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_8pfStruct) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfNode.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfCuller.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfPick.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_6pfPath) in
/usr/lib32/Performer/Static/libpf_ogl.a(pfChannel.o) and
/usr/lib32/Performer/Static/libpf_ogl.a(pfProcess.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_14pfiMotionCoord) in
/usr/lib32/Performer/Static/libpfui.a(pfiInputXform.o) and
/usr/lib32/Performer/Static/libpfui.a(pfiXformer.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_14pfiMotionCoord) in
/usr/lib32/Performer/Static/libpfui.a(pfiInputXform.o) and
/usr/lib32/Performer/Static/libpfui.a(pfiDrive.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_14pfiMotionCoord) in
/usr/lib32/Performer/Static/libpfui.a(pfiInputXform.o) and
/usr/lib32/Performer/Static/libpfui.a(pfiFly.o) (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__TID_14pfiMotionCoord) in
/usr/lib32/Performer/Static/libpfui.a(pfiInputXform.o) and
/usr/lib32/Performer/Static/libpfui.a(pfiTrackball.o) (2nd definition ignored).
ld32: WARNING 85: definition of fabs in /usr/lib32/mips3/libm.a(fabs.o)
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 129: Cannot find libm.so, which is needed for proper transitive
linking.
ld32: WARNING 129: Cannot find libm.so, which is needed for proper transitive
linking.
ld32: FATAL 75: object file /usr/lib32/Performer/Static/libpf_ogl.a(cStruct.o)
contains symbol (index 1) which is both LOCAL and UNDEF
ld32: INFO 60: Output file removed because of error.
cc ERROR: /usr/lib64/cmplrs/ld32 returned non-zero status 1
*** Error code 1
smake: Error: 1 error
*** Error code 2
smake: Error: 1 error
--------------------------------------------------------
Could anyone please help me with this?
Thanks!
/Tomas
--======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:04 PDT