[#5178] app UVC_VIDEO in Blackfin app programs fails to build
Submitted By: Vivi Li
Open Date
2009-05-31 06:37:38 Close Date
2009-08-19 22:04:33
Priority:
Medium Assignee:
Yi Li
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Make Errors Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1-09r1_rc6
App binary format:
FDPIC
Summary: app UVC_VIDEO in Blackfin app programs fails to build
Details:
enable USER_UVC_VIDEO in Blackfin app programs, it fails to build for fdpic formats. Only FDPIC format is supported. It is not a regression result.
Config files are attached and bellow is the log:
--
make[4]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/uvc-video'
for i in luvcview-svn-14 ; do make -C $i all || exit $? ; done
make[5]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/uvc-video/luvcview-svn-14'
bfin-linux-uclibc-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.2.4\" -I-I/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../linux-uvc-svn-220 -pipe -Wall -g -O2 -mcpu=bf537-0.2 -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.2.4\" -I-I/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../linux-uvc-svn-220 -c -o luvcview.o luvcview.c
In file included from luvcview.c:45:
v4l2uvc.h:35:22: error: uvcvideo.h: No such file or directory
luvcview.c: In function ‘main’:
luvcview.c:427: warning: implicit declaration of function ‘check_videoIn’
luvcview.c: In function ‘eventThread’:
luvcview.c:678: warning: implicit declaration of function ‘v4l2ResetPan’
luvcview.c:682: warning: implicit declaration of function ‘v4l2ResetTilt’
luvcview.c: In function ‘main’:
luvcview.c:545: warning: control reaches end of non-void function
luvcview.c: In function ‘eventThread’:
luvcview.c:894: warning: control reaches end of non-void function
make[5]: *** [luvcview.o] Error 1
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/uvc-video/luvcview-svn-14'
--
Follow-ups
--- Robin Getz 2009-05-31 19:51:43
Vivi:
> It is not a regression result.
I'm not sure I understand - it was checked in July 2008 broken, and has never,
ever worked?
Or you have just not been testing it?
Thanks
-Robin
--- Vivi Li 2009-05-31 22:22:24
Not all applications is built and tested on regression. This app has not been
tested before, so I don't know when it broke.
I find it broken when I'm writing a script to build all blackfin app.
--- Michael Hennerich 2009-06-02 02:48:42
It used to be working when I checked it into svn.
-Michael
--- Yi Li 2009-06-04 04:28:40
Two headers and missing. Fixed in trunk and 2009R1 branch.
According to the uvcview README:
Required header files:
- SDL (from http://www.libsdl.org/ or e.g. the libsdl1.2-dev Debian package)
- uvcvideo (Linux UVC driver)
- uvcdynctrl (part of libwebcam)
These header can be downloaded from:
wget
http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/uvcvideo.h
wget
http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/uvc_compat.h
wget
http://svn.quickcamteam.net/svn/qct/Linux/Common/include/dynctrl-logitech.h
--- Vivi Li 2009-08-20 03:05:06
It can build now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.user application/octet-stream 45453 Vivi Li
config.kernel application/octet-stream 32780 Vivi Li