[info-performer] unresolved refs on redhat 7.3 with performer 3.0.1

Date view Thread view Subject view Author view

From: Pete Woodward Woodward (pww1++at++dcs.qmul.ac.uk)
Date: 06/12/2003 06:14:55


Hello,

I'm having problems linking for my basic performer
application.Basically there are unresolved references to standard
pfCalls. Not all, only some are not found...???

The outline code is below, the other salient details are included.

Anybody with that little nugget of information that resolves
this prob. ?

Ta,

Pete Woodward

--------------Detailed Information Below------------------------

errors:
-------
mainwin.o: In function `mainWin::buildDisplayConfig(void)':
.../mainwin.cpp:71: undefined reference to `pfNewPWin(pfPipe *)'
.../mainwin.cpp:74: undefined reference to `pfNewChan(pfPipe *)'
.../mainwin.cpp:78: undefined reference to `pfAddChan(pfPipeWindow *,
pfChannel *)'
.../mainwin.cpp:81: undefined reference to `pfOpenPWin(pfPipeWindow *)'

os:

---
redhat 7.3

compiler version gcc/c++ ver 2.96 ---------------------------------

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)

performer header/version ------------------------ pf.h * $Revision: 1.460 $ * $Date: 2002/10/28 23:22:57 $

performer version 3.0.1 gcc 2 version execution/developement environments

The outline of the code is below, with the command lines used to compile/link the modules together.

pfInit()

pfConfig()

// acquire handle pipe number 0 pfPipe *pipe = pfGetPipe(0);

// create pipe window and associate it with the pipe pfPipeWindow *pwin = pfNewPWin(pipe);

// create channel and associate it with the pipe pfChannel *chan = pfNewChan(pipe);

//associate channel and // pipe window so channel is drawn in it pfAddChan(pwin, chan);

//open window at next frame pfOpenPWin(pwin); pfFrame();

c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -O0 -g3 -Wall -DI386 -DLinux -DHAVE_POSIX -I/usr/include/CC -I/usr/include -I/usr/include/g++ -fno-exceptions -fno-check-new -c mainwin.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -O0 -g3 -Wall -DI386 -DLinux -DHAVE_POSIX -I/usr/include/CC -I/usr/include -I/usr/include/g++ -fno-exceptions -fno-check-new -c main.cpp c++ -O2 -O0 -g3 -Wall -DI386 -DLinux -DHAVE_POSIX -I/usr/include/CC -I/usr/include -I/usr/include/g++ -fno-exceptions -fno-check-new -o mainwin mainwin.o main.o -L/usr/lib -L/usr/lib/libpfdb -L/lib -L/usr/X11R6/lib -lpfv -lpfdu -lpfutil -lpfdu -lpfui -lpf -lX11 mainwin.o: In function `mainWin::buildDisplayConfig(void)': /home/petew/project/mainwin/mainwin/mainwin.cpp:71: undefined reference to `pfNewPWin(pfPipe *)' /home/petew/project/mainwin/mainwin/mainwin.cpp:74: undefined reference to `pfNewChan(pfPipe *)' /home/petew/project/mainwin/mainwin/mainwin.cpp:78: undefined reference to `pfAddChan(pfPipeWindow *, pfChannel *)' /home/petew/project/mainwin/mainwin/mainwin.cpp:81: undefined reference to `pfOpenPWin(pfPipeWindow *)'


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jun 12 2003 - 07:13:48 PDT