Hi Steve,

Steve Witt wrote:
I'm compiling the latest uClinux-dist-20070130 for an IXDP425 using IXP400 Access Library 2.1.1. I've run into a couple of issues and need some advice.

- There are a couple of places in the Access Library source that reference <linux/config.h>, which is gone in the 2.6.19 kernel in this uClinux-dist. No problem, removing these seems fine as this file didn't have anything in it (recently) anyway. I could submit a patch to eliminate these if it was useful, but it seems that this would be kernel-specific as <linux/config.h> is present in the 2.4 and 2.0 kernel sources.

Thats right. I have a fix in my development tree that keeps it
working across all kernel versions already. (I just haven't released
a new snapgear modules patch for it yet).


- The 'uts_name' stuff has changed in 2.6.19, which also necessitates a minor mod to the Access Library code. The thing I don't know how to handle correctly is that the new variable 'init_uts_ns' (in linux-2.6.x/init/version.c) is exported as EXPORT_SYMBOL_GPL, which as I've learned, means that a non-GPL module can't link to the symbol. So the ixp400.ko module has an 'unknown symbol' error when it is loaded. This could be easily fixed, but not correctly or (dare I say) legally. So what's the best way to solve this problem?

I don't recall hitting this. What did you have to change in the
AccessLibrary code for this?


[I really wish that Intel would just give up on this whole access library thing.]

Indeed :-)

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to