About this list Date view Thread view Subject view Author view Attachment view

From: Cedric Veilleux (cedric_at_neopeak.com)
Date: Sun 06 Oct 2002 - 22:49:15 BST


I am trying to compile it under GCC 3.2 and the following happens. Seems like
there is some ISO C++ compatibility issues...

cedric_at_blackfish vserver-0.20 $ make all
g++ -c -o syscall.o syscall.cc
gcc -funsigned-char -Wall -g -O3 -DVERSION=\"0.20\" chbind.cc syscall.o -o
chbind \
        -lstdc++
In file included from chbind.cc:16:
vutil.h:26: 'string' is used as a type, but is not defined as a type.
vutil.h:27: 'string' is used as a type, but is not defined as a type.
vutil.h:28: parse error before `&' token
vutil.h:31: missing ';' before right brace
vutil.h:33: ISO C++ forbids defining types within return type
vutil.h:33: semicolon missing after declaration of `class PACKAGE'
vutil.h: In function `int PACKAGE(const char*, const char*)':
vutil.h:34: only constructors take base initializers
vutil.h:34: confused by earlier errors, bailing out
make: *** [chbind] Error 1

cedric_at_blackfish vserver-0.20 $ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: /var/tmp/portage/gcc-3.2-r1/work/gcc-3.2/configure
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local
--enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2

cedric_at_blackfish vserver-0.20 $ uname -a
Linux blackfish.neopeak.com 2.4.19ctx-13 #1 Sun Oct 6 16:11:57 EDT 2002 i686
GenuineIntel


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:43 GMT by hypermail 2.1.3