[root@bogon linux]# make
make -C /root/build_kernel/linux-2.6.32.2 M=/mnt/hgfs/nRF24L01P/linux modules
make[1]: Entering directory `/root/build_kernel/linux-2.6.32.2'
CC [M] /mnt/hgfs/nRF24L01P/linux/nrf.o
/mnt/hgfs/nRF24L01P/linux/nrf.c: In function 'init_NRF24L01':
/mnt/hgfs/nRF24L01P/linux/nrf.c:159:2: error: implicit declaration of function 's3c2410_gpio_pullup'
/mnt/hgfs/nRF24L01P/linux/nrf.c:160:2: error: implicit declaration of function 's3c2410_gpio_cfgpin'
/mnt/hgfs/nRF24L01P/linux/nrf.c:160:2: error: expected ')' before '_OUTPUT'
/mnt/hgfs/nRF24L01P/linux/nrf.c:161:2: error: expected ')' before '_OUTPUT'
/mnt/hgfs/nRF24L01P/linux/nrf.c:162:2: error: expected ')' before '_OUTPUT'
/mnt/hgfs/nRF24L01P/linux/nrf.c:163:2: error: expected ')' before '_OUTPUT'
/mnt/hgfs/nRF24L01P/linux/nrf.c:164:2: error: expected ')' before '_INPUT'
/mnt/hgfs/nRF24L01P/linux/nrf.c:165:2: error: expected ')' before '_INPUT'
/mnt/hgfs/nRF24L01P/linux/nrf.c:169:2: error: implicit declaration of function 's3c2410_gpio_setpin'
/mnt/hgfs/nRF24L01P/linux/nrf.c:175:2: warning: passing argument 2 of 'SPI_Write_Buf' discards qualifiers from pointer target type
/mnt/hgfs/nRF24L01P/linux/nrf.c:131:15: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
/mnt/hgfs/nRF24L01P/linux/nrf.c:176:2: warning: passing argument 2 of 'SPI_Write_Buf' discards qualifiers from pointer target type
/mnt/hgfs/nRF24L01P/linux/nrf.c:131:15: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
/mnt/hgfs/nRF24L01P/linux/nrf.c: In function 'SPI_RW':
/mnt/hgfs/nRF24L01P/linux/nrf.c:222:3: error: implicit declaration of function 's3c2410_gpio_getpin'
/mnt/hgfs/nRF24L01P/linux/nrf.c: In function 'SPI_Read_Buf':
/mnt/hgfs/nRF24L01P/linux/nrf.c:270:23: error: expected identifier or '(' before 'unsigned'
/mnt/hgfs/nRF24L01P/linux/nrf.c:276:6: error: 'char_ctr' undeclared (first use in this function)
/mnt/hgfs/nRF24L01P/linux/nrf.c:276:6: note: each undeclared identifier is reported only once for each function it appears in
/mnt/hgfs/nRF24L01P/linux/nrf.c:278:8: error: expected expression before 'unsigned'
/mnt/hgfs/nRF24L01P/linux/nrf.c: In function 'SPI_Write_Buf':
/mnt/hgfs/nRF24L01P/linux/nrf.c:291:23: error: expected identifier or '(' before 'unsigned'
/mnt/hgfs/nRF24L01P/linux/nrf.c:296:6: error: 'char_ctr' undeclared (first use in this function)
/mnt/hgfs/nRF24L01P/linux/nrf.c: In function 'nRF24L01_TxPacket':
/mnt/hgfs/nRF24L01P/linux/nrf.c:343:2: warning: passing argument 2 of 'SPI_Write_Buf' discards qualifiers from pointer target type
/mnt/hgfs/nRF24L01P/linux/nrf.c:289:15: note: expected 'unsigned char *' but argument is of type 'const unsigned char *'
/mnt/hgfs/nRF24L01P/linux/nrf.c: In function 'nrf24l01_init':
/mnt/hgfs/nRF24L01P/linux/nrf.c:429:2: error: implicit declaration of function 'devfs_mk_cdev'
make[2]: *** [/mnt/hgfs/nRF24L01P/linux/nrf.o] 错误 1
make[1]: *** [_module_/mnt/hgfs/nRF24L01P/linux] 错误 2
make[1]: Leaving directory `/root/build_kernel/linux-2.6.32.2'
make: *** [all] 错误 2
[root@bogon linux]#