Fw: [info-performer] - g++ & performer 2.52 compilation errors

New Message Reply Date view Thread view Subject view Author view

From: chionna (francesco.chionna++at++cetma.brindisi.enea.it)
Date: 09/09/2002 00:27:45


 Hi Andrew,
 i had the same problem when i compiled some program (Red Hat 7.2 and
 Performer 2.5 gcc3 ).I have solved the problem with the installation of
Performer 2.5 for Red hat 6.1 and later.It work very well without pb.

>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
>
> -----------------------------------------------------------------------
> 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
> -----------------------------------------------------------------------
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Sep 09 2002 - 00:26:47 PDT

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