FAQs see answers for =>

This frequently answered questions are collected from the kde-cygwin mailing list and the kde-cygwin related sourceforge foren. If you don't find an answer for your problem here, please take a look directly into the mailing list and/or the foren.

Index


Why do I get "undefined reference to ..." errors when I try to compile a QT/KDE application?

This happens when you do not include the --auto-import flag on the command line to ld. Make sure you are using the libtool version from the download area. (If the project you are compiling already has a version of libtool included with it, you will probably need to overwrite it.) You also need an updated binutils package (also from the download area). If you are writing Makefiles by hand, you need to pass -Wl,--enable-auto-import -L$(QTDIR)/lib -lqt to g++ to link against QT.

Why do I get an error saying configure can't find ld?

You need to type export Xsed=sed before running configure. Make sure you have read all the instructions in README.compile.

Why do I get a "BFD x.y.z yyyymmdd internal error" while compiling a KDE application ?

If you get the following error:

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-10/../../../../i686-pc-cygwin/bin/ld: 
	BFD 2.13.90 20030404 internal error, aborting at coffcode.h line 847 in h
andle_COMDAT

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-10/../../../../i686-pc-cygwin/bin/ld: 
  Please report this bug.

collect2: ld returned 1 exit status
make[1]: *** [kmail.exe] Error 1
make[1]: Leaving directory `/home/habacker/src/anoncvs.kde.org/kdenetwork/kmail'
make: *** [all-recursive] Error 1
this indicates an internal error of the linker (exactly a problem in the binary file descriptor lib BFD).

You could try to update your binutils release to a newer upgrade or recompile the linker from current cvs sources.

 
Prev:Qt 1Next:Contribution

GOWEBCounter by INLINE visitors Hosted by SourceForge