Help me solve Kernel Compile errors from the Linux 2.6.32.2 stable source
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Help me solve Kernel Compile errors from the Linux 2.6.32.2 stable source
Hi
I have been trying to compile the new linux stable kernel 2.6.32.2 and it gives
errors that I dont know how to solve. I am currently running Mandrakelinux Limited
edition with a kernel-2.6.11.6 mdksmp and does not regnize my ethernet card
(Realtek RTL8101 Family PCi-E Fast Ethernet NIC (NDiS 6.0) on a i686 Intel(R) Core (TM) 2 Duo CPU.
I want to compile a separate kernel so that my ethernet card is recognized and make
it a local mail server.
I compiled and got a lot of erors which I was able to solve, bu there are Now 2 stubbon
errors I cant seem to solve.
when I Type make command as root the following part of the errors occur
CC [M] drivers/infiniband/hw/mthca/mthca_main.o
CC [M] drivers/infiniband/hw/mthca/mthca_cmd.o
CC [M] drivers/infiniband/hw/mthca/mthca_profile.o
CC [M] drivers/infiniband/hw/mthca/mthca_reset.o
CC [M] drivers/infiniband/hw/mthca/mthca_allocator.o
CC [M] drivers/infiniband/hw/mthca/mthca_eq.o
CC [M] drivers/infiniband/hw/mthca/mthca_pd.o
CC [M] drivers/infiniband/hw/mthca/mthca_cq.o
CC [M] drivers/infiniband/hw/mthca/mthca_mr.o
CC [M] drivers/infiniband/hw/mthca/mthca_qp.o
CC [M] drivers/infiniband/hw/mthca/mthca_av.o
CC [M] drivers/infiniband/hw/mthca/mthca_mcg.o
CC [M] drivers/infiniband/hw/mthca/mthca_mad.o
CC [M] drivers/infiniband/hw/mthca/mthca_provider.o
CC [M] drivers/infiniband/hw/mthca/mthca_memfree.o
CC [M] drivers/infiniband/hw/mthca/mthca_uar.o
CC [M] drivers/infiniband/hw/mthca/mthca_srq.o
CC [M] drivers/infiniband/hw/mthca/mthca_catas.o
LD [M] drivers/infiniband/hw/mthca/ib_mthca.o
LD drivers/infiniband/ulp/ipoib/built-in.o
CC [M] drivers/infiniband/ulp/ipoib/ipoib_main.o
CC [M] drivers/infiniband/ulp/ipoib/ipoib_ib.o
CC [M] drivers/infiniband/ulp/ipoib/ipoib_multicast.o
CC [M] drivers/infiniband/ulp/ipoib/ipoib_verbs.o
CC [M] drivers/infiniband/ulp/ipoib/ipoib_vlan.o
CC [M] drivers/infiniband/ulp/ipoib/ipoib_ethtool.o
LD [M] drivers/infiniband/ulp/ipoib/ib_ipoib.o
CC drivers/input/input.o
CC drivers/input/input-compat.o
CC drivers/input/ff-core.o
LD drivers/input/input-core.o
CC drivers/input/mousedev.o
LD drivers/input/joystick/built-in.o
CC [M] drivers/input/joystick/a3d.o
CC [M] drivers/input/joystick/adi.o
CC [M] drivers/input/joystick/analog.o
CC [M] drivers/input/joystick/cobra.o
CC [M] drivers/input/joystick/db9.o
CC [M] drivers/input/joystick/gamecon.o
CC [M] drivers/input/joystick/gf2k.o
CC [M] drivers/input/joystick/grip.o
CC [M] drivers/input/joystick/grip_mp.o
CC [M] drivers/input/joystick/guillemot.o
CC [M] drivers/input/joystick/interact.o
CC [M] drivers/input/joystick/joydump.o
CC [M] drivers/input/joystick/magellan.o
CC [M] drivers/input/joystick/sidewinder.o
CC [M] drivers/input/joystick/spaceball.o
CC [M] drivers/input/joystick/spaceorb.o
CC [M] drivers/input/joystick/stinger.o
CC [M] drivers/input/joystick/turbografx.o
CC [M] drivers/input/joystick/warrior.o
LD drivers/input/joystick/iforce/built-in.o
CC [M] drivers/input/joystick/iforce/iforce-ff.o
CC [M] drivers/input/joystick/iforce/iforce-main.o
CC [M] drivers/input/joystick/iforce/iforce-packets.o
CC [M] drivers/input/joystick/iforce/iforce-serio.o
CC [M] drivers/input/joystick/iforce/iforce-usb.o
LD [M] drivers/input/joystick/iforce/iforce.o
CC drivers/input/keyboard/atkbd.o
LD drivers/input/keyboard/built-in.o
CC [M] drivers/input/keyboard/lkkbd.o
CC [M] drivers/input/keyboard/newtonkbd.o
CC [M] drivers/input/keyboard/sunkbd.o
CC [M] drivers/input/keyboard/xtkbd.o
LD drivers/input/misc/built-in.o
CC [M] drivers/input/misc/pcspkr.o
CC [M] drivers/input/misc/uinput.o
CC drivers/input/mouse/psmouse-base.o
CC drivers/input/mouse/synaptics.o
CC drivers/input/mouse/alps.o
CC drivers/input/mouse/logips2pp.o
CC drivers/input/mouse/lifebook.o
CC drivers/input/mouse/trackpoint.o
LD drivers/input/mouse/psmouse.o
LD drivers/input/mouse/built-in.o
CC [M] drivers/input/mouse/inport.o
CC [M] drivers/input/mouse/logibm.o
CC [M] drivers/input/mouse/pc110pad.o
CC [M] drivers/input/mouse/sermouse.o
CC [M] drivers/input/mouse/vsxxxaa.o
LD drivers/input/touchscreen/built-in.o
CC [M] drivers/input/touchscreen/gunze.o
LD drivers/input/built-in.o
CC [M] drivers/input/input-polldev.o
CC [M] drivers/input/joydev.o
CC [M] drivers/input/evdev.o
LD drivers/input/gameport/built-in.o
CC [M] drivers/input/gameport/gameport.o
CC [M] drivers/input/gameport/emu10k1-gp.o
CC [M] drivers/input/gameport/fm801-gp.o
CC [M] drivers/input/gameport/lightning.o
CC [M] drivers/input/gameport/ns558.o
CC drivers/input/serio/serio.o
CC drivers/input/serio/i8042.o
CC drivers/input/serio/libps2.o
LD drivers/input/serio/built-in.o
CC [M] drivers/input/serio/parkbd.o
CC [M] drivers/input/serio/serport.o
CC [M] drivers/input/serio/ct82c710.o
CC [M] drivers/input/serio/pcips2.o
CC [M] drivers/input/serio/serio_raw.o
LD drivers/lguest/built-in.o
LD drivers/macintosh/built-in.o
CC drivers/md/raid0.o
CC drivers/md/md.o
CC drivers/md/bitmap.o
LD drivers/md/md-mod.o
LD drivers/md/built-in.o
CC [M] drivers/md/linear.o
CC [M] drivers/md/raid1.o
CC [M] drivers/md/raid10.o
CC [M] drivers/md/multipath.o
CC [M] drivers/md/dm-raid1.o
CC [M] drivers/md/dm.o
CC [M] drivers/md/dm-table.o drivers/md/dm-table.c: In function `dm_table_set_integrity':
drivers/md/dm-table.c:1067: warning: statement with no effect
drivers/md/dm-table.c:1073: warning: statement with no effect CC [M] drivers/md/dm-target.o
CC [M] drivers/md/dm-linear.o
CC [M] drivers/md/dm-stripe.o
CC [M] drivers/md/dm-ioctl.o
CC [M] drivers/md/dm-io.o
CC [M] drivers/md/dm-kcopyd.o
CC [M] drivers/md/dm-sysfs.o
CC [M] drivers/md/dm-snap.o
CC [M] drivers/md/dm-exception-store.o
CC [M] drivers/md/dm-snap-transient.o
CC [M] drivers/md/dm-snap-persistent.o
LD [M] drivers/md/dm-mod.o
LD [M] drivers/md/dm-snapshot.o
LD [M] drivers/md/dm-mirror.o
CC [M] drivers/md/dm-log.o
CC [M] drivers/md/dm-region-hash.o
CC [M] drivers/md/dm-zero.o
LD drivers/media/common/tuners/built-in.o
LD drivers/media/common/built-in.o
LD drivers/media/video/built-in.o
LD drivers/media/built-in.o
LD drivers/message/built-in.o
LD drivers/message/i2o/built-in.o
CC [M] drivers/message/i2o/config-osm.o
CC [M] drivers/message/i2o/iop.o
CC [M] drivers/message/i2o/driver.o
==================================================================================================== =====================================================================
CC [M] arch/x86/oprofile/nmi_timer_int.o
LD [M] arch/x86/oprofile/oprofile.o
CC net/socket.o
CC net/802/fc.o
CC net/802/fddi.o
LD net/802/built-in.o
CC [M] net/802/p8022.o
CC [M] net/802/psnap.o
CC [M] net/802/p8023.o
CC [M] net/802/stp.o
CC net/8021q/vlan_core.o
LD net/8021q/built-in.o
CC [M] net/8021q/vlan.o
CC [M] net/8021q/vlan_dev.o
CC [M] net/8021q/vlan_netlink.o
CC [M] net/8021q/vlanproc.o
LD [M] net/8021q/8021q.o
LD net/appletalk/built-in.o
CC [M] net/appletalk/aarp.o
CC [M] net/appletalk/ddp.o
CC [M] net/appletalk/dev.o
CC [M] net/appletalk/atalk_proc.o
CC [M] net/appletalk/sysctl_net_atalk.o
LD [M] net/appletalk/appletalk.o
LD net/atm/built-in.o
CC [M] net/atm/addr.o
CC [M] net/atm/pvc.o
CC [M] net/atm/signaling.o
CC [M] net/atm/svc.o
CC [M] net/atm/ioctl.o
CC [M] net/atm/common.o
CC [M] net/atm/atm_misc.o
CC [M] net/atm/raw.o
CC [M] net/atm/resources.o
CC [M] net/atm/atm_sysfs.o
CC [M] net/atm/proc.o
CC [M] net/atm/mpc.o
CC [M] net/atm/mpoa_caches.o
CC [M] net/atm/mpoa_proc.o
LD [M] net/atm/atm.o
CC [M] net/atm/clip.o
CC [M] net/atm/br2684.o
CC [M] net/atm/lec.o
LD [M] net/atm/mpoa.o
CC [M] net/atm/pppoatm.o
LD net/ax25/built-in.o
CC [M] net/ax25/ax25_addr.o
CC [M] net/ax25/ax25_dev.o
CC [M] net/ax25/ax25_iface.o
CC [M] net/ax25/ax25_in.o
CC [M] net/ax25/ax25_ip.o
CC [M] net/ax25/ax25_out.o
CC [M] net/ax25/ax25_route.o
CC [M] net/ax25/ax25_std_in.o
CC [M] net/ax25/ax25_std_subr.o
CC [M] net/ax25/ax25_std_timer.o
CC [M] net/ax25/ax25_subr.o
CC [M] net/ax25/ax25_timer.o
CC [M] net/ax25/ax25_uid.o
CC [M] net/ax25/af_ax25.o
CC [M] net/ax25/ax25_ds_in.o
CC [M] net/ax25/ax25_ds_subr.o
CC [M] net/ax25/ax25_ds_timer.o
CC [M] net/ax25/sysctl_net_ax25.o
LD [M] net/ax25/ax25.o
LD net/bluetooth/built-in.o
CC [M] net/bluetooth/af_bluetooth.o
CC [M] net/bluetooth/hci_core.o
CC [M] net/bluetooth/hci_conn.o
CC [M] net/bluetooth/hci_event.o
CC [M] net/bluetooth/hci_sock.o
CC [M] net/bluetooth/hci_sysfs.o
CC [M] net/bluetooth/lib.o
LD [M] net/bluetooth/bluetooth.o
CC [M] net/bluetooth/l2cap.o
CC [M] net/bluetooth/sco.o
LD net/bluetooth/bnep/built-in.o
CC [M] net/bluetooth/bnep/core.o
CC [M] net/bluetooth/bnep/sock.o
CC [M] net/bluetooth/bnep/netdev.o
LD [M] net/bluetooth/bnep/bnep.o
LD net/bluetooth/hidp/built-in.o
CC [M] net/bluetooth/hidp/core.o
CC [M] net/bluetooth/hidp/sock.o
LD [M] net/bluetooth/hidp/hidp.o
LD net/bluetooth/rfcomm/built-in.o
CC [M] net/bluetooth/rfcomm/core.o
CC [M] net/bluetooth/rfcomm/sock.o
CC [M] net/bluetooth/rfcomm/tty.o
LD [M] net/bluetooth/rfcomm/rfcomm.o
LD net/bridge/built-in.o
CC [M] net/bridge/br.o
CC [M] net/bridge/br_device.o
CC [M] net/bridge/br_fdb.o
CC [M] net/bridge/br_forward.o
CC [M] net/bridge/br_if.o
CC [M] net/bridge/br_input.o
CC [M] net/bridge/br_ioctl.o
CC [M] net/bridge/br_notify.o
CC [M] net/bridge/br_stp.o
CC [M] net/bridge/br_stp_bpdu.o
CC [M] net/bridge/br_stp_if.o
CC [M] net/bridge/br_stp_timer.o
CC [M] net/bridge/br_netlink.o
CC [M] net/bridge/br_sysfs_if.o
CC [M] net/bridge/br_sysfs_br.o
CC [M] net/bridge/br_netfilter.o
LD [M] net/bridge/bridge.o
LD net/bridge/netfilter/built-in.o
CC [M] net/bridge/netfilter/ebtables.o
CC [M] net/bridge/netfilter/ebtable_broute.o
CC [M] net/bridge/netfilter/ebtable_filter.o
CC [M] net/bridge/netfilter/ebtable_nat.o
CC [M] net/bridge/netfilter/ebt_802_3.o
CC [M] net/bridge/netfilter/ebt_among.o
CC [M] net/bridge/netfilter/ebt_arp.o
CC [M] net/bridge/netfilter/ebt_ip.o
CC [M] net/bridge/netfilter/ebt_limit.o
CC [M] net/bridge/netfilter/ebt_mark_m.o
CC [M] net/bridge/netfilter/ebt_pkttype.o
CC [M] net/bridge/netfilter/ebt_stp.o
CC [M] net/bridge/netfilter/ebt_vlan.o
CC [M] net/bridge/netfilter/ebt_arpreply.o
CC [M] net/bridge/netfilter/ebt_mark.o
CC [M] net/bridge/netfilter/ebt_dnat.o
CC [M] net/bridge/netfilter/ebt_redirect.o
CC [M] net/bridge/netfilter/ebt_snat.o
CC [M] net/bridge/netfilter/ebt_log.o
CC [M] net/bridge/netfilter/ebt_ulog.o
CC net/core/sock.o
CC net/core/request_sock.o
CC net/core/skbuff.o
CC net/core/iovec.o
CC net/core/datagram.o
CC net/core/stream.o
CC net/core/scm.o
CC net/core/gen_stats.o
CC net/core/gen_estimator.o
CC net/core/net_namespace.o
CC net/core/sysctl_net_core.o
CC net/core/skb_dma_map.o
CC net/core/dev.o
CC net/core/ethtool.o
CC net/core/dev_mcast.o
CC net/core/dst.o
CC net/core/netevent.o
CC net/core/neighbour.o
CC net/core/rtnetlink.o
CC net/core/utils.o
CC net/core/link_watch.o
CC net/core/filter.o
CC net/core/flow.o
CC net/core/net-sysfs.o
CC net/core/netpoll.o
CC net/core/fib_rules.o
CC net/core/net-traces.o
LD net/core/built-in.o
CC [M] net/core/pktgen.o
LD net/decnet/netfilter/built-in.o
CC [M] net/decnet/netfilter/dn_rtmsg.o
LD net/decnet/built-in.o
CC [M] net/decnet/af_decnet.o
CC [M] net/decnet/dn_nsp_in.o
CC [M] net/decnet/dn_nsp_out.o
CC [M] net/decnet/dn_route.o
CC [M] net/decnet/dn_dev.o
CC [M] net/decnet/dn_neigh.o
CC [M] net/decnet/dn_timer.o
CC [M] net/decnet/sysctl_net_decnet.o
LD [M] net/decnet/decnet.o
LD net/econet/built-in.o
CC [M] net/econet/af_econet.o
LD [M] net/econet/econet.o
CC net/ethernet/eth.o net/ethernet/eth.c:402: warning: `print_mac' is deprecated (declared at net/ethernet/eth.c:398)
net/ethernet/eth.c:402: warning: `print_mac' is deprecated (declared at net/ethernet/eth.c:398) CC net/ethernet/pe2.o
LD net/ethernet/built-in.o
LD net/ieee802154/built-in.o
CC net/ipv4/route.o
CC net/ipv4/inetpeer.o
CC net/ipv4/protocol.o
CC net/ipv4/ip_input.o
CC net/ipv4/ip_fragment.o
CC net/ipv4/ip_forward.o
CC net/ipv4/ip_options.o
CC net/ipv4/ip_output.o
CC net/ipv4/ip_sockglue.o
CC net/ipv4/inet_hashtables.o
CC net/ipv4/inet_timewait_sock.o
CC net/ipv4/inet_connection_sock.o
CC net/ipv4/tcp.o
CC net/ipv4/tcp_input.o
CC net/ipv4/tcp_output.o
CC net/ipv4/tcp_timer.o
CC net/ipv4/tcp_ipv4.o
CC net/ipv4/tcp_minisocks.o
CC net/ipv4/tcp_cong.o
CC net/ipv4/datagram.o
CC net/ipv4/raw.o
CC net/ipv4/udp.o
CC net/ipv4/udplite.o
CC net/ipv4/arp.o
CC net/ipv4/icmp.o
CC net/ipv4/devinet.o
CC net/ipv4/af_inet.o
CC net/ipv4/igmp.o
CC net/ipv4/fib_frontend.o
CC net/ipv4/fib_semantics.o
CC net/ipv4/inet_fragment.o
CC net/ipv4/sysctl_net_ipv4.o
CC net/ipv4/fib_hash.o
CC net/ipv4/proc.o
CC net/ipv4/fib_rules.o
CC net/ipv4/ipmr.o
CC net/ipv4/syncookies.o
CC net/ipv4/xfrm4_mode_beet.o
CC net/ipv4/inet_lro.o
CC net/ipv4/xfrm4_mode_transport.o
CC net/ipv4/xfrm4_mode_tunnel.o
CC net/ipv4/netfilter.o
LD net/ipv4/netfilter/built-in.o
CC [M] net/ipv4/netfilter/ip_tables.o
==================================================================================================== ======================================================================
Your warnings look like attempting to compile old code with a new compiler.
Open the two files and edit them so the line indicated no longer triggers the warning.
It should still compile though. What's the problem?
If you are going to make a new kernel, why not get the latest stable one - 2.6.34? http://www.kernel.org/
You probably shouldn't be using mandrake linux at all - especially not for a server.
Its a bit old - hand-maintaining it must be a pain!
Select a server distro instead.
I am trying to install a new stable kernel-linux-2.6.34 on a machine Linux localhost 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz unknown GNU/Linux but i keep getting the following Install error:
Here are the commands I executed: make clean
make
make modules_install
With the above commands I did not encounter any errors, but when I used the make install command I got the following statements.
INSTALL /lib/firmware/mts_edge.fw
INSTALL /lib/firmware/edgeport/boot.fw
INSTALL /lib/firmware/edgeport/boot2.fw
INSTALL /lib/firmware/edgeport/down.fw
INSTALL /lib/firmware/edgeport/down2.fw
INSTALL /lib/firmware/edgeport/down3.bin
INSTALL /lib/firmware/keyspan_pda/keyspan_pda.fw
INSTALL /lib/firmware/keyspan_pda/xircom_pgs.fw
INSTALL /lib/firmware/yam/1200.bin
INSTALL /lib/firmware/yam/9600.bin
DEPMOD 2.6.34
[root@localhost linux-2.6.34]# make install
sh /home/server/linux-2.6.34/arch/x86/boot/install.sh 2.6.34 arch/x86/boot/bzImage \
System.map "/boot"
Looking for deps of module ata_piix
No module ata_piix found for kernel 2.6.34, aborting.
mkinitrd failed:
(mkinitrd -v -f /boot/initrd-2.6.34.img --ifneeded 2.6.34)) at /usr/lib/libDrakX/bootloader.pm line 121.
make[1]: *** [install] Error 2
make: *** [install] Error 2
[root@localhost linux-2.6.34]#
Can anyone pliz help me solve the problem and tell me where should I go next.
I have decided to download the latest stable kernel -linux-2.6.34.
I managed to compile it with the warnings which I ignored with make command
then I used make install_modules
But I encontered an error when I tried to execute the command make
Note that I didnot change directory once I was in the folder {linux-2.6.34} as root
INSTALL /lib/firmware/mts_edge.fw
INSTALL /lib/firmware/edgeport/boot.fw
INSTALL /lib/firmware/edgeport/boot2.fw
INSTALL /lib/firmware/edgeport/down.fw
INSTALL /lib/firmware/edgeport/down2.fw
INSTALL /lib/firmware/edgeport/down3.bin
INSTALL /lib/firmware/keyspan_pda/keyspan_pda.fw
INSTALL /lib/firmware/keyspan_pda/xircom_pgs.fw
INSTALL /lib/firmware/yam/1200.bin
INSTALL /lib/firmware/yam/9600.bin
DEPMOD 2.6.34
[root@localhost linux-2.6.34]# make install
sh /home/server/linux-2.6.34/arch/x86/boot/install.sh 2.6.34 arch/x86/boot/bzImage \
System.map "/boot"
Looking for deps of module ata_piix
No module ata_piix found for kernel 2.6.34, aborting.
mkinitrd failed:
(mkinitrd -v -f /boot/initrd-2.6.34.img --ifneeded 2.6.34)) at /usr/lib/libDrakX/bootloader.pm line 121.
make[1]: *** [install] Error 2
make: *** [install] Error 2
[root@localhost linux-2.6.34]#
Can anyone pliz help me solve the problem and where should I go next
the mkintrd program is looking for a kernel version starting with. vmlinuz-2.6.34-desktop-1mnb.
please read the link above.
you need to use the mandriva config
or you will not get an initrd but only this.
(mkinitrd -v -f /boot/initrd-2.6.34.img --ifneeded 2.6.34)) at /usr/lib/libDrakX/bootloader.pm line 121
I followed the steps in the How to Compile A kernel- The Mandriva Way that linked me to, on my Linux localhost 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Intel(R) Core(TM)2 Duo CPU
E7400 @ 2.80GHz unknown GNU/Linux.
I did all the steps up until I encountered the following error:
when I executed the make command
[root@localhost linux]# make rpm
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make clean
set -e; cd ..; ln -sf /usr/src/linux-2.6.34 kernel-2.6.34default
/bin/sh /usr/src/linux-2.6.34/scripts/setlocalversion > /usr/src/linux-2.6.34/.scmversion
set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git -f kernel-2.6.34default.tar.gz kernel-2.6.34default/.
set -e; cd ..; rm kernel-2.6.34default
rm -f /usr/src/linux-2.6.34/.scmversion
set -e; \
/bin/sh /usr/src/linux-2.6.34/scripts/mkversion > /usr/src/linux-2.6.34/.tmp_version
set -e; \
mv -f /usr/src/linux-2.6.34/.tmp_version /usr/src/linux-2.6.34/.version
rpm --target i386 -ta ../kernel-2.6.34default.tar.gz
/usr/lib/rpm/rpmb: No such file or directory
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
[root@localhost linux]#
It also helps to reply in the correct thread. You put your response in your old thread on a related subject.
Quote:
I followed the steps in the How to Compile A kernel- The Mandriva Way that linked me to, on my Linux localhost 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Intel(R) Core(TM)2 Duo CPU
E7400 @ 2.80GHz unknown GNU/Linux.
I did all the steps up until I encountered the following error:
when I executed the make command
[root@localhost linux]# make rpm
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make clean
set -e; cd ..; ln -sf /usr/src/linux-2.6.34 kernel-2.6.34default
/bin/sh /usr/src/linux-2.6.34/scripts/setlocalversion > /usr/src/linux-2.6.34/.scmversion
set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git -f kernel-2.6.34default.tar.gz kernel-2.6.34default/.
set -e; cd ..; rm kernel-2.6.34default
rm -f /usr/src/linux-2.6.34/.scmversion
set -e; \
/bin/sh /usr/src/linux-2.6.34/scripts/mkversion > /usr/src/linux-2.6.34/.tmp_version
set -e; \
mv -f /usr/src/linux-2.6.34/.tmp_version /usr/src/linux-2.6.34/.version
rpm --target i386 -ta ../kernel-2.6.34default.tar.gz
/usr/lib/rpm/rpmb: No such file or directory
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
[root@localhost linux]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.