OpenVZ Forum


Home » Mailing lists » Devel » problem compiling 2.6.18 with 028stab47
problem compiling 2.6.18 with 028stab47 [message #22763] Fri, 02 November 2007 23:31 Go to next message
Gorazd Golob is currently offline  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 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

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 Go to previous message
Gorazd Golob is currently offline  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
> >
Previous Topic: [PATCH] namespaces: introduce sys_hijack (v7)
Next Topic: [PATCH] Masquerade sender information
Goto Forum:
  


Current Time: Sat Jul 13 22:32:09 GMT 2024

Total time taken to generate the page: 0.02285 seconds