Package: coolkey Version: 1.1.0-3 Usertags: ftbfs-gcc-4.3 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. GCC 4.3 has converted a number of warnings into errors. With GCC 4.3, you're no longer to just redefine a previous #define. You need to either avoid redefinitions directly or to use #ifndef to make sure that something has not been defined already. See http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html
You can reproduce this problem with gcc-snapshot from unstable. Note that Red Hat, Novell and Ubuntu have done some work getting packages to build with GCC 4.3 so there might be patches floating around somewhere. I suggest you talk to your upstream. > Automatic build of coolkey_1.1.0-3 on em64t by sbuild/amd64 0.53 ... > mkdir .libs > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DNSS_HIDE_NONSTANDARD_OBJECTS=1 > -I../../src/libckyapplet -I/usr/include/PCSC -g -O2 -MT > libcoolkeypk11_la-coolkey.lo -MD -MP -MF .deps/libcoolkeypk11_la-coolkey.Tpo > -c coolkey.cpp -fPIC -DPIC -o .libs/libcoolkeypk11_la-coolkey.o > coolkey.cpp:37:1: error: "NULL" redefined > In file included from /usr/include/alloca.h:25, > from /usr/include/stdlib.h:497, > from > /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstdlib:73, > from > /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/stl_algo.h:65, > from > /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/algorithm:67, > from slot.h:27, > from coolkey.cpp:33: > /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/include/stddef.h:400:1: > error: this is the location of the previous definition > coolkey.cpp: In function 'CK_RV C_Initialize(void*)': > coolkey.cpp:238: warning: deprecated conversion from string constant to > 'char*' > make[4]: *** [libcoolkeypk11_la-coolkey.lo] Error 1 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]