Failing to compile on Debian Etch

Yan Seiner yan at seiner.com
Thu Aug 3 17:49:42 CEST 2006


Recently I moved my development system from Debian Stable to Debian Etch 
(long story....)

I copied everything pretty much wholesale, including toolchain and all 
my source files.

Everything else compiles fine.  Konqueror is giving me fits.

Every other time I've run into this, it's been a problem with the local 
system header files getting used rather than the crosstool headers, but 
that's not the case here.  It's using the correct headers for the 
toolchain...

Can anyone shed some light on this?

I've got to be missing something basic.... It worked before and now it 
doesn't.....

--Yan

if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile 
arm-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I../../../konq-embed/kdesrc/kdecore -I../../../konq-embed/kdesrc/kjs 
-I../../../konq-embed/kdesrc/kssl -I../../../konq-embed/dropin 
-I../../../konq-embed/dropin/kio -I../../../konq-embed/kdesrc 
-I../../../konq-embed/kdesrc/kdecore 
-I../../../konq-embed/kdesrc/kdecore/network 
-I../../../konq-embed/kdesrc/kssl -I../../../konq-embed/kdesrc/kssl   
-I/include -I/home/local/src/qt-embedded-free-3.3.4-ys/include    
-DQT_THREAD_SUPPORT -DQWS -D_REENTRANT  -Wno-long-long -Wundef -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 
-msoft-float -I/usr/local/include -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT 
-DQT_NO_ASCII_CAST  -MT slaveconfig.moc.lo -MD -MP -MF 
".deps/slaveconfig.moc.Tpo" -c -o slaveconfig.moc.lo slaveconfig.moc.cc; \
        then mv -f ".deps/slaveconfig.moc.Tpo" 
".deps/slaveconfig.moc.Plo"; else rm -f ".deps/slaveconfig.moc.Tpo"; 
exit 1; fi
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile 
arm-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I../../../konq-embed/kdesrc/kdecore -I../../../konq-embed/kdesrc/kjs 
-I../../../konq-embed/kdesrc/kssl -I../../../konq-embed/dropin 
-I../../../konq-embed/dropin/kio -I../../../konq-embed/kdesrc 
-I../../../konq-embed/kdesrc/kdecore 
-I../../../konq-embed/kdesrc/kdecore/network 
-I../../../konq-embed/kdesrc/kssl -I../../../konq-embed/kdesrc/kssl   
-I/include -I/home/local/src/qt-embedded-free-3.3.4-ys/include    
-DQT_THREAD_SUPPORT -DQWS -D_REENTRANT  -Wno-long-long -Wundef -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 
-msoft-float -I/usr/local/include -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT 
-DQT_NO_ASCII_CAST  -MT ftp.lo -MD -MP -MF ".deps/ftp.Tpo" -c -o ftp.lo 
ftp.cc; \
        then mv -f ".deps/ftp.Tpo" ".deps/ftp.Plo"; else rm -f 
".deps/ftp.Tpo"; exit 1; fi
In file included from ftp.cc:37:
../../../konq-embed/kdesrc/kdecore/netsupp.h:284: error: previous 
declaration of `int KDE::inet_pton(int, const char*, void*)' with C++ 
linkage
/opt/crosstool/gcc-3.4.4-glibc-2.3.2/arm-linux/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/arpa/inet.h:60: 
error: conflicts with new declaration with C linkage
../../../konq-embed/kdesrc/kdecore/netsupp.h:295: error: previous 
declaration of `const char* KDE::inet_ntop(int, const void*, char*, 
size_t)' with C++ linkage
/opt/crosstool/gcc-3.4.4-glibc-2.3.2/arm-linux/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/sys-include/arpa/inet.h:67: 
error: conflicts with new declaration with C linkage
In file included from ../../../konq-embed/dropin/kglobal.h:27,
                 from ../../../konq-embed/dropin/klocale.h:31,
                 from ftp.cc:56:
../../../konq-embed/dropin/kapplication.h:46:1: warning: 
"KDE_VERSION_STRING" redefined
In file included from ../../../konq-embed/dropin/kconfig.h:34,
                 from ../../../konq-embed/dropin/kio/slavebase.h:34,
                 from ftp.h:35,
                 from ftp.cc:26:
../../../konq-embed/kdesrc/kdecore/kdeversion.h:25:1: warning: this is 
the location of the previous definition
make[5]: *** [ftp.lo] Error 1
make[5]: Leaving directory 
`/home/local/src/konqueror3-embedded-0.2-20060121-ys/konq-embed/kdesrc/kio'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/local/src/konqueror3-embedded-0.2-20060121-ys/konq-embed/kdesrc/kio'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/local/src/konqueror3-embedded-0.2-20060121-ys/konq-embed/kdesrc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/local/src/konqueror3-embedded-0.2-20060121-ys/konq-embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/local/src/konqueror3-embedded-0.2-20060121-ys'
make: *** [all] Error 2



More information about the konq-e mailing list