From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Mon, 27 Aug 2012 11:10:00 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <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: oselas@community.pengutronix.de Cc: ptxdist@pengutronix.de, david Hi David, 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? Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de