LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-12-2010, 08:37 AM   #1
mlandvo
LQ Newbie
 
Registered: Jun 2010
Posts: 19

Rep: Reputation: 0
Question 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
==================================================================================================== ======================================================================
 
Old 06-12-2010, 10:30 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Those are just warnings not fatal errors. Where's the problem?
 
Old 06-12-2010, 10:39 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.

eg.
print_mac() et al. is deprecated, you can simply use the printf format specifier "%pM" to print MAC addresses directly.
http://kerneltrap.org/mailarchive/li...9/5/18/5727673

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.
 
Old 06-22-2010, 10:18 AM   #4
mlandvo
LQ Newbie
 
Registered: Jun 2010
Posts: 19

Original Poster
Rep: Reputation: 0
Kernel Install Error for linux-2.6.34

Hi everyone

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.

Thank you in advance

dollardima
 
Old 06-22-2010, 10:34 AM   #5
mlandvo
LQ Newbie
 
Registered: Jun 2010
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the responce to my question.

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

dollardima
 
Old 06-22-2010, 03:06 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
what the problem it did not mkinitrd that is a Mandrivia only question. this tells me you did not use the oldconfig.
Mandriva way 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

Last edited by Drakeo; 06-23-2010 at 08:24 AM.
 
Old 06-24-2010, 07:23 AM   #7
mlandvo
LQ Newbie
 
Registered: Jun 2010
Posts: 19

Original Poster
Rep: Reputation: 0
Post Kernel Make Error -linux-2.6.34

Hi

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]#

I am getting confused.

May someone pliz help

Thanks
 
Old 06-27-2010, 08:49 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
This thread is continued elsewhere.
http://www.linuxquestions.org/questi...6-34-a-815682/
 
Old 06-27-2010, 08:58 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
To help understand, see:
http://www.linuxquestions.org/questi...roblem-195575/
... you do need the proper .config

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]#

I am getting confused.
su -c "/usr/sbin/urpmi rpm-build"
 
Old 07-19-2010, 03:24 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Merged two closely-related threads----One thread per topic, please.

And moved to Kernel

Last edited by pixellany; 07-19-2010 at 03:35 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS: trying to compile cisco wccp module but getting kernel source errors joker20 Red Hat 1 07-03-2009 06:22 AM
LXer: Compile source code - and solve problems LXer Syndicated Linux News 0 03-14-2009 07:11 PM
can anyone please solve redhat kernel errors kafnir Linux - Software 1 04-09-2006 09:40 AM
Problems to compile the latest stable version of kernel (2.6.15.4) stomach Linux - General 3 02-24-2006 07:57 PM
Errors Trying To Compile Source of XMMS...:( JasonSmedvik Mandriva 5 10-28-2004 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration