can't use printk in linux 2.4.2 module

2001-04-15 Thread vivid_liou
Dear All : I wrote a small module to print "hello world " . when I comiple it under kernel 2.2 , everything works fine. the output " printk unsolve " appear under 2.4.2 . with kernel 2.2. , I can find "printk " in the /proc/ksyms , but with kernel 2.4.2 , only "printk_Rsmp" symbol . Does anyon

how to compile multiplication and division operations not supported by CPU

2001-04-14 Thread vivid_liou
Dear All : this question suppose not posted in the mailing list,since I have been posted it on GNU compiler mailing list , and get no reponse. I posted it here to get your help . We licence MIPS CPU without MAC (the module support multiplication and division functions). For the convenience sa

why can't include /sys/types and /linux/fs.h in the same file

2001-04-14 Thread vivid_liou
Dear All: I wrote a very small program as following : #include #include int main () { ; // contains no C programs, } and give the command " cc -D__KERNEL__ -I/usr/src/linux/include to compiler the program . A lot of parser error messages show on the screen . Does anybody know why ? - To u

compile error when including /kernel/fs.h

2001-04-13 Thread vivid_liou
Hi, All I am tring to read a device driver . at first everyting is fine, when I include , a series parse error appears. error disappear because of header files of linux, Does anyone meet the same question , or know how to solve it ? Thanks a lot - To unsubscribe from this list: send the line