From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VAJYB-0006RS-VC for ptxdist@pengutronix.de; Fri, 16 Aug 2013 14:54:43 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1VAJYB-0008Ra-Tr for ptxdist@pengutronix.de; Fri, 16 Aug 2013 14:54:43 +0200 Date: Fri, 16 Aug 2013 14:54:43 +0200 From: Michael Olbrich Message-ID: <20130816125443.GD29492@pengutronix.de> References: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F32E1@HISCMAIL01.HeiLab.loc> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5DDDC2AE1D40D045B973C3CAA4D4CCC74F32E1@HISCMAIL01.HeiLab.loc> Subject: Re: [ptxdist] package evtest Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Aug 01, 2013 at 08:33:58AM +0000, Henrik.Kraft@heidolph.de wrote: > hi, > > because I need to install an input driver for special hardware I thought I could use evtest. When including evtest in ptxdist I got a compile error with evtest-capture even it was not selected in ptxdist. The error was: > > evtest-capture.c:631:39: error: expected declaration specifiers or '...' before 'xmlTextWriterPtr' > evtest-capture.c: In function 'print_capabilities': > evtest-capture.c:647:4: error: 'writer' undeclared (first use in this function) > evtest-capture.c:647:4: note: each undeclared identifier is reported only once for each function it appears in > > ... > I could find out that a package libxml-dev is required to use evtest-capture by trying to compile it at hand and getting: > evtest-capture.c:33:29: fatal error: libxml/encoding.h: No such file or directory > compilation terminated. > > evtest itself compiles an runs on the target. Either disable EVTEST_CAPTURE or enable LIBXML2_WRITER. There is a dependency missing here. This is fixed in newer ptxdist versions. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de