Re: Pb linking with Linux...with SGI works

New Message Reply Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 04/09/2001 20:39:24


Hi Carlos,

You need to compile optimized when compiling C++ programs. This is a bug
in the c++ compiler we've been unable to pinpoint.

sorry,
tom

On Mon, 9 Apr 2001, Carlos Delgado wrote:

> Hi there,
>
> I'm using Performer 2.3
>
> Suse 7.0
>
> Kernel 2.4.x
>
> I porting an Application that i'm developing in IRIX with Performer to
>
> Linux.
>
> It files were compiled without a problem, but when I linked the files with
>
> Performer libraries I got this output. Can anyone give me some pointers.
>
> I thought that I put all the libraries I need.
>
> g++ -g -I/home/cadblur/phd/code/include -L/home/cadblur/phd/code/lib -o Agent007 Agent007.o clWorld.o ObjectHierarchy.o\
>
> clObject.o clLimb.o clGlobal.o -larchivo -lbamuva -L/usr/lib -L/usr/X11/lib -L/lib -lpfui -lpfuiD -lpr -lpr_ogl -lpf_ogl
>
> -lpfdu_ogl -lpfutil_ogl -lGLU -lGL -lXext -lXmu -lX11 -lm
>
> clWorld.o: In function `clveWorld::_preIniPerformer(void)':
> /home/cadblur/phd/code/virtual/clWorld.cc:127: undefined reference to `pfGroup::addChild(pfNode *)'
> /home/cadblur/phd/code/virtual/clWorld.cc:139: undefined reference to `pfPipeWindow::setWinType(unsigned int)'
> /home/cadblur/phd/code/virtual/clWorld.cc:140: undefined reference to `pfPipeWindow::setName(char const *)'
> /home/cadblur/phd/code/virtual/clWorld.cc:141: undefined reference to `pfPipeWindow::setOriginSize(int, int, int, int)'
> /home/cadblur/phd/code/virtual/clWorld.cc:142: undefined reference to `pfPipeWindow::setConfigFunc(void (*)(pfPipeWindow *))'
> /home/cadblur/phd/code/virtual/clWorld.cc:143: undefined reference to `pfPipeWindow::config(void)'
> /home/cadblur/phd/code/virtual/clWorld.cc:127: undefined reference to `pfGroup::addChild(pfNode *)'
> /home/cadblur/phd/code/virtual/clWorld.cc:128: undefined reference to `pfGroup::addChild(pfNode *)'
> /home/cadblur/phd/code/virtual/clWorld.cc:129: undefined reference to `pfGroup::addChild(pfNode *)'
> /home/cadblur/phd/code/virtual/ObjectHierarchy.cc:246: undefined reference to `pfDCS::setMat(pfMatrix &)'
> ObjectHierarchy.o: In function `clveStaticObject::clveStaticObject(char *, stveVector &, stveVector &, pfGroup *)':
> collect2: ld returned 1 exit status
> make: *** [Agent007] Error 1
>
> Cheers,
>
> Carlos
>
> --
> Carlos Delgado ~~~~~
> Centre for Virtual Environments (\o o/)
> The Univesity of Salford ___________ ¦!¦ _______________
> Business House M5 4WT, U.K. ¦"Inspiration exists, but it has ¦
> (44) +161 295 2918 ¦ to find us working" --Picasso ¦
> Fax (44) + 161 285 2925 ________________________________
> web http://www.nicve.salford.ac.uk/carlos
>
>
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>

--
"Mongooses are famous for their snake-fighting ability, and are
 almost always victorious because of their speed, agility, and timing
 and also because of their thick coat."


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Apr 09 2001 - 20:39:32 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.