| View previous topic :: View next topic |
| Author |
Message |
caslca Tux's lil' helper


Joined: 24 Aug 2003 Posts: 85
|
Posted: Sat Apr 02, 2005 5:35 am Post subject: [SOLVED (sort of)]construo fails to emerge |
|
|
| Code: |
vector.cxx: In member function `float CL_Vector::angle(const CL_Vector&) const':
vector.cxx:69: error: `acos' is not a member of `std'
vector.cxx: In member function `CL_Vector CL_Vector::rotate(float, const CL_Vector&) const':
vector.cxx:90: error: `sin' is not a member of `std'
vector.cxx:91: error: `cos' is not a member of `std'
make[2]: *** [vector.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/construo-0.2.2/work/construo-0.2.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/construo-0.2.2/work/construo-0.2.2'
make: *** [all] Error 2
|
construo fails to emerge with the above mesage
emerge --info:
| Code: |
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r1, 2.6.11-ck3 i686)
=================================================================
System uname: 2.6.11-ck3 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 12 2005, 21:32:10)]
dev-lang/python: 2.3.5
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mfpmath=387,sse -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -momit-leaf-frame-pointer -ftracer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -mfpmath=387,sse -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -momit-leaf-frame-pointer -ftracer -fforce-addr -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa apache2 arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bonobo calendar cdr crypt cups curl dga divx4linux doc dvd dvdr dvdread emacs emboss encode esd evo examples exif f77 fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java javascript jpeg junit kde libg++ libgda libwww mad mikmod mime mmx mng motif mozilla mp3 mpeg msn ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss pam pcmcia pda pdflib perl pgp php pic plotutils png pnp postgres ppds python qt quicktime readline samba sdl sockets spell sse sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales videos wifi x86 xine xinerama xml2 xmms xpm xsl xv xvid yahoo zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
|
Last edited by caslca on Sat Apr 02, 2005 8:36 am; edited 1 time in total |
|
| Back to top |
|
 |
hjnenc Veteran


Joined: 15 Aug 2004 Posts: 1595 Location: Vienna, Austria
|
Posted: Sat Apr 02, 2005 7:14 am Post subject: |
|
|
| Is there a further error a little earlier saying that an include file could not be found or something like that? |
|
| Back to top |
|
 |
caslca Tux's lil' helper


Joined: 24 Aug 2003 Posts: 85
|
Posted: Sat Apr 02, 2005 7:54 am Post subject: |
|
|
right before the above errors a whole bunch of if-fi statements which seem to go ok:
| Code: |
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -march=pentium4 -mfpmath=387,sse -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -momit-leaf-frame-pointer -ftracer -fforce-addr -fvisibility-inlines-hidden -MT world.o -MD -MP -MF ".deps/world.Tpo" \
-c -o world.o `test -f 'world.cxx' || echo './'`world.cxx; \
then mv ".deps/world.Tpo" ".deps/world.Po"; \
else rm -f ".deps/world.Tpo"; exit 1; \
fi
|
I also attempted a build by unsettting my CXXFLAGS, but still same error... |
|
| Back to top |
|
 |
hjnenc Veteran


Joined: 15 Aug 2004 Posts: 1595 Location: Vienna, Austria
|
Posted: Sat Apr 02, 2005 8:06 am Post subject: |
|
|
Do you still have a gcc-3.3 compiler around? Does it work with this one?
You could also make sure that there is an in file vector.cxx (either directly or indirectly). |
|
| Back to top |
|
 |
caslca Tux's lil' helper


Joined: 24 Aug 2003 Posts: 85
|
Posted: Sat Apr 02, 2005 8:27 am Post subject: |
|
|
there is #include <math.h> in vector.cxx
and no, I don't have a 3.3 compiler around.
It's not a big deal for me, i just wanted to let people know that there is a problem with the compilation.
update: fixing #include <math.h> to #include <cmath> in vector.cxx made manual compile possible. |
|
| Back to top |
|
 |
hjnenc Veteran


Joined: 15 Aug 2004 Posts: 1595 Location: Vienna, Austria
|
Posted: Sat Apr 02, 2005 8:53 am Post subject: |
|
|
| Please file a bug on http://bugs.gentoo.org/ and also state that including cmath solves it. |
|
| Back to top |
|
 |
caslca Tux's lil' helper


Joined: 24 Aug 2003 Posts: 85
|
|
| Back to top |
|
 |
|