Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 18:09:39 +0300
From:      Tomer Weller <spud@i.am>
To:        Oscar Bonilla <obonilla@fisicc-ufm.edu>, FreeBSD Questions <freebsd-questions@FreeBSD.Org>
Subject:   Re: Kmp3 fails to configure (was: KDE Libs)
Message-ID:  <99050618121900.75714@Tomer.DrugsAreGood.org>
References:  <19990506084622.A301@fisicc-ufm.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
config.log attached. 

On Thu, 06 May 1999, you wrote:
> On Thu, May 06, 1999 at 05:17:53PM +0300, Tomer Weller wrote:
> > whenever i try to compile KDE software (ports also) i get this error, though
> > packages install fine. 
> >
> > [snip]
> >
> > 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
> > *** Error code 1
> > 
> 
> in /usr/ports/audio/kmp3/work/kmp3 there should be a config.log file
> that might shine some light on the matter.
> 
> can you post that file?
> 
> regards,
> 
> -Oscar
--
======================================
 Tomer Weller
 spud@i.am
 wellers@netvision.net.il
 "Drugs are good, and if you do'em 
 pepole think that you're cool", NoFX
 

[-- Attachment #2 --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:580: checking for a BSD compatible install
configure:633: checking whether build environment is sane
configure:690: checking whether make sets ${MAKE}
configure:736: checking for working aclocal
configure:749: checking for working autoconf
configure:762: checking for working automake
configure:775: checking for working autoheader
configure:788: checking for working makeinfo
configure:821: checking for a C-Compiler
configure:930: checking whether the C compiler (cc -O -pipe ) works
configure:944: cc -o conftest -O -pipe   conftest.c  1>&5
configure:964: checking whether the C compiler (cc -O -pipe ) is a cross-compiler
configure:969: checking whether we are using GNU C
configure:978: cc -E conftest.c
configure:1035: checking how to run the C preprocessor
configure:1056: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1097: checking for a C++-Compiler
configure:1215: checking whether the C++ compiler (c++  -O -pipe -s) works
configure:1229: c++ -o conftest  -O -pipe  -s conftest.C  1>&5
configure:1255: checking whether the C++ compiler (c++  -O -pipe -s) is a cross-compiler
configure:1260: checking whether we are using GNU C++
configure:1269: c++ -E conftest.C
configure:1356: checking host system type
configure:1379: checking for ranlib
configure:1418: checking for ld used by GCC
configure:1475: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.9.1 (with BFD 2.9.1)
configure:1491: checking for BSD-compatible nm
configure:1528: checking whether ln -s works
configure:1605: checking whether NLS is requested
configure:1633: checking for msgfmt
configure:1667: checking for gmsgfmt
configure:1705: checking for xgettext
configure:1752: checking how to run the C++ preprocessor
configure:1770: c++ -E  conftest.C >/dev/null 2>conftest.out
configure:1790: checking for X
configure:1807: c++ -E  conftest.C >/dev/null 2>conftest.out
configure:1803: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 1802 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:1883: c++ -o conftest  -O -pipe  -s conftest.C -lXt  1>&5
configure: In function `int main()':
configure:1879: warning: implicit declaration of function `int XtMalloc(...)'
/usr/libexec/elf/ld: cannot open -lXt: No such file or directory
configure: failed program was:
#line 1876 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:2030: checking for main in -lcompat
configure:2045: cc -o conftest -O -pipe  -s conftest.c -lcompat   1>&5
configure:2066: checking for main in -lcrypt
configure:2081: cc -o conftest -O -pipe  -s conftest.c -lcrypt   1>&5
configure:2102: checking for the third argument of getsockname
configure:2127: c++ -c  -O -pipe  conftest.C 1>&5
configure: In function `int main()':
configure:2121: `socklen_t' undeclared (first use this function)
configure:2121: (Each undeclared identifier is reported only once
configure:2121: for each function it appears in.)
configure:2121: parse error before `='
configure:2122: `a' undeclared (first use this function)
configure: failed program was:
#line 2114 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <sys/socket.h>

int main() {

socklen_t a=0; 
getsockname(0,(struct sockaddr*)0, &a);

; return 0; }
configure:2156: c++ -c -Werror  -O -pipe  conftest.C 1>&5
configure:2184: checking for dnet_ntoa in -ldnet
configure:2206: c++ -o conftest  -O -pipe  -s conftest.C -ldnet   1>&5
/usr/libexec/elf/ld: cannot open -ldnet: No such file or directory
configure: failed program was:
#line 2192 "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:2228: checking for dnet_ntoa in -ldnet_stub
configure:2250: c++ -o conftest  -O -pipe  -s conftest.C -ldnet_stub   1>&5
/usr/libexec/elf/ld: cannot open -ldnet_stub: No such file or directory
configure: failed program was:
#line 2236 "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:2272: checking for gethostbyname
configure:2303: c++ -o conftest  -O -pipe  -s conftest.C  1>&5
configure:2368: checking for connect
configure:2399: c++ -o conftest  -O -pipe  -s conftest.C  1>&5
configure:2465: checking for remove
configure:2496: c++ -o conftest  -O -pipe  -s conftest.C  1>&5
configure:2563: checking for shmat
configure:2594: c++ -o conftest  -O -pipe  -s conftest.C  1>&5
configure:2663: checking for killpg in -lucb
configure:2685: c++ -o conftest  -O -pipe  -s conftest.C -lucb   1>&5
/usr/libexec/elf/ld: cannot open -lucb: No such file or directory
configure: failed program was:
#line 2671 "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:2762: checking for QT
tried /usr/lib/qt/lib
configure:2863: c++ -o conftest  -O -pipe -I/usr/X11R6/include/X11/qt  -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.C  -lqt -lXext -lX11  1>&5
configure:2915: checking if Qt compiles without flags
configure:2953: c++ -o conftest  -O -pipe -I/usr/X11R6/include/X11/qt  -L/usr/X11R6/lib conftest.C -lqt -lXext -lX11  1>&5
configure:3006: checking for moc
configure:3040: checking for rpath
configure:3069: checking for bool
configure:3089: c++ -c  -O -pipe  conftest.C 1>&5
configure:3113: checking for KDE
configure:3248: checking for extra includes
configure:3275: checking for extra libs
configure:3399: checking for kde headers installed
configure:3440: c++ -c  -O -pipe -I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include  conftest.C
configure:3448: checking for kde libraries installed
configure:3451: /bin/sh ./libtool --mode=link c++ -o conftest  -O -pipe -I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include  -s -L/usr/local/lib -L/usr/X11R6/lib conftest.C  -lkdecore -lqt -lXext -lX11  -rpath /usr/local/lib 1>&5
c++ -o conftest -O -pipe -I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include -s -L/usr/local/lib -L/usr/X11R6/lib conftest.C -lkdecore -lqt -lXext -lX11 -Wl,--rpath -Wl,/usr/local/lib
/usr/libexec/elf/ld: warning: libstdc++.so.2, needed by /usr/local/lib/libkdecore.so, may conflict with libstdc++.so.3
/usr/lib/libstdc++.so.2: undefined reference to `__unwind_function'
/usr/lib/libstdc++.so.2: undefined reference to `__find_first_exception_table_match'
/usr/lib/libstdc++.so.2: undefined reference to `__register_exceptions'

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99050618121900.75714>