Re: [Vserver] compile error on x86_64

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Wed 02 Nov 2005 - 21:29:25 GMT
Message-ID: <43692FB5.80609@hozac.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcel Gsteiger wrote:
| Hi,
|
| On my dual xeon x86_64 FC4 box, after doing
|
| wget
|
http://rpm.hozac.com/fedora/dhozac/4/i386/vserver/SRPMS/util-vserver-0.30.209-5.fc4.src.rpm
| and installing this SRPM, then doing

I assume you meant the kernel-*.src.rpm.

| cd /usr/src/redhat/SPECS
| rpmbuild -bb --target=x86_64 --define 'fedora 4' kernel-2.6.spec
|
| I get this error:
|
| (..)
| CHK include/linux/compile.h
| UPD include/linux/compile.h
| arch/x86_64/ia32/built-in.o(.text+0xc967): In function
| `syscall32_setup_pages':
| arch/x86_64/ia32/syscall32.c:77: undefined reference to
| `vx_vmpages_add'
| make: *** [.tmp_vmlinux1] Error 1
| Fehler: Bad exit status from /var/tmp/rpm-tmp.26996 (%build)
|
|
| RPM build errors:
| Bad exit status from /var/tmp/rpm-tmp.26996 (%build)
|
| Is this a known problem?

No, as I have no access to any non-x86 architectures supported by Fedora
(and I can't get a stable qemu built). You'll need to add
#include <linux/vs_memory.h>
to the top of that file.

- --
Daniel Hokka Zakrisson
GPG id: 06723412
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDaS+0YTbdogZyNBIRAvOUAJ4413mTq+ZWm1L0d00sBwndLIZY7wCeL59h
ELBoL5p7MK5elkH28p/VQLY=
=F7b5
-----END PGP SIGNATURE-----
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Nov 2 21:29:47 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 02 Nov 2005 - 21:29:50 GMT by hypermail 2.1.8