alternate compiler

Sean Ellis sellis at telus.net
Tue Apr 13 09:05:35 PDT 2004


Hello,

When a build that I was attempting failed the author suggested that I
use gcc; now it goes much further, but still fails.

/usr/local/bin/g++34 -c -pipe -Wall -W -O2 -fomit-frame-pointer
-D_THREAD_SAFE  -D_GNU_SOURCE -DPREFIX=\"/usr/local\"
-DTARGET=\"streamtuned\" -DSUBPATH=\"streamtuned\" -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../include
-I../../../lib/gcc/i386-portbld-freebsd4.9/3.4.0/include
-I../../../include -I../../../../X11R6/include -I../../../include
-I/usr/X11R6/include -o streamstatus.o ../libs/streamstatus.cpp
../libs/streamstatus.cpp: In member function `const QString
StreamStatus::getStreamStability()':
../libs/streamstatus.cpp:411: error: `sqrt' undeclared (first use this
function)
../libs/streamstatus.cpp:411: error: (Each undeclared identifier is
reported only once for each function it appears in.)
*** Error code 1

Stop in /usr/local/src/streamtuned/player.
*** Error code 1

Stop in /usr/local/src/streamtuned.

I've been editing the include paths in the Makefile. Am I on the right
track? What is SOP when using an alternate compiler?

The program also asks for qt-devel and fftw, if that makes a difference.
I added,

qt-3.2.3            A C++ X GUI toolkit                                                                                                                                   
fftw-2.1.5_2        Fast C routines to compute the Discrete Fourier

--
thanks,

Sean


More information about the freebsd-questions mailing list