Package: plptools Version: 0.15-1 Severity: serious Tags: patch When building 'plptools' on amd64/unstable, I get the following error:
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -MT psitime.lo -MD -MP -MF ".deps/psitime.Tpo" -c -o psitime.lo psitime.cc; \ then mv -f ".deps/psitime.Tpo" ".deps/psitime.Plo"; else rm -f ".deps/psitime.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -MT psitime.lo -MD -MP -MF .deps/psitime.Tpo -c psitime.cc -fPIC -DPIC -o .libs/psitime.o ../include/plp_inttypes.h:30: error: conflicting declaration 'typedef long long unsigned int u_int64_t' /usr/include/sys/types.h:200: error: 'u_int64_t' has a previous declaration as 'typedef long unsigned int u_int64_t' make[2]: *** [psitime.lo] Error 1 make[2]: Leaving directory `/plptools-0.15/lib' With the attached patch 'plptools' can be compiled on amd64. Regards Andreas Jochens diff -urN ../tmp-orig/plptools-0.15/include/plp_inttypes.h ./include/plp_inttypes.h --- ../tmp-orig/plptools-0.15/include/plp_inttypes.h 2004-05-31 13:37:08.000000000 +0000 +++ ./include/plp_inttypes.h 2006-08-22 07:29:09.000000000 +0000 @@ -16,20 +16,11 @@ #endif #ifndef GNU_INTTYPES -#ifdef ISO_INTTYPES typedef uint8_t u_int8_t; typedef uint16_t u_int16_t; typedef uint32_t u_int32_t; typedef uint64_t u_int64_t; typedef int64_t s_int64_t; -#else -/* Last resort, declare ourselves */ -typedef unsigned char u_int8_t; -typedef unsigned short u_int16_t; -typedef unsigned int u_int32_t; -typedef unsigned long long u_int64_t; -typedef signed long long s_int64_t; -#endif // ISO_INTTYPES #endif // GNU_INTTYPES #endif // _INTTYPES_H_ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]