#1  
Old 8th August 2008, 16:16
xist xist is offline
Junior Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default And howto for CentOS?

Hi all. I try to compile a new vanilla kernel 2.6.25 for CentOS 5 according to this howto.
But I got this error:

Code:
 CC	  net/xfrm/xfrm_algo.o
  CC	  net/xfrm/xfrm_proc.o
  CC [M]  net/xfrm/xfrm_user.o
  LD	  net/xfrm/built-in.o
  LD	  net/built-in.o
error: Bad exit status from /var/tmp/rpm-tmp.96774 (%build)


RPM build errors:
	Bad exit status from /var/tmp/rpm-tmp.96774 (%build)
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
cat /var/tmp/rpm-tmp.96774
Code:
#!/bin/sh

RPM_SOURCE_DIR="/usr/src/linux-2.6.25/.."
RPM_BUILD_DIR="/usr/src/redhat/BUILD"
RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic"
RPM_ARCH="x86_64"
RPM_OS="linux"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="/usr/share/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="kernel"
RPM_PACKAGE_VERSION="2.6.25"
RPM_PACKAGE_RELEASE="1"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
RPM_BUILD_ROOT="/var/tmp/kernel-2.6.25-root"
export RPM_BUILD_ROOT

PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig"
export PKG_CONFIG_PATH

set -x
umask 022
cd /usr/src/redhat/BUILD

cd kernel-2.6.25
LANG=C
export LANG
unset DISPLAY

make clean && make -j2


exit 0
uname -a:
Linux office 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:45:47 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

config file is there: http://pastebin.com/m4e0b3858
any help will be appreciated..
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto setup SiS190 Ethernet - not working for me hugoc HOWTO-Related Questions 5 8th May 2008 21:57
Question about ruby_on_rails_debian_etch howto Hans HOWTO-Related Questions 1 1st March 2008 16:36
Howto: Set Up A Loadbalanced High-Availability Apache Cluster PeterBiggerstaff HOWTO-Related Questions 7 13th April 2007 16:13
HowTo Add Mailfiltering to the Falko howto Postfix Guide rockwilda HOWTO-Related Questions 15 20th October 2006 15:40
Samba as a PDC HOWTO help jesterking HOWTO-Related Questions 2 23rd February 2006 19:45


All times are GMT +2. The time now is 14:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.