LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Building kernel 2.6 test 7 on Fedora (RedHat) probs (https://www.linuxquestions.org/questions/linux-software-2/building-kernel-2-6-test-7-on-fedora-redhat-probs-106305/)

Jefklak 10-20-2003 10:57 AM

Building kernel 2.6 test 7 on Fedora (RedHat) probs
 
Hello all,

I'm trying to install the new kernel 2.6 test 7 for fun. Downloaded it at kernel.org and untarred. No probs at all, running make clean/mrproper and xconfig. No probs. Running make bzImage, 100% done. Running make modules >> error:

Quote:

drivers/char/istallion.c: In function `istallion_module_exit':
drivers/char/istallion.c:850: let op: te weinig argumenten voor formaat
CC [M] drivers/char/epca.o
drivers/char/epca.c: In function `do_softint':
drivers/char/epca.c:3316: let op: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:494)
CC [M] drivers/char/specialix.o
drivers/char/specialix.c: In function `sx_check_io_range':
drivers/char/specialix.c:289: let op: `check_region' is deprecated (declared at include/linux/ioport.h:117)
CC [M] drivers/char/moxa.o
CC [M] drivers/char/mxser.o
CC [M] drivers/char/ip2.o
CC [M] drivers/char/ip2main.o
drivers/char/ip2/i2cmd.c:142: let op: `ct89' defined but not used
CC [M] drivers/char/riscom8.o
CC [M] drivers/char/isicom.o
drivers/char/isicom.c: In function `ISILoad_ioctl':
drivers/char/isicom.c:155: let op: een cast ontbreekt bij vergelijking van ongelijke pointer-types
drivers/char/isicom.c:160: let op: een cast ontbreekt bij vergelijking van ongelijke pointer-types
drivers/char/isicom.c: In function `unregister_drivers':
drivers/char/isicom.c:1677: let op: `error' might be used uninitialized in this function
CC [M] drivers/char/synclink.o
CC [M] drivers/char/n_hdlc.o
CC [M] drivers/char/sx.o
drivers/char/sx.c: In function `sx_open':
drivers/char/sx.c:1422: error: structure has no member named `tty'
make[2]: *** [drivers/char/sx.o] Fout 1
make[1]: *** [drivers/char] Fout 2
make: *** [drivers] Fout 2
I installed the Dutch version of Fedora 0.95 (its based on RedHat, so it doesn't matter much). But I'm actually a newb im trying to lean how to compile the kernel. I'm struck at this make error ("Fout" is dutch for "Error" :)) Could anybody please help?
What if I continue to build and enter "make modules_install" and copy the bzImage? Does it work or will I have to wait until the make modules error is fixed??

How can I solve this "structure has no member named 'tty'" problem?
Thanks a lot folks!!!



Regards
Wouter
MOD: it looks like i'm not the only one...
http://www.ussg.iu.edu/hypermail/lin...10.1/0176.html

speedbump 10-20-2003 04:55 PM

Same problem drove me nuts while upgrading stock RH9 2.4.20-20.9 kernel to 2.6.0-test7.

There are a few pages that give decent instructions.... look here:

http://www.fearthecow.net/index.pl?s...st&page=kernel
and (an excellent article)
http://kerneltrap.org/node/view/799

The thing that tripped me up was "module-init-tools", get the latest version at:
http://www.kernel.org/pub/linux/kern...rusty/modules/
(the readme has full install instructions)

By no means am I an expert, I just happened to have had the same problem as you. Hopefully I've helped...

READ EVERYTHING you can get your hands on before doing this upgrade... It ain't called a "test" for nothing.


All times are GMT -5. The time now is 07:52 AM.