[Fwd: KDE compile errors!]


Subject: [Fwd: KDE compile errors!]
From: Bernie Mentink (ebike@paradise.net.nz)
Date: Sat Sep 25 1999 - 20:39:42 MDT


Bernie Mentink wrote:

> Hi All,
>
> I have never been able to compile a KDE application, I get the following
> errors on
> running ./configure
>
> ---------------------------------------------------------------
> checking for extra includes... no
> checking for extra libs... no
> checking for kde headers installed... yes
> checking for kde libraries installed... configure: error: your system
> fails at linking
> a small KDE application!
> Check, if your compiler is installed correctly and if you have used the
> same compiler to compile Qt and kdelibs as you did use now
> --------------------------------------------------------------
>
> I have attached the config.log file. Would appreciate if anyone can
> help.
> Do I have to get the KDE source for the kdelib's and recompile?
> I am using QT 2.0.
>
> Thanks.
>
> --
> -------------IMAC YELLOWDOG LINUX--------------
> Bernie Mentink
> Email: ebike@paradise.net.nz
> -----------------------------------------------
>
> ------------------------------------------------------------------------
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:590: checking for gcc
> configure:703: checking whether the C compiler (gcc ) works
> configure:719: gcc -o conftest conftest.c 1>&5
> configure:745: checking whether the C compiler (gcc ) is a cross-compiler
> configure:750: checking whether we are using GNU C
> configure:759: gcc -E conftest.c
> configure:778: checking whether gcc accepts -g
> configure:810: checking how to run the C++ preprocessor
> configure:828: g++ -E conftest.C >/dev/null 2>conftest.out
> configure:854: checking for X
> configure:871: g++ -E conftest.C >/dev/null 2>conftest.out
> configure:947: g++ -o conftest conftest.C -lXt 1>&5
> configure: In function `int main()':
> configure:943: warning: implicit declaration of function `int XtMalloc(...)'
> /usr/bin/ld: cannot find -lXt
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 940 "configure"
> #include "confdefs.h"
>
> int main() {
> XtMalloc()
> ; return 0; }
> configure:1114: checking for a BSD compatible install
> configure:1167: checking whether build environment is sane
> configure:1205: checking whether make sets ${MAKE}
> configure:1234: checking for ranlib
> configure:1274: checking for ld used by GCC
> configure:1331: checking if the linker (/usr/bin/ld) is GNU ld
> GNU ld version 2.9.4 (with BFD 990418)
> configure:1347: checking for BSD-compatible nm
> configure:1384: checking whether ln -s works
> configure:1413: checking for main in -lcompat
> configure:1428: gcc -o conftest -g -O2 conftest.c -lcompat 1>&5
> /usr/bin/ld: cannot find -lcompat
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 1421 "configure"
> #include "confdefs.h"
>
> int main() {
> main()
> ; return 0; }
> configure:1449: checking for main in -lcrypt
> configure:1464: gcc -o conftest -g -O2 conftest.c -lcrypt 1>&5
> configure:1485: checking for the third argument of getsockname
> configure:1510: g++ -c conftest.C 1>&5
> configure:1567: checking for dnet_ntoa in -ldnet
> configure:1589: g++ -o conftest conftest.C -ldnet 1>&5
> /usr/bin/ld: cannot find -ldnet
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 1575 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> #ifdef __cplusplus
> extern "C"
> #endif
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char dnet_ntoa();
>
> int main() {
> dnet_ntoa()
> ; return 0; }
> configure:1611: checking for dnet_ntoa in -ldnet_stub
> configure:1633: g++ -o conftest conftest.C -ldnet_stub 1>&5
> /usr/bin/ld: cannot find -ldnet_stub
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 1619 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> #ifdef __cplusplus
> extern "C"
> #endif
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char dnet_ntoa();
>
> int main() {
> dnet_ntoa()
> ; return 0; }
> configure:1655: checking for gethostbyname
> configure:1686: g++ -o conftest conftest.C 1>&5
> configure:1751: checking for connect
> configure:1782: g++ -o conftest conftest.C 1>&5
> configure:1848: checking for remove
> configure:1879: g++ -o conftest conftest.C 1>&5
> configure:1946: checking for shmat
> configure:1977: g++ -o conftest conftest.C 1>&5
> configure:2046: checking for killpg in -lucb
> configure:2068: g++ -o conftest conftest.C -lucb 1>&5
> /usr/bin/ld: cannot find -lucb
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2054 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> #ifdef __cplusplus
> extern "C"
> #endif
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char killpg();
>
> int main() {
> killpg()
> ; return 0; }
> configure:2145: checking for Qt
> configure:2247: g++ -o conftest -I/usr/local/qt/include -L/usr/local/qt/lib -L/usr/X11R6/lib conftest.C -lqt -lXext -lX11 1>&5
> configure:2299: checking if Qt compiles without flags
> configure:2338: g++ -o conftest -I/usr/local/qt/include -L/usr/X11R6/lib conftest.C -lqt -lXext -lX11 1>&5
> configure:2390: checking for moc
> configure:2476: checking for rpath
> configure:2505: checking for bool
> configure:2525: g++ -c conftest.C 1>&5
> configure:2574: checking host system type
> configure:2595: checking target system type
> configure:2613: checking build system type
> configure:2674: checking for working aclocal
> configure:2687: checking for working autoconf
> configure:2700: checking for working automake
> configure:2713: checking for working autoheader
> configure:2726: checking for working makeinfo
> configure:2778: checking for a C-Compiler
> configure:2890: checking whether the C compiler (gcc -g -O2 ) works
> configure:2906: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:2932: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler
> configure:2937: checking whether we are using GNU C
> configure:3011: checking how to run the C preprocessor
> configure:3032: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:3073: checking for a C++-Compiler
> configure:3079: checking for g++
> configure:3195: checking whether the C++ compiler (g++ -s) works
> configure:3211: g++ -o conftest -s conftest.C 1>&5
> configure:3237: checking whether the C++ compiler (g++ -s) is a cross-compiler
> configure:3242: checking whether we are using GNU C++
> configure:3251: g++ -E conftest.C
> configure:3391: checking whether NLS is requested
> configure:3419: checking for msgfmt
> configure:3453: checking for gmsgfmt
> configure:3496: checking for xgettext
> configure:3544: checking for KDE
> configure:3680: checking for extra includes
> configure:3708: checking for extra libs
> configure:3835: checking for kde headers installed
> configure:3882: g++ -c -O2 -Wall -I/usr/include -I/usr/local/qt/include -I/usr/X11R6/include conftest.C
> configure:3890: checking for kde libraries installed
> configure:3893: /bin/sh ./libtool --mode=link g++ -o conftest -O2 -Wall -I/usr/include -I/usr/local/qt/include -I/usr/X11R6/include -s -L/usr/lib -L/usr/X11R6/lib conftest.C -lkdecore -lqt -lXext -lX11 -rpath /usr/lib -rpath /usr/X11R6/lib 1>&5
> mkdir .libs
> g++ -o conftest -O2 -Wall -I/usr/include -I/usr/local/qt/include -I/usr/X11R6/include -s conftest.C -L/usr/lib -L/usr/X11R6/lib /usr/lib/libkdecore.so -lqt -lXext -lX11 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/X11R6/lib
> /tmp/ccC8xImz.o: In function `main':
> /tmp/ccC8xImz.o(.text+0x10): undefined reference to `QString::latin1(void) const'
> /tmp/ccC8xImz.o(.text+0x2c): undefined reference to `QString::latin1(void) const'
> /tmp/ccC8xImz.o(.text+0x48): undefined reference to `QString::latin1(void) const'
> /tmp/ccC8xImz.o(.text+0x64): undefined reference to `QString::latin1(void) const'
> /tmp/ccC8xImz.o(.text+0x80): undefined reference to `QString::latin1(void) const'
> /tmp/ccC8xImz.o(.text+0x9c): more undefined references to `QString::latin1(void) const' follow
> collect2: ld returned 1 exit status

--
-------------IMAC YELLOWDOG LINUX--------------
Bernie Mentink
Email: ebike@paradise.net.nz
-----------------------------------------------



This archive was generated by hypermail 2a24 : Fri Oct 01 1999 - 16:13:45 MDT