[mpls-linux-general] Problems when building kernel modules for linux-2.6.8-1.521mpls_1_938a
Status: Beta
Brought to you by:
jleu
|
From: Birger <bto...@ex...> - 2004-10-13 13:45:31
|
Hi, I have difficulties building the kernel, be it from source RPM or when patching a vanilla 2.6.8 kernel. On a recent Gentoo system (gcc-3.4.2) and on a Mandrake 10 system (gcc-3.3.2) when compiling the modules I get [...] CC [M] net/mpls/mpls_tunnel.o CC [M] net/mpls/af_mpls.o CC [M] net/mpls/mpls_if.o CC [M] net/mpls/mpls_ilm.o CC [M] net/mpls/mpls_init.o CC [M] net/mpls/mpls_input.o CC [M] net/mpls/mpls_ioctls.o CC [M] net/mpls/mpls_opcode.o CC [M] net/mpls/mpls_nhlfe.o CC [M] net/mpls/mpls_output.o CC [M] net/mpls/mpls_utils.o CC [M] net/mpls/mpls_dst.o CC [M] net/mpls/mpls_netlink.o CC [M] net/mpls/mpls_proto.o CC [M] net/mpls/mpls_sysfs.o CC [M] net/mpls/mpls_instr.o CC [M] net/mpls/mpls_proc.o CC [M] net/mpls/mpls_proc_impl.o LD [M] net/mpls/mpls.o net/mpls/mpls_netlink.o(.init.text+0x0): In function `init_module': : multiple definition of `init_module' net/mpls/mpls_init.o(.init.text+0x0): first defined here ld: Warning: size of symbol `init_module' changed from 262 in net/mpls/mpls_init.o to 17 in net/mpls/mpls_netlink.o net/mpls/mpls_netlink.o(.exit.text+0x0): In function `cleanup_module': : multiple definition of `cleanup_module' net/mpls/mpls_init.o(.exit.text+0x0): first defined here ld: Warning: size of symbol `cleanup_module' changed from 141 in net/mpls/mpls_init.o to 15 in net/mpls/mpls_netlink.o make[2]: *** [net/mpls/mpls.o] Error 1 make[1]: *** [net/mpls] Error 2 make: *** [net] Error 2 [...] Any spontaneous idea what went wrong here? When I try to build MPLS statically into a kernel image, I also get linker errors (skipped for now). Regards, --=20 Birger T=F6dtmann Technik der Rechnernetze, Institut f=FCr Experimentelle Mathematik und In= stitut=20 f=FCr Informatik und Wirtschaftsinformatik, Universit=E4t Duisburg-Essen,= Campus Essen email:bto...@ex... skype:birger.toedtmann pgp:0x6FB16= 6C9=20 |