From: Jarod W. <ja...@wi...> - 2010-12-20 21:12:16
|
On Dec 20, 2010, at 3:58 PM, Rick wrote: > On 12/20/2010 03:40 PM, Jarod Wilson wrote: >> On Dec 14, 2010, at 3:54 PM, Rick wrote: >> >>> On 12/10/2010 08:03 PM, Rick wrote: >>>> Hi, >>>> >>>> In one of the forums I found a link to the git tree that contains >>>> lirc_zilog. The tar file generated was linux-2.6-lirc-b079de9.tar.gz. >>>> I was able to compile the zilog driver against lirc-0.8.7 and kernel >>>> 2.6.33 using the following: >>>> >>>> make -C /lib/modules/`uname -r`/build CONFIG_INPUT_LIRC=m \ >>>> CONFIG_LIRC_ZILOG=m M=$PWD modules >>>> >>>> After doing so, it compiled and created the .ko file but gave warnings. >>>> Can the warnings be ignored? If not, can someone point me to the >>>> right place to get the lirc_zilog that will compile under 2.6.33? >>>> >>>> Thanks a lot! >>>> R >>>> >>>> Compile output below. >>>> >>>> make: Entering directory `/usr/src/linux-2.6.33.7-desktop-2mnb' >>>> Building modules, stage 2. >>>> MODPOST 1 modules >>>> WARNING: "lirc_register_driver" [/usr/src/lirc_zilogstuff/lirc_zilog.ko] >>>> undefined! >>>> WARNING: "lirc_unregister_driver" >>>> [/usr/src/lirc_zilogstuff/lirc_zilog.ko] undefined! >>>> make: Leaving directory `/usr/src/linux-2.6.33.7-desktop-2mnb' >>>> >>>> >>> >>> Hi, >>> >>> Is the method I used to build the zilog module ok? >> >> No. >> >>> It only built one >>> module even though I selected two. Could the source of these warnings >>> be because I built it on a host that doesn't have IR hardware? >> >> No. That happens because your build is incomplete. You need to build >> lirc_dev as well. >> > > I'm not sure where to go from here. I really don't know the right way to get the right lirc_zilog and lirc_dev. I'm kinda floundering. I copied lirc_dev from my lirc-0.8.7 source tree rpm, but the above make lines don't find it. I feel like I'm cobbling together bits and pieces and don't really know where to start. > > I'm sorry, can you give me some baby steps? Honestly, now that I think about it, junk that whole process you're going through there. I haven't a clue what's present in Mandriva's kernel or what exactly is present in that old snapshot you're poking at. Just use the new v4l/dvb media_build infra: http://git.linuxtv.org/media_build.git Clone from one of the URL listed there, cd into media_build, then run ./build.sh and it should take care of patching and building everything. Then you can just grab the resulting lirc_dev.ko and lirc_zilog.ko and drop them in your kernel module path. -- Jarod Wilson ja...@wi... |