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

From: Jesper Andersen (424242424242424242_at_j-f.dk)
Date: Thu 27 Jun 2002 - 19:34:56 BST


I am trying to compile the utils for vserver but it doesn't go too well as
you can see below. I guess the problem is that I use gcc version 3.1??

-----
vserver-0.17# make
g++ -c -o syscall.o syscall.cc
gcc -funsigned-char -Wall -g -DVERSION=\"0.17\" chbind.cc syscall.o -o chbind
\
        -lstdc++
In file included from /usr/include/g++-v3/backward/iostream.h:31,
                 from vutil.h:11,
                 from chbind.cc:16:
/usr/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
In file included from chbind.cc:16:
vutil.h:12:22: pfstream.h: No such file or directory
In file included from chbind.cc:16:
vutil.h:27: 'string' is used as a type, but is not defined as a type.
vutil.h:28: 'string' is used as a type, but is not defined as a type.
vutil.h:29: parse error before `&' token
vutil.h:32: missing ';' before right brace
vutil.h:34: ISO C++ forbids defining types within return type
vutil.h:34: semicolon missing after declaration of `class PACKAGE'
vutil.h: In function `int PACKAGE(const char*, const char*)':
vutil.h:35: only constructors take base initializers
vutil.h:35: confused by earlier errors, bailing out
make: *** [chbind] Error 1
-----

-- 
Jesper


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:41 GMT by hypermail 2.1.3