Hello,

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[1] this with a more or less complicated 's!...!...!' over the
Makefile, but this is ugly and must be adjusted in every version. So I
am asking:

* 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[2] useless because it compiles and
  links at the same stage. It is difficulty also, to use special makeflags
  or cross-compilers.



Enrico

Footnotes: 
[1]  https://bugzilla.fedora.us/show_bug.cgi?id=512
[2]  http://ccache.samba.org

Reply via email to