Package: plptools Version: 0.15-2 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. > Automatic build of plptools_0.15-2 on coconut0 by sbuild/ia64 0.49 ... > Making all in ncpd > make[2]: Entering directory `/build/tbm/plptools-0.15/ncpd' > if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../lib -MT channel.o -MD > -MP -MF ".deps/channel.Tpo" -c -o channel.o channel.cc; \ > then mv -f ".deps/channel.Tpo" ".deps/channel.Po"; else rm -f > ".deps/channel.Tpo"; exit 1; fi > channel.cc: In destructor 'virtual channel::~channel()': > channel.cc:45: error: 'free' was not declared in this scope > channel.cc: In member function 'void channel::setNcpConnectName(const char*)': > channel.cc:161: error: 'free' was not declared in this scope > make[2]: *** [channel.o] Error 1 --- kde2/kioslave/kio_plp.cpp~ 2007-04-02 21:05:01.000000000 +0000 +++ kde2/kioslave/kio_plp.cpp 2007-04-02 21:05:09.000000000 +0000 @@ -28,6 +28,7 @@ #include <rpcsfactory.h> #include <bufferarray.h> +#include <cstdlib> #include <iomanip> #include <string> --- kde2/klipsi/toplevel.cpp~ 2007-04-02 21:10:48.000000000 +0000 +++ kde2/klipsi/toplevel.cpp 2007-04-02 21:10:55.000000000 +0000 @@ -40,6 +40,7 @@ #include <psibitmap.h> +#include <cstdlib> #include <iostream> #define QUIT_ITEM 50 --- kde2/kpsion/wizards.cpp~ 2007-04-02 21:08:28.000000000 +0000 +++ kde2/kpsion/wizards.cpp 2007-04-02 21:08:35.000000000 +0000 @@ -24,6 +24,7 @@ #include <config.h> #endif +#include <cstdlib> #include <errno.h> #include <sys/types.h> #include <unistd.h> --- ncpd/channel.cc~ 2007-04-02 21:02:52.000000000 +0000 +++ ncpd/channel.cc 2007-04-02 21:02:59.000000000 +0000 @@ -24,6 +24,7 @@ #ifdef HAVE_CONFIG_H #include <config.h> #endif +#include <cstdlib> #include <iostream> #include <string> --- sisinstall/sisinstaller.cpp~ 2007-04-02 21:04:11.000000000 +0000 +++ sisinstall/sisinstaller.cpp 2007-04-02 21:04:17.000000000 +0000 @@ -6,6 +6,7 @@ #include "sisreqrecord.h" #include "psion.h" +#include <cstdlib> #include <errno.h> #include <unistd.h> #include <stdio.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]