From: Andrew Stewart (x_andrewstewart++at++hotmail.com)
Date: 09/08/2002 18:12:18
Hi all,
Hoping you can help me with what i think is a simple problem but cannot =
solve and it revolves around me not being able to compile any C++ code =
with performer. i even tried simple.C and the provided makefiles but to =
no avail. Heres my system configuration:
Redhat 7.2
gcc 2.96 and gcc3 3.02
g++ 2.96 and g++3 3.02
Performer 2.52 for gcc3 (also have 2.51 compiled for gcc3 but not =
installed)
so i run make simple and heres the error that i get:
[root++at++bg3ntl C++]# make simple
make[1]: Entering directory `/usr/share/Performer/src/pguide/libpf/C++'
Making DSO version of simple.dso
make[2]: Entering directory =
`/usr/share/Performer/src/pguide/libpf/C++/OPT.I386'
g++3 -O3 -ffast-math -mpentiumpro -MD -fwritable-strings =
-fno-for-scope -I/usr/include -I/usr/include/g++-3 -o simple.dsocmd =
simple.o -L/usr/lib -L/usr/lib/libpfdb -L/lib -lpfdu -lpfutil -lpfdu =
-lpfui -lpf -L/usr/X11R6/lib -lGLU -lGL -lXext -lXm -lXt -lXp -lXpm =
-lXmu -lX11 -lm -ldl
simple.o: In function `main':
simple.o(.text+0x89): undefined reference to `pfUpdatable::operator =
new(unsigned int)'
simple.o(.text+0x93): undefined reference to `pfScene::pfScene(void)'
simple.o(.text+0xa2): undefined reference to =
`pfBuffer::pf_indexUpdatable(pfUpdatable const *) const'
simple.o(.text+0xbe): undefined reference to `pfUpdatable::operator =
new(unsigned int)'
simple.o(.text+0xcc): undefined reference to =
`pfLightSource::pfLightSource(void)'
simple.o(.text+0xde): undefined reference to =
`pfBuffer::pf_indexUpdatable(pfUpdatable const *) const'
simple.o(.text+0x106): undefined reference to `pfUpdatable::operator =
new(unsigned int)'
simple.o(.text+0x114): undefined reference to =
`pfPipeWindow::pfPipeWindow(pfPipe *)'
it just appears to a problem that it isnt linking properly and / or =
doesnt recognise the header files included. it seems so simple but i've =
spent days trying to get it to work and nothing does. what am i doing =
wrong ? i'm sure i have everything i need installed, the only exception =
being some library called libGLw, which i thought was only required for =
motif so i removed it from the makedefs file. do i need this lib ? i =
dont see how that would solve my performer linking probs though.
if i write just plain C code, then i can compile fine but i need to =
write for C++ (client requirement).
im pretty desperate here, please see if you can help me and if you =
require any additional information (ie lib versions) please ask me.
regards,
Andrew Stewart
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
This archive was generated by hypermail 2b29 : Sun Sep 08 2002 - 18:12:24 PDT