Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHello,
I solved the problem in part, I guess (though there are still some errors). Following is what I did: a. Edited "Makefile" in the kernel source directory (/usr/src/ linux-2.4.21-50.EL.asp/) and changed the line 4 from EXTRAVERSION = 50.EL.aspcustom to EXTRAVERSION = 50.EL b. Above didn't help. I also changed the UTS_RELEASE in /usr/src/ linux-2.4/include/linux/version.h to match the output of "uname -r" on the command line (it was 2.4.21-50.EL). c. After this, I did 'make clean' and installed from scratch. Now 'make install' didn't yield any version mismatch. But it now gave following errors: [root@c109-02a byteblaster]# make install install -d /lib/modules/2.4.21-50.EL/kernel/misc/ install -c byteblaster.o /lib/modules/2.4.21-50.EL/kernel/misc/ byteblaster.o install -c jtagd-init /etc/rc.d/init.d/jtagd /sbin/chkconfig --add jtagd /sbin/depmod -aq /etc/rc.d/init.d/jtagd start Starting ByteBlaster driver: /lib/modules/2.4.21-50.EL/kernel/misc/ byteblaster.o : unresolved symbol register_chrdev_Racfca4b4 /lib/modules/2.4.21-50.EL/kernel/misc/byteblaster.o: insmod /lib/ modules/2.4.21- 50.EL/kernel/misc/byteblaster.o failed /lib/modules/2.4.21-50.EL/kernel/misc/byteblaster.o: insmod byteblaster failed mknod: wrong number of arguments Try `mknod --help' for more information. mknod: wrong number of arguments Try `mknod --help' for more information. mknod: wrong number of arguments Try `mknod --help' for more information. Any help would be greatly appreciated. Kumar Vijay Mishra.