Thread: [mpls-linux-general] Compile error on IXP425
Status: Beta
Brought to you by:
jleu
|
From: Jiun-Shian H. <as...@sy...> - 2005-01-28 09:31:29
Attachments:
make.log
|
Hi,
I try to compile mpls-linux 1.946a on IXP425 platform,
but I encounter errors as attach file.
Can anyone give some hints ?
Thanks. |
|
From: James R. L. <jl...@mi...> - 2005-01-28 19:16:45
|
Make sure to compile MPLS static into the kernel. The module work is not complete yet. On Fri, Jan 28, 2005 at 05:31:13PM +0800, Jiun-Shian Ho wrote: > Hi, > I try to compile mpls-linux 1.946a on IXP425 platform, > but I encounter errors as attach file. > Can anyone give some hints ? >=20 > Thanks. --=20 James R. Leu jl...@mi... |
|
From: Jiun-Shian H. <as...@sy...> - 2005-01-31 02:24:07
|
Yes,
I compiled with configuration like
Device Drivers --->
Networking support --->
Networking options --->
<*> Multiprotocol Label Switching
...
<*> IP: MPLS support
...
<*> IPv6: MPLS support
...
Network packet filtering (replaces ipchains) --->
IP: Netfilter Configuration --->
<*> spec_nh target support
IPv6: Netfilter Configuration --->
<*> IP6 tables support (required for filtering/masq/NAT)
...
<*> spec_nh target support
----- Original Message -----
From: "James R. Leu" <jl...@mi...>
To: "Jiun-Shian Ho" <as...@sy...>
Cc: <mpl...@li...>
Sent: Saturday, January 29, 2005 1:17 AM
Subject: Re: [mpls-linux-general] Compile error on IXP425
|
|
From: James R. L. <jl...@mi...> - 2005-01-31 04:20:29
|
Did you apply the patch? If so check for rejects: find /usr/src/linux -name '*.rej' Can you include the failures again? On Mon, Jan 31, 2005 at 10:22:00AM +0800, Jiun-Shian Ho wrote: > Yes,=20 > I compiled with configuration like=20 >=20 > Device Drivers ---> > Networking support ---> > Networking options ---> > <*> Multiprotocol Label Switching > ... > <*> IP: MPLS support > ... > <*> IPv6: MPLS support > ... > Network packet filtering (replaces ipchains) ---> > IP: Netfilter Configuration ---> > <*> spec_nh target support > IPv6: Netfilter Configuration ---> > <*> IP6 tables support (required for filtering/masq/NAT) > ... > <*> spec_nh target support >=20 >=20 >=20 > ----- Original Message -----=20 > From: "James R. Leu" <jl...@mi...> > To: "Jiun-Shian Ho" <as...@sy...> > Cc: <mpl...@li...> > Sent: Saturday, January 29, 2005 1:17 AM > Subject: Re: [mpls-linux-general] Compile error on IXP425 >=20 >=20 --=20 James R. Leu jl...@mi... |
|
From: Jiun-Shian Ho <jiu...@gm...> - 2005-01-31 04:39:30
Attachments:
make_V.log
mpls_config
|
The kernel patch file is from mpls-linux-1.946a.tar.bz2 and I patch it to official Linux 2.6.9 without *.rej (I also tried SRPM from sf.net, but fail, too) The attatch is the error log and my config (No IPv6) BTW The cross-toolchain is on CentOS v3.1 I'll try to re-compile kernel on FC-3 again. Thanks for your attention. ----- Original Message ----- From: "James R. Leu" <jl...@mi...> To: "Jiun-Shian Ho" <as...@sy...> Cc: <mpl...@li...> Sent: Monday, January 31, 2005 12:20 PM Subject: Re: [mpls-linux-general] Compile error on IXP425 |
|
From: James R. L. <jl...@mi...> - 2005-01-31 04:48:43
|
For some reason the ARM include files or compiler are not able to find
the 'exit' functions.
You can try a couple of things, try them one at a time on just one of the
functions and see if the error for that functions disappear.
Here is the original code in mpls_ilm.c:
void __exit mpls_ilm_exit(void)
Try changing it to:
void mpls_ilm_exit(void)
OR try adding this to the end of the file:
EXPORT_SYMBOL(mpls_ilm_exit);
On Mon, Jan 31, 2005 at 12:39:22PM +0800, Jiun-Shian Ho wrote:
> The kernel patch file is from mpls-linux-1.946a.tar.bz2
> and I patch it to official Linux 2.6.9 without *.rej
> (I also tried SRPM from sf.net, but fail, too)
> The attatch is the error log and my config (No IPv6)
>=20
> BTW
> The cross-toolchain is on CentOS v3.1
> I'll try to re-compile kernel on FC-3 again.
>=20
> Thanks for your attention.
>=20
>=20
>=20
>=20
> ----- Original Message -----=20
> From: "James R. Leu" <jl...@mi...>
> To: "Jiun-Shian Ho" <as...@sy...>
> Cc: <mpl...@li...>
> Sent: Monday, January 31, 2005 12:20 PM
> Subject: Re: [mpls-linux-general] Compile error on IXP425
>=20
--=20
James R. Leu
jl...@mi...
|
|
From: Jiun-Shian H. <as...@sy...> - 2005-01-31 05:12:09
|
Thanks, it works and I can get zImage for trying. Could you show me some references about the "reasons" that ARM include files or compilers can not to find __exit functions ?! ----- Original Message ----- From: "James R. Leu" <jl...@mi...> To: "Jiun-Shian Ho" <jiu...@gm...> Cc: <mpl...@li...> Sent: Monday, January 31, 2005 12:48 PM Subject: Re: [mpls-linux-general] Compile error on IXP425 |