[pvrusb2] pvrusb2 build error with 2.6.16 on amd64

Andreas Korinek andreas.korinek at wizards-of-chemistry.net
Sat Mar 25 05:47:32 CST 2006


Hello,

I get the following error when building the pvrusb2 module with kernel 2.6.16 
on amd64. Compiler is gcc-3.4.6

Any advice?

make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.16-gentoo/build 
M=/home/andreas/downloads/pvrusb2-mci-20060318/driver CONFIG_VIDEO_PVRUSB2=m 
modules
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo'
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-i2c-core.o
/home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-i2c-core.c: In 
function `pvr2_i2c_write':
/home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-i2c-core.c:55: 
warning: unsigned int format, different type arg (arg 4)
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-i2c-cmd-v4l2.o
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-i2c-cmd-v4l1.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-audio.o
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-audio-old.o
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-i2c-chips-all.o
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-encoder.o
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-video-v4l.o
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-video-ivtv.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-eeprom.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-tuner.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-demod.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-main.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-hdw.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-v4l2.o
  CC [M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-sysfs.o
  CC 
[M]  /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-context.o
In file included 
from /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-context.h:26,
                 
from /home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-context.c:21:
include/asm/mutex.h:54: error: syntax error before '*' token
include/asm/mutex.h:54: error: `fastcall' declared as function returning a 
function
include/asm/mutex.h:54: warning: function declaration isn't a prototype
include/asm/mutex.h: In function `__mutex_fastpath_lock_retval':
include/asm/mutex.h:56: warning: implicit declaration of function `unlikely'
include/asm/mutex.h:57: warning: implicit declaration of function `fail_fn'
include/asm/mutex.h: In function `__mutex_fastpath_trylock':
include/asm/mutex.h:107: warning: implicit declaration of function `likely'
include/asm/mutex.h:107: warning: implicit declaration of function `cmpxchg'
make[2]: *** 
[/home/andreas/downloads/pvrusb2-mci-20060318/driver/pvrusb2-context.o] Error 
1
make[1]: *** [_module_/home/andreas/downloads/pvrusb2-mci-20060318/driver] 
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo'
make: *** [modules] Error 2

-- 
Mit freundlichen Grüßen / With kind regards,
Andreas Korinek, B. SC.

Research is the best place to be: you work your buns off, and if it works
you're a hero; if it doesn't, well -- nobody else has done it yet either,
so you're still a valiant nerd.


More information about the pvrusb2 mailing list