Subject: Re: Error compiling net/kdenetwork3
To: Sverre Froyen <sverre@viewmark.com>
From: Joe Reed <jnr@po.cwru.edu>
List: tech-pkg
Date: 01/07/2003 09:51:48
i got the same error when attempting to compile kdenetwork3.  after i 
removed ksirc from the SUBDIR in the Makefile, i got the same error in the 
kxmlrpc subdir.  i removed that one as well, and the rest of the package 
installs fine.  (hopefully my kmail will still run ;-) 

anyone know if there's another, better fix for this problem? 

 --joe 

Sverre Froyen writes: 

> Hi, 
> 
> I just rebuilt kde3 using the latest package source.  Compilation of  
> net/kdenetwork3 fails with the error message reproduced below.  There is a 
> similar type error message when compiling kxmlrpc.  The remainder of kde3 
> compiles without error.  Error 19281 (runtime error for konqueror) remains. 
> 
> Sverre 
> 
> System is i386 (current as of late December) 
> 
> gmake[3]: Entering directory 
> `/usr/pkgsrc/net/kdenetwork3/work.i386/kdenetwork-3.0.5a/ksirc'
> /bin/sh ../libtool --mode=link --tag=CXX c++  -O2 -O2 -I/usr/pkg/include 
> -I/usr/X11R6/include -fno-exceptions -fno-check-new -DQT_NO_COMPAT 
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H  
> -fexceptions -UQT_NO_ASCII_CAST  -L/usr/X11R6/qt3/lib 
> -Wl,-R/usr/X11R6/qt3/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib 
> -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o ksirc -L/usr/X11R6/lib  
> -L/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/qt3/lib  -Wl,-R/usr/X11R6/lib 
> -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  dummy.o ksirc.la
> c++ -O2 -O2 -I/usr/pkgsrc/net/kdenetwork3/work.i386/.buildlink/include 
> -I/usr/pkgsrc/net/kdenetwork3/work.i386/.buildlink-x11/include 
> -fno-exceptions -fno-check-new -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE 
> -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -fexceptions 
> -UQT_NO_ASCII_CAST -Wl,-R/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/lib 
> -Wl,-R/usr/pkg/lib -o .libs/ksirc -Wl,-R/usr/X11R6/qt3/lib 
> -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib dummy.o  
> -L/usr/pkgsrc/net/kdenetwork3/work.i386/.buildlink-x11/qt3/lib 
> -L/usr/pkgsrc/net/kdenetwork3/work.i386/.buildlink-x11/lib 
> -L/usr/pkgsrc/net/kdenetwork3/work.i386/.buildlink/lib ./.libs/ksirc.so 
> /usr/X11R6/lib/libkio.so -L/usr/X11R6/qt3/lib 
> -L/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink-x11/lib -L/usr/pkg/lib 
> -L/usr/X11R6/lib 
> -L/usr/pkgsrc/x11/qt3-libs/work.i386/.buildlinksrc/x11/qt3-libs/work.i386/qt-x11-free-3.0.6/lib 
> /usr/X11R6/lib/libkdeui.so /usr/X11R6/lib/libkdefx.so 
> /usr/X11R6/lib/libkdesu.so /usr/X11R6/lib/libkdecore.so 
> /usr/X11R6/lib/libDCOP.so /usr/X11R6/qt3/lib/libqt-mt.so -lGL -lXmu -lXrender 
> -lXft -lfreetype /usr/pkg/lib/libpng.so -lX11 -lSM -lICE 
> /usr/pkg/lib/libpthread.so -lXext -lutil -lz -lstdc++ -lm -lgcc_pic 
> -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/X11R6/qt3/lib -Wl,--rpath 
> -Wl,/usr/pkg/lib
> /usr/lib/crt0.o: In function `___start':
> /usr/lib/crt0.o(.text+0xb8): undefined reference to `main'
> gmake[3]: *** [ksirc] Error 1
> gmake[3]: Leaving directory 
> `/usr/pkgsrc/net/kdenetwork3/work.i386/kdenetwork-3.0.5a/ksirc'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory 
> `/usr/pkgsrc/net/kdenetwork3/work.i386/kdenetwork-3.0.5a/ksirc'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/pkgsrc/net/kdenetwork3/work.i386/kdenetwork-3.0.5a'
> gmake: *** [all] Error 2
> *** Error code 2 
> 
> Stop.
> make: stopped in /usr/pkgsrc/net/kdenetwork3
> *** Error code 1 
> 
> Stop.
> make: stopped in /usr/pkgsrc/net/kdenetwork3 
>