من سعی کردم درایور martian مربوط به مودم های agere رو نصب کنم. به ارور زیر خوردم:
root@payamg-laptop:/home/payamg/Desktop/martian# make all
make -C kmodule/ modules
make[1]: Entering directory `/home/payamg/Desktop/martian/kmodule'
make -C /lib/modules/2.6.27-11-generic/build M="/home/payamg/Desktop/martian/kmodule" modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /home/payamg/Desktop/martian/kmodule/martian.o
/home/payamg/Desktop/martian/kmodule/martian.c: In function ‘martian_isr’:
/home/payamg/Desktop/martian/kmodule/martian.c:131: warning: value computed is not used
CC [M] /home/payamg/Desktop/martian/kmodule/marsio.o
/home/payamg/Desktop/martian/kmodule/marsio.c:359: warning: ‘mars_read_register_rem’ defined but not used
/home/payamg/Desktop/martian/kmodule/marsio.c:372: warning: ‘mars_write_register_rem’ defined but not used
CC [M] /home/payamg/Desktop/martian/kmodule/mfifo.o
LD [M] /home/payamg/Desktop/martian/kmodule/martian_dev.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/payamg/Desktop/martian/kmodule/martian_dev.mod.o
LD [M] /home/payamg/Desktop/martian/kmodule/martian_dev.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make[1]: Leaving directory `/home/payamg/Desktop/martian/kmodule'
make -C modem/ all
make[1]: Entering directory `/home/payamg/Desktop/martian/modem'
CC main.o
CC dumpers.o
CC log.o
CC session.o
CC mport.o
mport.c:8:41: error: asm/page.h: No such file or directory
mport.c: In function ‘mport_init’:
mport.c:266: error: ‘PAGE_SIZE’ undeclared (first use in this function)
mport.c:266: error: (Each undeclared identifier is reported only once
mport.c:266: error: for each function it appears in.)
mport.c:266: error: ‘PAGE_SHIFT’ undeclared (first use in this function)
make[1]: *** [mport.o] Error 1
make[1]: Leaving directory `/home/payamg/Desktop/martian/modem'
make: *** [all] Error 2
root@payamg-laptop:/home/payamg/Desktop/martian#
مشکل از چیه؟ من تا حالا نتونستم برنامه ای رو از source نصب کنم. همیشه یه اروری میده