weird compile error in kdebase

Navindra Umanee navindra at cs.mcgill.ca
Mon Sep 15 20:21:28 BST 2003


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