On Thu, Aug 01, 2013 at 08:33:58AM +0000, henrik.kr...@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

Reply via email to