hi,
i tried to compile the same kernel with patch-2.6.18-vs2.1.1-rc37.diff
but gcc complains about debug_cmd.h. Also, debug_cmd.h doesn't need to
be called in switch.c. I just commented it out and i was able to compile
the kernel again.
My settings are
#
# Linux VServer
#
# CONFIG_VSERVER_LEGACY is not set
# CONFIG_VSERVER_NGNET is not set
CONFIG_VSERVER_REMAP_SADDR=y
CONFIG_VSERVER_COWBL=y
# CONFIG_VSERVER_VTIME is not set
CONFIG_VSERVER_PROC_SECURE=y
# CONFIG_VSERVER_HARDCPU is not set
# CONFIG_TAGGING_NONE is not set
# CONFIG_TAGGING_UID16 is not set
# CONFIG_TAGGING_GID16 is not set
CONFIG_TAGGING_ID24=y
# CONFIG_TAGGING_INTERN is not set
# CONFIG_TAGGING_RUNTIME is not set
# CONFIG_TAG_NFSD is not set
# CONFIG_PROPAGATE is not set
CONFIG_VSERVER_PRIVACY=y
# CONFIG_VSERVER_DEBUG is not set
CONFIG_VSERVER=y
CONFIG_VSERVER_SECURITY=y
CONFIG_VSERVER_LEGACYNET=y
and the message returned is:
CC mm/highmem.o
CC kernel/time/jiffies.o
CC mm/madvise.o
LD kernel/time/built-in.o
CC kernel/vserver/switch.o
In file included from kernel/vserver/switch.c:53:
include/linux/vserver/debug_cmd.h:43: erreur: two or more data types in
declaration specifiers
include/linux/vserver/debug_cmd.h:43: erreur: two or more data types in
declaration specifiers
CC mm/memory.o
make[2]: *** [kernel/vserver/switch.o] Erreur 1
make[1]: *** [kernel/vserver] Erreur 2
make: *** [kernel] Erreur 2
Jj
Herbert Poetzl a écrit :
> On Thu, Oct 05, 2006 at 08:01:03PM +0200, Jimmy Jazz wrote:
>> hi,
>>
>> the kernel 2.6.18 x86_64 won't compile with patch vs2.1.1-rc35-t1.
>> it complains about an undefined `vx_rmap_pid' reference
>> I tried both gentoo and vanilla sources without success.
>>
>> I'm using the gcc 4.1.1 compiler and the system works in 64 bits.
>>
>> Here are the messages:
>>
>> AS arch/x86_64/lib/getuser.o
>> CC arch/x86_64/lib/memmove.o
>> AS arch/x86_64/lib/putuser.o
>> CC arch/x86_64/lib/usercopy.o
>> AR arch/x86_64/lib/lib.a
>> GEN .version
>> CHK include/linux/compile.h
>> UPD include/linux/compile.h
>> CC init/version.o
>> LD init/built-in.o
>> LD .tmp_vmlinux1
>> kernel/built-in.o: In function `fill_pid':
>> taskstats.c:(.text.fill_pid+0x22): undefined reference to `vx_rmap_pid'
>> kernel/built-in.o: In function `taskstats_user_cmd':
>> taskstats.c:(.text.taskstats_user_cmd+0x154): undefined reference to
>> `vx_rmap_pid'
>> make: *** [.tmp_vmlinux1] Erreur 1
>
> jup, tx, will be fixed in the next test release
> or in the next release candidate for 2.1.1
>
> thanks,
> Herbert
>
>> Jj
>>
>
>> _______________________________________________
>> Vserver mailing list
>> Vserver@list.linux-vserver.org
>> http://list.linux-vserver.org/mailman/listinfo/vserver
>
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Oct 9 19:45:52 2006