FreeBSD Port: boinc-setiathome-enhanced-5.27_2

Rene Ladan r.c.ladan at gmail.com
Tue Jan 29 01:30:31 PST 2008


2008/1/29, alex <alexander at schlossadler.net>:
> Rene Ladan wrote:
> >
> > I guess I need to add  " USE_GCC=4.2+ " in the Makefile, since FreeBSD
> > 6.3 still uses GCC 3.4.6, while FreeBSD 7+ use GCC 4.2.
> >
> > Could you try that?  I only have a 7.0 box...
> >
> > Thanks,
> > Rene
> >
> Ok,
>
> I tried again. I added gcc 4.2 and used a compiler override
>
> [root at networkservices /usr/ports/astro/boinc-setiathome-enhanced]# env
> |grep CC
> CC=/usr/local/bin/gcc42
> [root at networkservices /usr/ports/astro/boinc-setiathome-enhanced]# env
> |grep CXX
> CXX=/usr/local/bin/g++42
>
> [root at networkservices /usr/ports/astro/boinc-setiathome-enhanced]# $CC
> --version
> gcc42 (GCC) 4.2.3 20071024 (prerelease)
> Copyright (C) 2007 Free Software Foundation, Inc.
>
> /usr/local/bin/g++42 -DHAVE_CONFIG_H -I. -I..  -O2 -fno-strict-aliasing
> -pipe  -mfpmath=387 -I/usr/local/include -funroll-loops -ffast-math -O3
> -I/usr/include -I/usr/include/openssl  -fPIC -DPIC -DHAVE_CONFIG_H  -O2
> -fno-strict-aliasing -pipe  -mfpmath=387 -I/usr/local/include
> -funroll-loops -ffast-math -O3 -I/usr/include -I/usr/include/openssl
> -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I../db
> -I/usr/local/include/BOINC -I/usr/local -I/usr/local/api
> -I/usr/local/lib -I/usr/local/sched -I/usr/local/db -D_THREAD_SAFE
> -pthread   -O2 -fno-strict-aliasing -pipe -mfpmath=387
> -I/usr/local/include -funroll-loops -ffast-math -O3 -O2
> -fno-strict-aliasing -pipe  -mfpmath=387 -I/usr/local/include
> -funroll-loops -ffast-math -O3 -I/usr/include -I/usr/include/openssl -MT
> seti_boinc-analyzeFuncs_fpu.o -MD -MP -MF
> .deps/seti_boinc-analyzeFuncs_fpu.Tpo -c -o
> seti_boinc-analyzeFuncs_fpu.o `test -f 'vector/analyzeFuncs_fpu.cpp' ||
> echo './'`vector/analyzeFuncs_fpu.cpp
> vector/analyzeFuncs_fpu.cpp: In function 'int fpu_ChirpData(float
> (*)[2], float (*)[2], int, double, int, double)':
> vector/analyzeFuncs_fpu.cpp:171: error: 'floor' was not declared in this
> scope
> gmake[2]: *** [seti_boinc-analyzeFuncs_fpu.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/astro/boinc-setiathome-enhanced/work/boinc-setiathome-enhanced-5.27/client'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/astro/boinc-setiathome-enhanced/work/boinc-setiathome-enhanced-5.27'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Any more ideas? :)
>
Hmm, floor(3) is part of libm / math.h here...

%gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]

What happens if you comment out CPUTYPE from /etc/make.conf ? (if it is defined,
CPUTYPE=prescott works for me)

Thanks,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001


More information about the freebsd-ports mailing list