Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78983 - epos-2.5.23-r1 compile error
Summary: epos-2.5.23-r1 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 11:46 UTC by Dan Armak (RETIRED)
Modified: 2005-07-21 00:19 UTC (History)
1 user (show)

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


Attachments
ebuild for new version 2.5.27 (epos-2.5.27.ebuild,716 bytes, application/octet-stream)
2005-03-14 01:46 UTC, Pinky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Armak (RETIRED) gentoo-dev 2005-01-21 11:46:46 UTC
This while compiling:
========================
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/epos-2.5.23-r1/work/epos-2.5.23'
Making all in src
make[2]: Entering directory `/var/tmp/portage/epos-2.5.23-r1/work/epos-2.5.23/src'
Making all in nnet
make[3]: Entering directory `/var/tmp/portage/epos-2.5.23-r1/work/epos-2.5.23/src/nnet'
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I./..  -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos  -Wall -Wunused -gstabs+ -O -MT enumstring.lo -MD -MP -MF ".deps/enumstring.Tpo" \
  -c -o enumstring.lo `test -f 'enumstring.cc' || echo './'`enumstring.cc; \
then mv -f ".deps/enumstring.Tpo" ".deps/enumstring.Plo"; \
else rm -f ".deps/enumstring.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I./..  -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos  -Wall -Wunused -gstabs+ -O -MT map.lo -MD -MP -MF ".deps/map.Tpo" \
  -c -o map.lo `test -f 'map.cc' || echo './'`map.cc; \
then mv -f ".deps/map.Tpo" ".deps/map.Plo"; \
else rm -f ".deps/map.Tpo"; exit 1; \
fi
mkdir .libs
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos -Wall -Wunused -gstabs+ -O -MT map.lo -MD -MP -MF .deps/map.Tpo -c map.cc  -fPIC -DPIC -o .libs/map.lo
rm -f .libs/enumstring.lo
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos -Wall -Wunused -gstabs+ -O -MT enumstring.lo -MD -MP -MF .deps/enumstring.Tpo -c enumstring.cc  -fPIC -DPIC -o .libs/enumstring.lo
In file included from vector.h:4,
                 from set.h:4,
                 from map.h:5,
                 from map.cc:3:
iterator.h: In constructor `const_viterator<T>::const_viterator()':
iterator.h:18: error: `NULL' undeclared (first use this function)
iterator.h:18: error: (Each undeclared identifier is reported only once for each function it appears in.)
iterator.h: In member function `bool const_viterator<T>::valid() const':
iterator.h:33: error: `NULL' undeclared (first use this function)
iterator.h: In constructor `viterator<T>::viterator()':
iterator.h:40: error: `NULL' undeclared (first use this function)
iterator.h: In member function `bool viterator<T>::valid() const':
iterator.h:58: error: `NULL' undeclared (first use this function)
In file included from set.h:4,
                 from map.h:5,
                 from map.cc:3:
vector.h: In constructor `TVector<T>::TVector()':
vector.h:12: error: `NULL' undeclared (first use this function)
vector.h: In member function `virtual viterator<T> TVector<T>::begin() const':
vector.h:27: error: `NULL' undeclared (first use this function)
vector.h: In member function `virtual viterator<T> TVector<T>::end() const':
vector.h:28: error: `NULL' undeclared (first use this function)
vector.h: In member function `void TVector<T>::Realloc(int)':
vector.h:39: error: there are no arguments to `Min' that depend on a template parameter, so a declaration of `Min' must be available
vector.h:39: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
vector.h: In member function `void TVector<T>::DeleteAll()':
vector.h:49: error: `NULL' undeclared (first use this function)
vector.h: At global scope:
vector.h:52: error: expected constructor, destructor, or type conversion before "TVector"
vector.h:52: error: expected `;' before "TVector"
In file included from map.h:5,
                 from map.cc:3:
set.h:21: error: expected constructor, destructor, or type conversion before "TSet"
set.h:21: error: expected `;' before "TSet"
set.h:35: error: expected constructor, destructor, or type conversion before "TSet"
set.h:35: error: expected `;' before "TSet"
In file included from map.cc:3:
map.h:14: error: type `TVector<TPair<T1, T2> >' is not derived from type `TMap<T1, T2>'
map.h:14: error: ISO C++ forbids declaration of `iterator' with no type
map.h:14: error: expected `;' before "iterator"
map.h:15: error: `iterator' does not name a type
map.h:15: error: (perhaps `typename TSet<TPair<T1, T2> >::iterator' was intended)
map.h: In constructor `TMap<T1, T2>::TMap()':
map.h:12: error: `d' undeclared (first use this function)
map.h:12: error: `NULL' undeclared (first use this function)
map.h:12: error: `capacity' undeclared (first use this function)
map.h: In member function `T2& TMap<T1, T2>::operator[](const T1&)':
map.h:22: error: `iterator' undeclared (first use this function)
map.h:22: error: expected `;' before "found"
map.h:23: error: `found' undeclared (first use this function)
map.h:23: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
map.h: At global scope:
map.h:33: error: expected constructor, destructor, or type conversion before "TMap"
map.h:33: error: expected `;' before "TMap"
make[3]: *** [map.lo] Error 1
==========================
This is gcc-3.4.3-r1, or in full:
alpha portage # emerge --info
Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686)
=================================================================
System uname: 2.6.10-gentoo-r2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 16 2004, 15:56:03)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /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/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache confcache cvs digest distlocks manifest noauto noclean sandbox sfperms usermode usersandbox"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/private-portage"
SYNC="cvs://danarmak@cvs.gentoo.org:/var/cvsroot"
USE="x86 3dnow 3dnowex 3dnowext X X509 aalib acpi acpi4linux alsa apache2 applypatches arts artswrappersuid audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo cddb cdparanoia cdr chroot crypt cups dga divx4linux doc dvd dvdr dvdread edl encode f77 fam fftw flac flash font-server foomaticdb gdbm gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib jabber java javascript jce jikes jpeg jpeg2k junit kde lame lcms libg++ libwww live lufsusermount lzo mad matroska md5sum mikmod mmx mmx2 mng motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mpeg mule ncurses network nntp nptl nvidia odbc oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime readline rtc ruby samba sasl scanner sdk sdl skey slang speex spell sqlite sse sse2 ssl svg tcltk tcpd tetex tex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 wifi wmf xine xml xml2 xprint xrandr xv xvid xvmc zlib"
Unset:  LDFLAGS
Comment 1 Pinky 2005-03-14 01:46:26 UTC
Created attachment 53396 [details]
ebuild for new version 2.5.27
Comment 2 Pinky 2005-03-14 01:47:39 UTC
I seems broken too on older syste, i do ebuild for new version and this seems work for my.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-20 15:32:37 UTC
I'm working on 2.5.35 right now, but I need to leave.  It needs some patching to
get portaudio to work, and I should have it in portage tomorrow.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-21 00:19:43 UTC
in portage.  thanks.