[pvrusb2] Compile issue

Mike Isely isely at isely.net
Thu Dec 8 09:19:39 CST 2005


On Thu, 8 Dec 2005, cardboil wrote:

> I just installed the latest version of pvrusb2.  When I do make, it created
> a bunch of pvrusb2-*.o files.  No, ko files.  What am I doing wrong?  After
> copying these files to
> /lib/modules/2.6.14_1.1644_FC4/kernel/drivers/pvrusb2, I can't seem to load
> the module.

The output *does* show *.ko file being made...  See comment below.

>
> Here is the output of make:
>
> make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.14-1.1644_FC4/build
> M=/home/mythtv/pvrusb2-mci-20051206/driver CONFIG_VIDEO_PVRUSB2=m
> modules
> make[1]: Entering directory `/usr/src/kernels/2.6.14-1.1644_FC4-i686'
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-audio.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-encoder.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-ivtv.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-eeprom.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-tuner.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-i2c.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-main.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-hdw.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-v4l2.o
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-v4l2.c: In function
> 'pvr2_v4l2_read':
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-v4l2.c:1138: warning:
> ignoring return value of 'copy_to_user', declared with attribute
> warn_unused_result
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-sysfs.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-context.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-io.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-ioread.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-debugifc.o
>  LD [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2.o
>  Building modules, stage 2.
>  MODPOST
>  CC      /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2.mod.o


>  LD [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2.ko

Do you not see this file anywhere?

The *.o files you can ignore; the modules are only *.ko.  You need to copy 
pvrusb2.ko, which is built right here.

If you need the support modules (you might not need them), don't forget to 
also build the ivtv subdirectory as well - this is described on the web 
page.


> make[1]: Leaving directory `/usr/src/kernels/2.6.14-1.1644_FC4-i686'
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>

   -Mike


-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |


More information about the pvrusb2 mailing list