From: Enrico Scholz (enrico.scholz_at_informatik.tu-chemnitz.de)
Date: Wed 30 Jul 2003 - 00:54:07 BST
the vserver-0.23 utilities are failing to build with gcc-3.3:
| $ make
| gcc -static -funsigned-char -Wall -g -O -DVERSION=\"0.23\" vreboot.cc -o vreboot
| /tmp/ccuTmRus.o(.eh_frame+0x11): In function `vreboot_connect':
| /var/tmp/vserver-0.23/vreboot.cc:24: undefined reference to `__gxx_personality_v0'
| collect2: ld returned 1 exit status
I solved this with a more or less complicated 's!...!...!' over the
Makefile, but this is ugly and must be adjusted in every version. So I
* whether there exists any reason to write the tools in C++? I like C++
but the shipped files are nearly plain C and when compiling them in
this language, the error-prone explicit '-lstdc++' would disappear
* whether there are plans to use more modern build-methods (e.g. automake)?
The current method makes e.g. ccache useless because it compiles and
links at the same stage. It is difficulty also, to use special makeflags