Start by not building MPLS or MPLS tunnels as modules. What errors
do you get when building statically?
On Wed, Oct 13, 2004 at 03:44:05PM +0200, Birger T?dtmann wrote:
>
> 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,
> --
> Birger T?dtmann
> Technik der Rechnernetze, Institut f?r Experimentelle Mathematik und Institut
> f?r Informatik und Wirtschaftsinformatik, Universit?t Duisburg-Essen, Campus Essen
> email:bto...@ex... skype:birger.toedtmann pgp:0x6FB166C9
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|