Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44183 - net-misc/gnugk-2.0.6 coldata4.hh:23: error: cannot use typeid with -fno-rtti
Summary: net-misc/gnugk-2.0.6 coldata4.hh:23: error: cannot use typeid with -fno-rtti
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 13:52 UTC by Hans-Christian Armingeon
Modified: 2004-03-16 09:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-03-09 13:52:37 UTC
# emerge gnugk
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/gnugk-2.0.6 to /
>>> md5 src_uri ;-) gnugk-2.0.6.tgz
>>> Unpacking source...
>>> Unpacking gnugk-2.0.6.tgz to /var/tmp/portage/gnugk-2.0.6/work
 * Applying gnugk-2.0.6-gentoo.diff...                                                                                                    [ ok ]
>>> Source unpacked.
ldap
mysql
Makefile:199: warning: overriding commands for target `obj_linux_x86_r/gnugk'
/usr/share/pwlib/make/common.mak:368: warning: ignoring old commands for target `obj_linux_x86_r/gnugk'
g++ -DHAS_MYSQL=1 -I/usr/include/mysql -I/usr/include/mysql++ -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 -DP_USE_PRAGMA -fno-rtti -ffunction-sections  -D_REENTRANT  -Wall  -I/usr/share/pwlib/include -I/usr/include/openh323  -I/usr/include/ffmpeg -DPTRACING -DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=13 -DBUILD_NUMBER=2 -Os -DNDEBUG -O3 -march=athlon-xp -funroll-loops -pipe -x c++ -c gk.cxx -o obj_linux_x86_r/gk.o
g++ -DHAS_MYSQL=1 -I/usr/include/mysql -I/usr/include/mysql++ -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 -DP_USE_PRAGMA -fno-rtti -ffunction-sections  -D_REENTRANT  -Wall  -I/usr/share/pwlib/include -I/usr/include/openh323  -I/usr/include/ffmpeg -DPTRACING -DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=13 -DBUILD_NUMBER=2 -Os -DNDEBUG -O3 -march=athlon-xp -funroll-loops -pipe -x c++ -c gkauth.cxx -o obj_linux_x86_r/gkauth.o
In file included from /usr/include/mysql++/mysql++:58,
                 from gkauth.cxx:693:
/usr/include/mysql++/coldata4.hh: In member function `Type
   mysql_ColData<Str>::conv(Type) const':
/usr/include/mysql++/coldata4.hh:23: error: cannot use typeid with -fno-rtti
g++ -DHAS_MYSQL=1 -I/usr/include/mysql -I/usr/include/mysql++ -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 -DP_USE_PRAGMA -fno-rtti -ffunction-sections  -D_REENTRANT  -Wall  -I/usr/share/pwlib/include -I/usr/include/openh323  -I/usr/include/ffmpeg -DPTRACING -DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=13 -DBUILD_NUMBER=2 -Os -DNDEBUG -O3 -march=athlon-xp -funroll-loops -pipe -x c++ -c gkDestAnalysis.cxx -o obj_linux_x86_r/gkDestAnalysis.o
make: *** [obj_linux_x86_r/gkauth.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/gnugk-2.0.6 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! (no error message)


I don't know where to start.

Johnny

Reproducible: Always
Steps to Reproduce:



Expected Results:  
 

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.3-gentoo-r2) 
================================================================= 
System uname: 2.6.3-gentoo-r2 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.3.13p1 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /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 /var/vpopmail/domains /var/vpopmail/etc" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://www.ibiblio.org/pub/Linux/distributions/gentoo 
http://gentoo.oregonstate.edu" 
MAKEOPTS="-j2" 
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 Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr 
crypt cscope cups curl dga directfb doc dvd emacs encode esd ethereal evo 
fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm 
gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java 
jikes joystick jpeg kde kerberos ladcca lcm ldap leim libg++ libgda libwww 
lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule 
mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda 
pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime 
readline ruby ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl 
svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 
xmms xosd xv zeo zlib"
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2004-03-11 18:15:13 UTC
pwlib-1.6.3-r1 fixes the problem,

please test...
Comment 2 Stefan Knoblich (RETIRED) gentoo-dev 2004-03-16 09:05:12 UTC
closing as fixed