Modify

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#10495 closed defect (wontfix)

ov51x-jpeg doesn't compile

Reported by: coatto87 <coatto87@…> Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I trying to compile ov51x-jpeg.
It needs to make working my Creative Vista webcam.

$ make package/feeds/packages/ov51x-jpeg/compile V=99
make[1]: Entering directory `/home/maxpower/openwrt'
make[2]: Entering directory `/home/maxpower/openwrt/feeds/packages/multimedia/ov51x-jpeg'
make -C /home/maxpower/openwrt/build_dir/linux-ar71xx_generic/linux-3.1.1 ARCH="mips" CROSS_COMPILE="mips-openwrt-linux-uclibc-" SUBDIRS="/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9" modules
make[3]: Entering directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/linux-3.1.1'
  Building modules, stage 2.
  MODPOST 0 modules
make[3]: Leaving directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/linux-3.1.1'
make -C /home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/test CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" CC="mips-openwrt-linux-uclibc-gcc" getjpeg
make[3]: Entering directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/test'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -o getjpeg getjpeg.c
getjpeg.c:30:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[3]: *** [getjpeg] Error 1
make[3]: Leaving directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/test'
make[2]: *** [/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/.built] Error 2
make[2]: Leaving directory `/home/maxpower/openwrt/feeds/packages/multimedia/ov51x-jpeg'
make[1]: *** [package/feeds/packages/ov51x-jpeg/compile] Error 2
make[1]: Leaving directory `/home/maxpower/openwrt'
make: *** [package/feeds/packages/ov51x-jpeg/compile] Errore 2

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by coatto87 <coatto87@…>

I read:

#include <linux/videodev.h>

was removed from 2.6.38 kernel so i should use
#include <linux/videodev2.h>

but it doesn't resolve the issue

$ make package/feeds/packages/ov51x-jpeg/compile V=99
make[1]: Entering directory `/home/maxpower/openwrt'
make[2]: Entering directory `/home/maxpower/openwrt/feeds/packages/multimedia/ov51x-jpeg'
make -C /home/maxpower/openwrt/build_dir/linux-ar71xx_generic/linux-3.1.1 ARCH="mips" CROSS_COMPILE="mips-openwrt-linux-uclibc-" SUBDIRS="/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9" modules
make[3]: Entering directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/linux-3.1.1'
  Building modules, stage 2.
  MODPOST 0 modules
make[3]: Leaving directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/linux-3.1.1'
make -C /home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/test CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" CC="mips-openwrt-linux-uclibc-gcc" getjpeg
make[3]: Entering directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/test'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -o getjpeg getjpeg.c
getjpeg.c: In function 'main':
getjpeg.c:71:20: error: storage size of 'vmbuf' isn't known
getjpeg.c:72:20: error: storage size of 'vmmap' isn't known
getjpeg.c:112:14: error: 'VIDIOCGMBUF' undeclared (first use in this function)
getjpeg.c:112:14: note: each undeclared identifier is reported only once for each function it appears in
getjpeg.c:120:17: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
getjpeg.c:125:19: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)
getjpeg.c:136:20: error: 'VIDIOCSYNC' undeclared (first use in this function)
make[3]: *** [getjpeg] Error 1
make[3]: Leaving directory `/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/test'
make[2]: *** [/home/maxpower/openwrt/build_dir/linux-ar71xx_generic/ov51x-jpeg-1.5.9/.built] Error 2
make[2]: Leaving directory `/home/maxpower/openwrt/feeds/packages/multimedia/ov51x-jpeg'
make[1]: *** [package/feeds/packages/ov51x-jpeg/compile] Error 2
make[1]: Leaving directory `/home/maxpower/openwrt'
make: *** [package/feeds/packages/ov51x-jpeg/compile] Errore 2

comment:2 Changed 6 years ago by hauke

Is kmod-video-gspca-ov519 working for you instead of ov51x-jpeg or for anyone else?

ov51x-jpeg is not being worked on and it is using an old, now unsupported API and kmod-video-gspca-ov519 is the in kernel driver which should also support this device.
If kmod-video-gspca-ov519 also works, I will remove ov51x-jpeg from OpenWrt.

comment:3 Changed 5 years ago by florian

  • Resolution set to wontfix
  • Status changed from new to closed

Please use newer drivers for your webcam instead of videodev1 drivers.

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.