Summary of outstanding LiS 2.16.8 compilation problems
under Debian GNU/Linux 3.0r1 (Sparc) w/ 2.2.20 kernel:
1. cannot compile 'head/linux/exports.c' due to
undefined 'lis_pcibios_*' symbols
2. cannot compile 'drivers/str/linux/ip_to_dlpi.c'
due to undefined 'net_device' struct
My
problems related to missing 'modversions.h' file seem to be caused by incomplete
2.2.20 kernel source installation procedures (My mistake!). If I execute the
following steps, this file gets created under 'linux/include/linux' dir
properly.
+ cd
/usr/src/linux (where 2.2.20 kernel source is located at)
+
make mrproper; make oldconfig; make dep
I can
workaround my 1st problem by commenting out all 'lis_pcibios_*' symbols in
'exports.c' file so that I can compile. Perhaps, this will cause problems at
installation time but I'm not there yet so I'm not gonna
worry.
As
far as my 2nd problem is concerned, I see that 'net_device' data struct exists
under 2.4.20 kernel but not under 2.2.20 which is what Debian 3.0r1 has been
built upon. Does that mean I won't be able to compile LiS 2.16.8 under 2.2.20?
If that's the case, do I have any alternatives (e.g., compiling against a more
recent kernel)?
Any
suggestions? Thanks in advance...
