* [gentoo-user] error emerging math.h dependent aplications
@ 2004-12-07 7:03 99% Dan Pomohaci
0 siblings, 0 replies; 1+ results
From: Dan Pomohaci @ 2004-12-07 7:03 UTC (permalink / raw
To: gentoo-user
When I try to emerge applications which compilation need math.h it
fail.
For example when I emerge kde-base/arts-1.3.1 I recive:
********************************************************
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -c -o synth_mul_impl.lo `test -f 'synth_mul_impl.cc' || echo './'`synth_mul_impl.cc
synth_wave_sin_impl.cc: In member function `virtual void
Arts::Synth_WAVE_SIN_impl::calculateBlock(long unsigned int)':
synth_wave_sin_impl.cc:38: error: `M_PI' undeclared (first use this function)
synth_wave_sin_impl.cc:38: error: (Each undeclared identifier is reported only
once for each function it appears in.)
make[3]: *** [synth_wave_sin_impl.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/portage/arts-1.3.1/work/arts-1.3.1/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/arts-1.3.1/work/arts-1.3.1/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/arts-1.3.1/work/arts-1.3.1'
make: *** [all] Error 2
****************************************************************
But the constant M_PI is defined in /usr/include/math.h
My configuration is:
~ # emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers: sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/system/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dga doc emacs encode esd f77 fam flac foomaticdb fortran gb gdbm gif gnome gpm gtk gtk2 guile imlib jabber java jpeg junit kde leim libg++ libwww mad maildir mikmod motif mozilla mpeg msn ncurses nls odbc oggvorbis opengl oscar oss pam pdflib perl png python qt quicktime readline samba sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 xml xml2 xmms xv yahoo zlib"
Thanks,
Dan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2004-12-07 7:03 99% [gentoo-user] error emerging math.h dependent aplications Dan Pomohaci
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox