Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 09:05:21 -0700
From:      Sean Ellis <sellis@telus.net>
To:        freebsd-questions@freebsd.org
Subject:   alternate compiler
Message-ID:  <20040413160521.GC65250@telus.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413160521.GC65250>