OpenVZ Forum


Home » General » Support » *SOLVED* compiling errors with ovzkernel 2.6.16-026test009.1
*SOLVED* compiling errors with ovzkernel 2.6.16-026test009.1 [message #2869] Mon, 24 April 2006 12:56 Go to next message
slg2001 is currently offline  slg2001
Messages: 20
Registered: March 2006
Location: Germany
Junior Member

Hallo,

i get some error if i compile the new kernel "ovzkernel 2.6.16-026test009.1".

# rpmbuild -vv -bb SPECS/kernel-ovz_2.6.16-026test009.spec --target=i686 --clean
.
.
.
lib/zlib_inflate/inftrees.c: In function âhuft_buildâ:
lib/zlib_inflate/inftrees.c:121: warning: âr.baseâ may be used uninitialized in this function
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
Root device is (33, 3)
Boot sector 512 bytes.
Setup is 6927 bytes.
System is 2090 kB
Kernel: arch/i386/boot/bzImage is ready  (#1)
+ make ARCH=i386 -s modules
  CHK     include/linux/version.h
kernel/cpt/cpt_mm.c: In function âcpt_dump_vmâ:
kernel/cpt/cpt_mm.c:596: warning: âpd.mmâ may be used uninitialized in this function
kernel/cpt/cpt_kernel.c:76: error: static declaration of âerrnoâ follows non-static declaration
include/linux/unistd.h:4: error: previous declaration of âerrnoâ was here
make[2]: *** [kernel/cpt/cpt_kernel.o] Error 1
make[1]: *** [kernel/cpt] Error 2
make: *** [kernel] Error 2
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.82283 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.82283 (%build)
D: May free Score board((nil))


The complete file you can see at the attachment: "20060421_rpmbuild-error_01.txt"

Attachment: file:/var/tmp/rpm-tmp.82283 ===>>> file: 20060421_rpmbuild-error_02.txt

I hope you can help me, then found nothing at the forum or by google!

regard
stefan


To follow the path:
look to the master, follow the master, walk with the master, see through the master, become the master.

[Updated on: Mon, 24 April 2006 20:54]

Report message to a moderator

Re: compiling errors with ovzkernel 2.6.16-026test009.1 [message #2872 is a reply to message #2869] Mon, 24 April 2006 14:01 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

which gcc version do you use?
# gcc --version


http://static.openvz.org/userbars/openvz-developer.png
Re: compiling errors with ovzkernel 2.6.16-026test009.1 [message #2873 is a reply to message #2869] Mon, 24 April 2006 14:06 Go to previous messageGo to next message
slg2001 is currently offline  slg2001
Messages: 20
Registered: March 2006
Location: Germany
Junior Member

# gcc --version
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



To follow the path:
look to the master, follow the master, walk with the master, see through the master, become the master.
Re: compiling errors with ovzkernel 2.6.16-026test009.1 [message #2879 is a reply to message #2873] Mon, 24 April 2006 15:46 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
try this patch

http://static.openvz.org/openvz_userbar_en.gif
Re: compiling errors with ovzkernel 2.6.16-026test009.1 [message #2883 is a reply to message #2869] Mon, 24 April 2006 20:54 Go to previous message
slg2001 is currently offline  slg2001
Messages: 20
Registered: March 2006
Location: Germany
Junior Member

Hi,

it works! Thanks for the patch and your support!

regard
stefan


To follow the path:
look to the master, follow the master, walk with the master, see through the master, become the master.
Previous Topic: OpenVZ and IP masquerading
Next Topic: ovzkernel 2.6.16-026test009.1 and RHEL 4 update 3 problem
Goto Forum:
  


Current Time: Thu Jul 11 09:21:01 GMT 2024

Total time taken to generate the page: 0.02576 seconds