Hi folks !
i have the same problem compiling a driver for the Bewan PCI ST adsl modem.
They say in the README file to do a make and make install in the directory /usr/src/unicorn/unicorn_atm and /usr/src/unicorn/unicorn_bus
When i do the make commend, here is Gcc's reply:
gcc -DVERS=0 -O2 -fno-exceptions -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -D__KERNEL__ -DMODULE -DLINUX -D_ATM_DRIVER -DDEBUG=1 -I/usr/src/linux/include -I../include/ -I../ -c -o unicorn_atmdrv.o unicorn_atmdrv.c
unicorn_atmdrv.c:12: linux/modversions.h: No such file or directory....
the reason is that there is NO file named modversions.h....neither in an another directory....
I've just read this post locating at : http://www.ussg.iu.edu/hypermail/lin...05.0/0939.html
" If your kernel was built with CONFIG_MODVERSIONS=y then add these
flags to the build for this module
-DMODVERSIONS -include kernel_source_tree/linux/modversions.h
In any case, modversions.h will disappear in kbuild 2.5. "
But in which file does "DMODVERSION..." must be write ?
somebody have a solution ?
PS: i m running Debian 2.6.0 and it is running fine !