[linux-dvb] Mantis build on Ubuntu failed (stddef.h:16: error)

Nick Fedchik nick at fedchik.org.ua
Wed Apr 4 11:08:40 CEST 2007


Hello!

I got a patch for Mantis.
But when compile it, got an error:
CC [M]  /usr/src/v4l-dvb/v4l/compat_ioctl32.o
In file included from include/linux/posix_types.h:4,
                 from include/linux/types.h:14,
                 from include/linux/time.h:4,
from /usr/src/v4l-dvb/v4l/../linux/include/linux/videodev2.h:59,
from /usr/src/v4l-dvb/v4l/../linux/include/linux/videodev.h:15,
                 from /usr/src/v4l-dvb/v4l/compat_ioctl32.c:17:
include/linux/stddef.h:16: error: expected identifier before numeric constant
make[3]: *** [/usr/src/v4l-dvb/v4l/compat_ioctl32.o] Error 1


My step-by-step operations:
0) uname -a
Linux yegor-desktop 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 
GNU/Linux
1) Unpack /usr/src/v4l-dvb
2) ls /usr/src
linux-headers-2.6.20-13/
linux-headers-2.6.20-13-generic/
linux-source-2.6.20/
linux-source-2.6.20.tar.bz2  
mantis-v4l-dvb.tar.bz2  
v4l-dvb/
3) cd /usr/src/v4l-dvb/
4) make rminstall
5) make kernel-links
6) make
root at yegor-desktop:/usr/src/v4l-dvb# make
make -C /usr/src/v4l-dvb/v4l
make[1]: Entering directory `/usr/src/v4l-dvb/v4l'
creating symbolic links...
make -C /lib/modules/2.6.20-13-generic/build SUBDIRS=/usr/src/v4l-dvb/v4l  
modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-13-generic'
  CC [M]  /usr/src/v4l-dvb/v4l/dvbdev.o
  CC [M]  /usr/src/v4l-dvb/v4l/dmxdev.o
  CC [M]  /usr/src/v4l-dvb/v4l/dvb_demux.o
  CC [M]  /usr/src/v4l-dvb/v4l/dvb_filter.o
  CC [M]  /usr/src/v4l-dvb/v4l/dvb_ca_en50221.o
  CC [M]  /usr/src/v4l-dvb/v4l/dvb_frontend.o
  CC [M]  /usr/src/v4l-dvb/v4l/dvb_net.o
  CC [M]  /usr/src/v4l-dvb/v4l/dvb_ringbuffer.o
  CC [M]  /usr/src/v4l-dvb/v4l/dvb_math.o
  CC [M]  /usr/src/v4l-dvb/v4l/av7110_hw.o
  CC [M]  /usr/src/v4l-dvb/v4l/av7110_v4l.o
  CC [M]  /usr/src/v4l-dvb/v4l/av7110_av.o
  CC [M]  /usr/src/v4l-dvb/v4l/av7110_ca.o
  CC [M]  /usr/src/v4l-dvb/v4l/av7110.o
  CC [M]  /usr/src/v4l-dvb/v4l/av7110_ipack.o
  CC [M]  /usr/src/v4l-dvb/v4l/av7110_ir.o
  CC [M]  /usr/src/v4l-dvb/v4l/ir-functions.o
  CC [M]  /usr/src/v4l-dvb/v4l/ir-keymaps.o
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_core.o
/usr/src/v4l-dvb/v4l/mantis_core.c:56: warning: 'write_eeprom_byte' defined 
but not used
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_dma.o
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_pci.o
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_i2c.o
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_dvb.o
/usr/src/v4l-dvb/v4l/mantis_dvb.c:50: warning: 'mantis_fe_reset' defined but 
not used
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_vp1033.o
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_vp1034.o
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_vp2033.o
  CC [M]  /usr/src/v4l-dvb/v4l/mantis_vp3030.o
  CC [M]  /usr/src/v4l-dvb/v4l/saa7146_i2c.o
  CC [M]  /usr/src/v4l-dvb/v4l/saa7146_core.o
  CC [M]  /usr/src/v4l-dvb/v4l/saa7146_fops.o
  CC [M]  /usr/src/v4l-dvb/v4l/saa7146_video.o
  CC [M]  /usr/src/v4l-dvb/v4l/saa7146_hlp.o
  CC [M]  /usr/src/v4l-dvb/v4l/saa7146_vbi.o
  CC [M]  /usr/src/v4l-dvb/v4l/bt87x.o
  LD [M]  /usr/src/v4l-dvb/v4l/saa7146.o
  LD [M]  /usr/src/v4l-dvb/v4l/saa7146_vv.o
  LD [M]  /usr/src/v4l-dvb/v4l/ir-common.o
  CC [M]  /usr/src/v4l-dvb/v4l/videodev.o
  CC [M]  /usr/src/v4l-dvb/v4l/v4l2-common.o
  CC [M]  /usr/src/v4l-dvb/v4l/compat_ioctl32.o
In file included from include/linux/posix_types.h:4,
                 from include/linux/types.h:14,
                 from include/linux/time.h:4,
from /usr/src/v4l-dvb/v4l/../linux/include/linux/videodev2.h:59,
from /usr/src/v4l-dvb/v4l/../linux/include/linux/videodev.h:15,
                 from /usr/src/v4l-dvb/v4l/compat_ioctl32.c:17:
include/linux/stddef.h:16: error: expected identifier before numeric constant
make[3]: *** [/usr/src/v4l-dvb/v4l/compat_ioctl32.o] Error 1
make[2]: *** [_module_/usr/src/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-13-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'
make: *** [all] Error 2

Suggestions?

-- 
Nick Fedchik




More information about the linux-dvb mailing list