Public bug reported: Binary package hint: linux-source
I am using Feisty stable. I tried to compile the new http://http//sourceforge.net/projects/sdricohcs/ driver in order to make my SD card reader work. Requirements according to the README kernel-default >= 2.6.18 gcc make kernel-source kernel-syms I figured what I was needing was either linux-source or linux-headers, so I installed both (BTW:linux source was a tar file I had to manually untar, should I fill that as a specific bug?). When I tried to compile the driver, I got following error: make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/tom/Desktop/sdricohcs/sdricoh_cs modules make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic' CC [M] /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.o /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:39:32: error: linux/mmc/protocol.h: No such file or directory /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c: In function ‘sdricoh_reset’: /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:228: error: ‘MMC_GO_IDLE_STATE’ undeclared (first use in this function) /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:228: error: (Each undeclared identifier is reported only once /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:228: error: for each function it appears in.) /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:234: error: ‘MMC_APP_CMD’ undeclared (first use in this function) /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c: In function ‘sdricoh_request’: /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:321: error: ‘SD_APP_SEND_SCR’ undeclared (first use in this function) /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:354: error: ‘MMC_SELECT_CARD’ undeclared (first use in this function) /home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.c:355: error: ‘MMC_APP_CMD’ undeclared (first use in this function) make[2]: *** [/home/tom/Desktop/sdricohcs/sdricoh_cs/sdricoh_cs.o] Error 1 make[1]: *** [_module_/home/tom/Desktop/sdricohcs/sdricoh_cs] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic' make: *** [default] Error 2 I indeed did not find linux/mmc/protocol.h anywhere on my system. I know that Ubuntu does not guarantee custom compiles of a kernel, but this is just a driver and I do not understand how the file got excluded. Anyway, I am afraid that file should be there. Related ubuntuforums and linuxquestion threads: http://ubuntuforums.org/showthread.php?p=2635598 http://www.linuxquestions.org/questions/showthread.php?t=552086 P.S.:this might be a bug in linux-headers as well. ** Affects: linux-meta (Ubuntu) Importance: Undecided Status: Unconfirmed -- Cannot compile a driver due to missing files in linux-source https://bugs.launchpad.net/bugs/114218 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
