Re: Re: [Vserver] compile error on x86_64

From: Marcel Gsteiger <Marcel.Gsteiger_at_milprog.ch>
Date: Fri 04 Nov 2005 - 10:38:31 GMT
Message-Id: <s36b4848.048@milprog1.milprog.ch>

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

of course I meant this, sorry I copy/pasted the wrong line in my
posting...

>

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.

>#include <linux/vs_memory.h>

I did this, then I could create a kernel. However, I got tons of
messages while compiling, I hope this is normal. The resulting RPM
seemed reasonable in size, so I installed it. Until now, my server still
appears to run.

off-list I will e-mail you hyperlinks to my generated RPMS, you could
perhaps add them to a x86_64 subfolder on your site.

Regards
--Marcel

| 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
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Nov 4 10:39:44 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 04 Nov 2005 - 10:39:46 GMT by hypermail 2.1.8