[Devel] problem compiling 2.6.18 with 028stab47
Kir Kolyshkin
kir at openvz.org
Sat Nov 3 12:15:01 PDT 2007
Hi Gorazd,
This is a known bug (http://bugzilla.openvz.org/689)
This patch should help:
http://git.openvz.org/?p=linux-2.6.18-openvz;a=commitdiff;h=0a17273c35f9fd043979da9ef216305f07ef369e
(click on 'raw' to get plain text patch).
Gorazd Golob wrote:
> Hi,
>
> this is my first post here and I'm not sure is users@ mailing list would
> be more appropriate - anyway it's kind of bug report for patch file for
> kernel 2.6.18 - 028stab47. I'm currently using 027stab38 with same
> kernel config.
>
> After doing ,,
>
> $ make
> ...
>
> CC kernel/pid.o
> kernel/pid.c: In function 'free_pid':
> kernel/pid.c:197: error: dereferencing pointer to incomplete type
> kernel/pid.c: In function 'alloc_pid':
> kernel/pid.c:233: error: dereferencing pointer to incomplete type
> make[1]: *** [kernel/pid.o] Error 1
> make: *** [kernel] Error 2
>
>
> This is snip from .config
>
> $ grep VZ .config
> CONFIG_VZ_QUOTA=y
> CONFIG_VZ_QUOTA_UGID=y
> # OpenVZ
> CONFIG_VZ_GENCALLS=y
> CONFIG_VZ_DEV=y
> CONFIG_VZ_WDOG=y
> CONFIG_VZ_CHECKPOINT=y
> $
>
> And gcc version:
>
> # gcc -v
> Reading specs from /usr/lib/gcc/x86_64-pc-linux/4.1.2/specs
> Target: x86_64-pc-linux
> Configured with: ../gcc-4.1.2/configure --prefix=/usr
> --enable-languages=c,c++,fortran,java,ada,objc --enable-shared
> --enable-threads=posix --enable-__cxa_atexit --disable-checking
> --with-gnu-ld --disable-multilib --verbose --target=x86_64-pc-linux
> --host=x86_64-pc-linux
> Thread model: posix
> gcc version 4.1.2
>
> I'll be fully co-operate for debuging purposes..
>
> thanks and regards, gorazd
>
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://openvz.org/mailman/listinfo/devel
>
More information about the Devel
mailing list