[Tfug] Another question
Leo Przybylski
tfug@tfug.org
Thu Jan 30 14:46:01 2003
Scott,
Sorry, I didn't know that the kernel you were trying to install was
2.4.20. I thought it was 2.4.18. I don't know why. There is an AA patch
for every revision. You can also get an AA patch for 2.4.20. It's not a
patch between versions. I suppose some things in the 2.4.18aa patch may
have been folded into 2.4.20, but not everything.
Also, as you make changes to your 2.4.18 kernel, you will find there are
dependencies in the code you will need to recover. This does not mean
that in the end you will have a 2.4.20 kernel. It does mean that you are
going to work backwards a long and frustrating road without being able
to turn your head around to see if you haven't made a wrong turn.
First of all, devlist.h is in drivers/pci. Second, I think you might
want to try these other mailing lists as well as tfug@tfug.org:
http://vger.kernel.org/majordomo-info.html#subscription (VGER!)
http://gcc.gnu.org/ml/gcc-help/
Also, could you document some relavent details about your machine such as:
* compiler you are using (including version) (if you're using gcc, `gcc
-v` output is sufficient).
* libc version
* any patches you are using with you're existing kernel.
* any patches you want to use with your upgrade kernel.
* version of your existing kernel
* version of your upgrade kernel
* The full output of the error including the last command issued by make
while compiling the kernel. (Note: should look something like:
"gcc -D__KERNEL__ -I/usr/src/linux-2.4-xfs/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-DUTS_MACHINE='"i386"' -DKBUILD_BASENAME=version -c -o init/version.o
init/version.c"
I realize, some of this you've already said. I am hoping you will
consolidate the information for myself or anyone else that comes across
the thread in the future.
Thanks,
-Leo Przybylski
scott wrote:
> Hello all,
>
> Again I am trying to compile this kernel 2.4.20 and I appreciate the
> advice I have received. I am now in the process of slogging through
> the code making corrections. What I am doing is pulling up the 2.4.18
> kernel and comparing the files to where my bzImage is flagging that I
> am having an error message. Then I am rewriting the 2.4.20 kernel to
> match the 2.4.18 kernel. Since I have no idea as to what the code has
> to do with, I am doing this blind. So I am getting farther and
> farther along until I get this error message:
>
> devlist.h:6956: __devices_feda causes a section type conflict
> devlist.h:6959: __devices_fffe causes a section type conflict
> devlist.h:6963: __devices_ffff causes a section type conflict
> In file included from names.c:50:
> devlist.h:1279:32: warning: trigraph ??) ignored
> devlist.h:6369:24: warning: trigraph ??) ignored
> make[3]: *** [names.o] Error 1
> make[3]: Leaving directory `/home/scott/junk/linux/linux/drivers/pci'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/home/scott/junk/linux/linux/drivers/pci'
> make[1]: *** [_subdir_pci] Error 2
> make[1]: Leaving directory `/home/scott/junk/linux/linux/drivers'
> make: *** [_dir_drivers] Error 2
>
>
> NOW, my problem is that there is no file called devlist.h that I can
> find in the /include/asm directory. My other question is; is this
> the correct way to fix this? Or am I slowly going to convert one
> kernel to another? One other question for Leo, you advised me to get
> an AA patch. This patch is labelled for teh 2.4.18 kernel. Wouldn't
> this patch have been folded into the 2.4.2 kernel when it was
> 'upgraded'?
> thanks for all your advise.
>
> Scott
>
>
>
>
>
> _______________________________________________
> tfug mailing list
> tfug@tfug.org
> http://www.tfug.org/mailman/listinfo/tfug