[EMAIL PROTECTED] wrote:
Hello Daniel

I've tried to compile the new util-vserver 0.30.211) in a vmware
debian-sarge 3.1 .
Linux version 2.6.18-vs2.1.1-rc35-t1 ([EMAIL PROTECTED]) (version gcc 3.3.5
(Debian 1:3.3.5-13)) #3 PREEMPT Fri Oct 6 13:15:24 CEST 2006


I ran ./configure --enable-apis=ALL --with-vrootdir=/opt/vservers
                                  ^^^
This is your problem. This includes the legacy API, which I don't think has been buildable for a really long time. The legacy API is the API used by (I think) pre-1.20 Linux-VServer versions, if not even older, and isn't really something you need. What you want is --enable-apis=NOLEGACY, which includes every API _except_ the legacy API, which should support both 2.4 and 2.6 kernels.

but when i launch make, i got this error :

 rm -f src/vdlimit src/vdlimit
/bin/sed -e '...' pathconfig.h.pathsubst >pathconfig.h
make  all-recursive
make[1]: entrant dans le répertoire « /usr/local/util-vserver-0.30.211 »
Making all in .
make[2]: entrant dans le répertoire « /usr/local/util-vserver-0.30.211 »
if diet -Os gcc -DHAVE_CONFIG_H -I. -I. -I.  -I ./lib -I
./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT  -DNDEBUG   -g -O2 -std=c99 -Wall
 -pedantic -W -MT lib/lib_libvserver_a-syscall.o -MD -MP -MF
"lib/.deps/lib_libvserver_a-syscall.Tpo" -c -o
lib/lib_libvserver_a-syscall.o `test -f 'lib/syscall.c' || echo
'./'`lib/syscall.c; \
        then mv -f "lib/.deps/lib_libvserver_a-syscall.Tpo"
"lib/.deps/lib_libvserver_a-syscall.Po"; else rm -f
"lib/.deps/lib_libvserver_a-syscall.Tpo"; exit 1; fi
In file included from lib/syscall.c:40:
lib/syscall-legacy.hc: Dans la fonction « set_ipv4root_rev0 »:
lib/syscall-legacy.hc:84: attention : asm operand 1 probably doesn't match
constraints
lib/syscall-legacy.hc: Dans la fonction « set_ipv4root_rev1 »:
lib/syscall-legacy.hc:85: attention : asm operand 1 probably doesn't match
constraints
lib/syscall-legacy.hc: Dans la fonction « set_ipv4root_rev2 »:
lib/syscall-legacy.hc:86: attention : asm operand 1 probably doesn't match
constraints
lib/syscall-legacy.hc: Dans la fonction « set_ipv4root_rev3 »:
lib/syscall-legacy.hc:87: attention : asm operand 1 probably doesn't match
constraints
lib/syscall-legacy.hc: Dans la fonction « new_s_context_rev0 »:
lib/syscall-legacy.hc:103: attention : asm operand 1 probably doesn't match
constraints
lib/syscall-legacy.hc: Dans la fonction « set_ipv4root_rev0 »:
lib/syscall-legacy.hc:84: error: impossible constraint in `asm'
lib/syscall-legacy.hc:84: attention : `__res' might be used uninitialized in
this function
make[2]: *** [lib/lib_libvserver_a-syscall.o] Erreur 1
make[2]: quittant le répertoire « /usr/local/util-vserver-0.30.211 »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/local/util-vserver-0.30.211 »
make: *** [all] Erreur 2

Hint: LANG=C will make the errors understandable for a lot more people ;)

--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to