From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 01/15/2003 14:21:15
compile optimized. (g++ -O -g ...). this is a known problem with the
gcc2 compiler. compiling optimized it the work-around.
the problem doesn't exist with the gcc3 compilers.
-tom
On Wed, 15 Jan 2003, Changhee Han wrote:
> Hello Performers,
> I have below error.
> I would very appreciate if someone responds.
> Best Regards,
> Changhee
> ######Begin the error-message
> g++ -g -I/usr/local/include -I/usr/local/data/MRE -I../common
> -I/usr/include/Performer -DNDEBUG -c -o ogl/dimr_app.o dimr_app.c++
> .........
> ogl/dimr_app.o \
> .........
> -lpf -lpfdu -lpfutil -lGLU -lGL -lXext -lX11 -lXmu -lm -L/usr/local/lib
> -lelqueue -L/usr/local/lib -lvin4 -lvin4Xt -lvin4c -L/usr/X11R6/lib -lXt -lm
>
> ogl/dimr_app.o: In function `main':
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/dimr_app.c++:213: undefined reference
> to `pfMemory::malloc(unsigned int, void *)'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/dimr_app.c++:225: undefined reference
> to `pfUpdatable::operator new(unsigned int)'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/dimr_app.c++:225: undefined reference
> to `pfScene::pfScene(void)'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/dimr_app.c++:232: undefined reference
> to `pfUpdatable::operator new(unsigned int)'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/dimr_app.c++:232: undefined reference
> to `pfPipeWindow::pfPipeWindow(pfPipe *)'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/dimr_app.c++:238: undefined reference
> to `pfUpdatable::operator new(unsigned int)'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/dimr_app.c++:238: undefined reference
> to `pfChannel::pfChannel(pfPipe *)'
> ogl/dimr_app.o: In function `pfObject::operator delete(void *)':
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/cmd_buff.h(.pfPipeWindow::gnu.linkonc
> e.t.setName(char const *)+0x1b): undefined reference to
> `pfBuffer::pf_indexUpdatable(pfUpdatable const *) const'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/cmd_buff.h(.pfPipeWindow::gnu.linkonc
> e.t.setName(char const *)+0x26): undefined reference to
> `pfPipeWindow::nb_setName(char const *)'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/cmd_buff.h(.pfPipeWindow::gnu.linkonc
> e.t.setOriginSize(int, int, int, int)+0x26): undefined reference to
> `pfBuffer::pf_indexUpdatable(pfUpdatable const *) const'
> /home/hanc/dimr0.6mogmap/WOVG1-befwovg/cmd_buff.h(.pfPipeWindow::gnu.linkonc
> e.t.setOriginSize(int, int, int, int)+0x31): undefined reference to
> `pfPipeWindow::nb_setOriginSize(int, int, int, int)'
> .........
> .........
> collect2: ld returned 1 exit status
> make: *** [xx] Error 1
> ######End of the error-message
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: 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."
This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 14:21:19 PST