[linux-dvb] Compile failed for me on 2.6.16.4 and current HG

Hans Gunnarsson hans.gunnarsson at gmail.com
Wed Apr 12 16:37:48 CEST 2006


I downloaded the bz2 tar as outlined on http://linuxtv.org/repo/ and
unpacked it.

Then I followed the instructions here
http://linuxtv.org/news.php?entry=2006-04-08-0.mchehab

make allmodconfig
make

this fails on my vanilla 2.6.16.4 kernel with the following output:

  CC [M]  /tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l2-common.o
  CC [M]  /tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/compat_ioctl32.o
  CC [M]  /tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.o
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:294: error: syntax error
before '-' token
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:315: error: syntax error
before 'switch'
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:320: warning: type
defaults to 'int' in declaration of 'cap2'
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:320: error: invalid type
argument of 'unary *'
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:320: warning:
initialization makes integer from pointer without a cast
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:320: error: initializer
element is not constant
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:320: warning: data
definition has no type or storage class
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:321: error: syntax error
before numeric constant
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:322: error: syntax error
before numeric constant
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:324: warning: type
defaults to 'int' in declaration of 'err'

[... snip]

/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:1039: error: syntax error
before 'return'
/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.c:1042: error:
'v4l_compat_translate_ioctl' undeclared here (not in a function)
{standard input}: Assembler messages:
{standard input}:33: Error: symbol `err' is already defined
{standard input}:45: Error: symbol `err' is already defined
{standard input}:51: Error: symbol `fmt2' is already defined
{standard input}:57: Error: symbol `err' is already defined
{standard input}:63: Error: symbol `err' is already defined
{standard input}:69: Error: symbol `err' is already defined
{standard input}:75: Error: symbol `err' is already defined
{standard input}:81: Error: symbol `err' is already defined
{standard input}:87: Error: symbol `err' is already defined
{standard input}:93: Error: symbol `err' is already defined
{standard input}:99: Error: symbol `err' is already defined
{standard input}:105: Error: symbol `fmt2' is already defined
{standard input}:111: Error: symbol `err' is already defined
{standard input}:117: Error: symbol `err' is already defined
{standard input}:123: Error: symbol `err' is already defined
{standard input}:129: Error: symbol `err' is already defined
{standard input}:135: Error: symbol `err' is already defined
{standard input}:141: Error: symbol `err' is already defined
{standard input}:153: Error: symbol `i' is already defined
{standard input}:159: Error: symbol `i' is already defined
{standard input}:165: Error: symbol `i' is already defined
{standard input}:171: Error: symbol `i' is already defined
{standard input}:184: Error: symbol `_y' is already defined
{standard input}:190: Error: symbol `_y' is already defined
{standard input}:203: Error: symbol `err' is already defined
{standard input}:209: Error: symbol `err' is already defined
{standard input}:215: Error: symbol `err' is already defined
{standard input}:221: Error: symbol `err' is already defined
{standard input}:228: Error: symbol `_y' is already defined
{standard input}:234: Error: symbol `_y' is already defined
{standard input}:240: Error: symbol `_y' is already defined
{standard input}:247: Error: symbol `_x' is already defined
{standard input}:253: Error: symbol `err' is already defined
{standard input}:259: Error: symbol `err' is already defined
{standard input}:265: Error: symbol `err' is already defined
{standard input}:271: Error: symbol `err' is already defined
{standard input}:277: Error: symbol `err' is already defined
{standard input}:283: Error: symbol `err' is already defined
{standard input}:289: Error: symbol `fmt2' is already defined
{standard input}:295: Error: symbol `err' is already defined
{standard input}:301: Error: symbol `fmt2' is already defined
{standard input}:307: Error: symbol `err' is already defined
{standard input}:319: Error: symbol `err' is already defined
{standard input}:326: Error: symbol `_y' is already defined
{standard input}:332: Error: symbol `_y' is already defined
{standard input}:338: Error: symbol `_y' is already defined
{standard input}:345: Error: symbol `_x' is already defined
{standard input}:351: Error: symbol `err' is already defined
{standard input}:357: Error: symbol `err' is already defined
{standard input}:369: Error: symbol `err' is already defined
{standard input}:381: Error: symbol `fmt2' is already defined
{standard input}:387: Error: symbol `err' is already defined
{standard input}:393: Error: symbol `err' is already defined
{standard input}:399: Error: symbol `fmt2' is already defined
{standard input}:405: Error: symbol `err' is already defined
{standard input}:411: Error: symbol `err' is already defined
{standard input}:417: Error: symbol `_y' is already defined
{standard input}:423: Error: symbol `_y' is already defined
{standard input}:429: Error: symbol `_y' is already defined
{standard input}:435: Error: symbol `_x' is already defined
{standard input}:441: Error: symbol `err' is already defined
{standard input}:447: Error: symbol `err' is already defined
{standard input}:459: Error: symbol `err' is already defined
{standard input}:473: Error: symbol `fmt2' is already defined
make[2]: *** [/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l/v4l1-compat.o] Error 1
make[1]: *** [_module_/tmp/dvb/hg-v4l-dvb-dbcc76628ffc/v4l] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.4'
make: *** [default] Error 2


Anyone know what I have done wrong?

Regards,

Hans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060412/cbf8f206/attachment.htm


More information about the linux-dvb mailing list