Menu

#3 compile fails on gentoo athlon64

open
nobody
None
5
2005-09-14
2005-09-14
Anonymous
No

% uname -a
Linux ragnarok 2.6.11-gentoo-r7 #13 Thu Jul 21 10:42:18
EDT 2005 x86_64 AMD Athlon(tm) 64 Processor 3000+
AuthenticAMD GNU/Linux

% g++ -v
Reading specs from
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs
Configured with:
/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3
--host=x86_64-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror
--disable-libunwind-exceptions --enable-multilib
--disable-libgcj --enable-languages=c,c++,f77
--enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.3 20041125 (Gentoo 3.4.3-r1,
ssp-3.4.3-0, pie-8.7.7)

% make
Testing for the fortune command... Working
Searching for Curses include files... Found
Searching for the strfile command... Found
Checking archive for offensive.dat... Creating
offensive.dat
Checking archive for poetry.dat... Creating poetry.dat
Checking archive for startrek.dat... Creating startrek.dat
Checking for object files and executable... Done
Makin' Bakon. This could take a while...

g++ -O2 -Wall -DARCHIVE -DDATA -DDOC -c bakon.cpp
In file included from defaults.h:36,
from bakon.cpp:35:
makemap.h: In member function `bool MakeMap<KEY,
VALUE>::isempty()':
makemap.h:53: error: there are no arguments to `empty'
that depend on a template parameter, so a declaration
of `empty' must be available
makemap.h:53: error: (if you use `-fpermissive', G++
will accept your code, but allowing the use of an
undeclared name is deprecated)
makemap.h: In member function `VALUE& MakeMap<KEY,
VALUE>::findval(KEY)':
makemap.h:59: error: there are no arguments to `end'
that depend on a template parameter, so a declaration
of `end' must be available
makemap.h: In member function `void MakeMap<KEY,
VALUE>::printmap(std::ostream&)':
makemap.h:71: error: there are no arguments to `begin'
that depend on a template parameter, so a declaration
of `begin' must be available
makemap.h:71: error: there are no arguments to `end'
that depend on a template parameter, so a declaration
of `end' must be available
makemap.h:72: error: `endl' undeclared (first use this
function)
makemap.h:72: error: (Each undeclared identifier is
reported only once for each function it appears in.)
bakon.cpp: In function `int main(int, char**)':
bakon.cpp:167: error: `endl' undeclared (first use this
function)
bakon.cpp: In function `void badopt(std::string, char*)':
bakon.cpp:258: error: `endl' undeclared (first use this
function)
bakon.cpp: In function `void screensig(int)':
bakon.cpp:293: error: `endl' undeclared (first use this
function)
bakon.cpp: In function `void not_expected()':
bakon.cpp:315: error: `endl' undeclared (first use this
function)
make[1]: *** [bakon.o] Error 1
make: *** [make_bakon] Error 2

Discussion


Log in to post a comment.

MongoDB Logo MongoDB