weird compile error in kdebase

Benoit Walter b.walter at free.fr
Tue Sep 16 09:42:14 BST 2003


Update your admin directory, there was a problem with a perl command (perl 
-pe) that has been corrected.

Regards,
Benoit.


On Monday 15 September 2003 21:21, Navindra Umanee wrote:
> Hi,
>
> When compiling kdebase/kcontrol/background/, I get the following on
> Mandrake 9.1:
>
> /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor
> -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -Wformat-security
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -D_GNU_SOURCE -o kcm_background.la -rpath
> /usr/local/kde/lib/kde3 -R /usr/local/kde/lib -R /usr/local/qt/lib -R
> /usr/X11R6/lib -module -avoid-version -L/usr/X11R6/lib -L/usr/local/qt/lib
> -L/usr/local/kde/lib -no-undefined -Wl,--no-undefined
> -Wl,--allow-shlib-undefined main.lo libkcmbgnd.la libbgnd.la -lkio
>
> Compilation completely fails with undefined reference messages (see
> the full error message at
> http://marc.theaimsgroup.com/?l=kde-cafe&m=106356068727991&q=raw ).
>
> However, if I remove "-no-undefined -Wl,--no-undefined", compilation
> succeeds.  Is anyone else seeing this?  I did the usual Makefile.cvs
> and configure to generate my makefiles.
>
> Thanks,
> Navin.





More information about the kde-core-devel mailing list