Hi,

On Mon, Aug 27, 2012 at 11:10:00AM +0200, Juergen Beisert wrote:
> david wrote:
> > I'm getting an error compiling up the 2012.06 release of the mini2440 BSP,
> > everything compiles up with the exception of the shiboken package for
> > pyside. The error message returned:
> >
> > [...]
> 
> Same here:
> 
> $ ptxdist compile host-shiboken
> [...]
> CMakeFiles/shiboken.dir/qtdoc/qtdocgenerator.cpp.o: In function 
> `DoxygenParser':
> /home/jbe/work/temp/OSELAS.BSP-Pengutronix-Mini2440-2012.06.0/platform-mini2440/build-host/shiboken-1.1.1/ApiExtractor/doxygenparser.h:32:
>  undefined 
> reference to `DocParser::DocParser()'
> /home/jbe/work/temp/OSELAS.BSP-Pengutronix-Mini2440-2012.06.0/platform-mini2440/build-host/shiboken-1.1.1/ApiExtractor/doxygenparser.h:32:
>  undefined 
> reference to `vtable for DoxygenParser'
> CMakeFiles/shiboken.dir/qtdoc/qtdocgenerator.cpp.o: In function `QtDocParser':
> /home/jbe/work/temp/OSELAS.BSP-Pengutronix-Mini2440-2012.06.0/platform-mini2440/build-host/shiboken-1.1.1/ApiExtractor/qtdocparser.h:32:
>  undefined reference 
> to `DocParser::DocParser()'
> /home/jbe/work/temp/OSELAS.BSP-Pengutronix-Mini2440-2012.06.0/platform-mini2440/build-host/shiboken-1.1.1/ApiExtractor/qtdocparser.h:32:
>  undefined reference 
> to `vtable for QtDocParser'
> collect2: error: ld returned 1 exit status
> make[3]: *** [generator/shiboken] Error 1
> 
> I'm not an expert for this package, but can you try:
> 
> Add the line:
> 
>  -DDISABLE_DOCSTRINGS:BOOL=ON \
> 
> to the PTXdist's rules/host-shiboken.make below the existing
> "-DBUILD_TESTS:BOOL=OFF \" (line 30). After that a
> "ptxdist clean host-shiboken; ptxdist go". Maybe it helps. This define will
> disable some feature in the shiboken package. Here it compiles again, but I'm
> not sure if then some important feature is missing in the package. This should
> re-check someone who knows more about shiboken.
> 
> @Michael: What would be the correct solution?

This is indeed the correct solution. This just disables some API doc
generation tool. There is some cmake check to handle this automatically,
but it's broken. I've committed a fix for this in ptxdist master

Regards,
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