Aborres / compcache

Automatically exported from code.google.com/p/compcache
1 stars 0 forks source link

Build error: implicit declaration of function ‘kfree’ #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I build compcache-0.6.2 against linux 2.6.34-rc7.
The patch applied fine.

make -C "/lib/modules/2.6.34-rc7/build" M=/PathToSources/compcache-0.6.2
modules
make[1]: Entering directory `/PathToSources/Git/linux-2.6-stable'
  CC [M]  /PathToSources/compcache-0.6.2/ramzswap_drv.o
/PathToSources/compcache-0.6.2/ramzswap_drv.c: In function ‘reset_device’:
/PathToSources/compcache-0.6.2/ramzswap_drv.c:1042:2: error: implicit
declaration of function ‘kfree’
/PathToSources/compcache-0.6.2/ramzswap_drv.c: In function
‘ramzswap_ioctl_init_device’:
/PathToSources/compcache-0.6.2/ramzswap_drv.c:1135:2: error: implicit
declaration of function ‘kzalloc’
/PathToSources/compcache-0.6.2/ramzswap_drv.c:1135:24: warning: assignment
makes pointer from integer without a cast
/PathToSources/compcache-0.6.2/ramzswap_drv.c: In function ‘ramzswap_ioctl’:
/PathToSources/compcache-0.6.2/ramzswap_drv.c:1296:9: warning: assignment
makes pointer from integer without a cast
/PathToSources/compcache-0.6.2/ramzswap_drv.c: In function ‘ramzswap_init’:
/PathToSources/compcache-0.6.2/ramzswap_drv.c:1442:10: warning: assignment
makes pointer from integer without a cast
make[2]: *** [/PathToSources/compcache-0.6.2/ramzswap_drv.o] Error 1
make[1]: *** [_module_/PathToSources/compcache-0.6.2] Error 2
make[1]: Leaving directory `/PathToSources/Git/linux-2.6-stable'
make: *** [all] Error 2

Original issue reported on code.google.com by jyqvkl...@googlemail.com on 11 May 2010 at 5:28

GoogleCodeExporter commented 8 years ago
Fix committed to repository:
http://code.google.com/p/compcache/source/detail?r=083f9fd966da56e155240b35e5f37
869053048c6

Original comment by nitingupta910@gmail.com on 11 May 2010 at 6:39

GoogleCodeExporter commented 8 years ago

Original comment by nitingupta910@gmail.com on 11 May 2010 at 6:40

GoogleCodeExporter commented 8 years ago
Issue 73 has been merged into this issue.

Original comment by nitingupta910@gmail.com on 12 Sep 2010 at 4:04

GoogleCodeExporter commented 8 years ago
i have this on the ubuntu 10.10 kernel 2.6.35 with compiling a 3dsp driver

Original comment by vger...@gmail.com on 1 Oct 2010 at 2:57