problem compiling 2.6.18 with 028stab47 [message #22763] |
Fri, 02 November 2007 23:31 |
Gorazd Golob
Messages: 2 Registered: November 2007
|
Junior Member |
|
|
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
|
|
|
Re: problem compiling 2.6.18 with 028stab47 [message #22801 is a reply to message #22763] |
Sat, 03 November 2007 19:15 |
|
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
>
|
|
|
Re: problem compiling 2.6.18 with 028stab47 [message #22803 is a reply to message #22801] |
Sun, 04 November 2007 02:20 |
Gorazd Golob
Messages: 2 Registered: November 2007
|
Junior Member |
|
|
Thanks,
working ! :)
On Sat, 2007-11-03 at 15:15 -0400, Kir Kolyshkin wrote:
> 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
> >
|
|
|