Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757694AbbEEKOg (ORCPT ); Tue, 5 May 2015 06:14:36 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:34762 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757658AbbEEKO0 (ORCPT ); Tue, 5 May 2015 06:14:26 -0400 MIME-Version: 1.0 In-Reply-To: References: <1425825653-14768-1-git-send-email-prabhakar.csengg@gmail.com> <551D4220.7070303@xs4all.nl> <553A151B.7010907@xs4all.nl> From: "Lad, Prabhakar" Date: Tue, 5 May 2015 11:13:54 +0100 Message-ID: Subject: Re: [PATCH v4 00/17] media: blackfin: bfin_capture enhancements To: Scott Jiang Cc: Hans Verkuil , LMML , adi-buildroot-devel@lists.sourceforge.net, LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2364 Lines: 67 Hi Scott, On Tue, May 5, 2015 at 10:58 AM, Scott Jiang wrote: > 2015-04-24 18:04 GMT+08:00 Hans Verkuil : >> On 04/10/2015 12:42 PM, Scott Jiang wrote: >>> Hi Hans, >>> >>>>> >>>>> Hans, I tried to use v4l2-compliance but it failed to compile. Sorry >>>>> for telling you it have passed compilation because I forgot to use >>>>> blackfin toolchain. >>>>> ./configure --without-jpeg --host=bfin-linux-uclibc --disable-libv4l >>>>> >>>>> The main problem is there is no argp.h in uClibc, how to disable checking this? >>>>> >>>>> checking for argp.h... no >>>>> configure: error: Cannot continue: argp.h not found >>>>> >>>>> Scott >>>>> >>>> >>>> Hi Scott, >>>> >>>> Can you try this patch for v4l-utils? It makes argp optional, and it should >>>> allow v4l2-compliance to compile with uclibc (unless there are more problems). >>>> >>>> I'm no autoconf guru, so I'm not certain if everything is correct, but it >>>> seemed to do its job when I remove argp.h from my system. >>>> >>> >>> Yes, I can pass configure now. But there is another error when make >>> >>> make[3]: Entering directory >>> `/home/scott/projects/git-kernel/v4l-utils/lib/libdvbv5' >>> CC libdvbv5_la-parse_string.lo >>> parse_string.c:26:19: error: iconv.h: No such file or directory >>> parse_string.c: In function 'dvb_iconv_to_charset': >>> parse_string.c:316: error: 'iconv_t' undeclared (first use in this function) >>> >>> I tried to pass this library, while --without-libdvbv5 is not supported. >>> >> >> If you can pass the configure step, then you should be able to run this: >> >> cd utils/v4l2-compliance >> cat *.cpp >x.cpp >> g++ -o v4l2-compliance x.cpp -I . -I ../../include/ -DNO_LIBV4L2 >> >> (you need to use the right toolchain here, of course) >> >> If this compiles OK, then you have a v4l2-compliance tool that you can >> use. >> > Yes, this method works. The test results of v4l2-compliance are below, > I'm sorry the kernel has not upgraded to 4.0. > root:/> ./v4l2-compliance -d 0 v4l2-compliance with -s option would interesting to watch. Cheers, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/