From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Mon, 27 Aug 2012 15:58:25 +0200 From: Michael Olbrich Message-ID: <20120827135825.GD13798@pengutronix.de> References: <201208271110.00915.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201208271110.00915.jbe@pengutronix.de> Subject: Re: [ptxdist] [oselas] 2012.06.0 mini2440 BSP compile error on shiboken package 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, oselas@community.pengutronix.de 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