Thanks Martin. After reading a bit online, I *think* if I s/int/long/ at
btt_infohash.c:44 and btt_xml.h:12 everything will be happy, but I'm not
entirely sure. I'll try verify by building with gcc 4.2 in hercules,
incredibly slow, but the closest thing I have to a 64-bit system right
now...

        - Tyler


Martin Michlmayr <[EMAIL PROTECTED]> wrote:
> Package: mod-bt
> Version: 0.0.18+p4.1469-1
> 
> Your package fails to build with GCC 4.2.  Version 4.2 has not been
> released yet but I'm building with a snapshot in order to find errors
> and give people an advance warning.  You can reproduce this with the
> gcc-snapshot package from unstable or gcc-4.2 from experimental.
> 
> 
> > Automatic build of mod-bt_0.0.18+p4.1469-1 on coconut0.coconut.gelato.org 
> > by sbuild/ia64 0.49
> ...
> >  ia64-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> > -DPACKAGE=\"mod_bt\" -DVERSION=\"0.0.18\" -DSTDC_HEADERS=1 
> > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
> > -DHAVE_MODPERL_APACHE_INCLUDES_H=1 -DHAVE_ZEND_ZEND_H=1 -DSIZEOF_TIME_T=8 
> > -I. -I. -I../../../src -I/usr/include/apr-0 -DLINUX=2 -D_REENTRANT 
> > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
> > -I/usr/include/libxml2 -I/usr/include/apache2 -I/usr/include/php5 
> > -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend 
> > -I/usr/include/php5/ext -g -O2 -O2 -Wall -Werror -MT btt_infohash.lo -MD 
> > -MP -MF .deps/btt_infohash.Tpo -c btt_infohash.c  -fPIC -DPIC -o 
> > .libs/btt_infohash.o
> > cc1: warnings being treated as errors
> > btt_infohash.c:51: warning: cast from pointer to integer of different size
> > btt_infohash.c:51: warning: cast from pointer to integer of different size
> > btt_infohash.c:52: warning: cast from pointer to integer of different size
> > btt_infohash.c:52: warning: cast from pointer to integer of different size
> > btt_infohash.c:53: warning: cast from pointer to integer of different size
> > btt_infohash.c:53: warning: cast from pointer to integer of different size
> > btt_infohash.c:54: warning: cast from pointer to integer of different size
> > btt_infohash.c:54: warning: cast from pointer to integer of different size
> > btt_infohash.c:55: warning: cast from pointer to integer of different size
> > btt_infohash.c:55: warning: cast from pointer to integer of different size
> > btt_infohash.c:56: warning: cast from pointer to integer of different size
> > btt_infohash.c:56: warning: cast from pointer to integer of different size
> > btt_infohash.c:57: warning: cast from pointer to integer of different size
> > btt_infohash.c:57: warning: cast from pointer to integer of different size
> > btt_infohash.c:58: warning: cast from pointer to integer of different size
> > btt_infohash.c:58: warning: cast from pointer to integer of different size
> > btt_infohash.c:59: warning: cast from pointer to integer of different size
> > btt_infohash.c:59: warning: cast from pointer to integer of different size
> > btt_infohash.c:60: warning: cast from pointer to integer of different size
> > btt_infohash.c:60: warning: cast from pointer to integer of different size
> > btt_infohash.c:61: warning: cast from pointer to integer of different size
> > btt_infohash.c:61: warning: cast from pointer to integer of different size
> > btt_infohash.c:62: warning: cast from pointer to integer of different size
> > btt_infohash.c:62: warning: cast from pointer to integer of different size
> > btt_infohash.c:63: warning: cast from pointer to integer of different size
> > btt_infohash.c:63: warning: cast from pointer to integer of different size
> > btt_infohash.c:64: warning: cast from pointer to integer of different size
> > btt_infohash.c:64: warning: cast from pointer to integer of different size
> > btt_infohash.c:65: warning: cast from pointer to integer of different size
> > btt_infohash.c:65: warning: cast from pointer to integer of different size
> > btt_infohash.c:66: warning: cast from pointer to integer of different size
> > btt_infohash.c:66: warning: cast from pointer to integer of different size
> > btt_infohash.c:67: warning: cast from pointer to integer of different size
> > btt_infohash.c:67: warning: cast from pointer to integer of different size
> > btt_infohash.c:68: warning: cast from pointer to integer of different size
> > btt_infohash.c:68: warning: cast from pointer to integer of different size
> > btt_infohash.c:69: warning: cast from pointer to integer of different size
> > btt_infohash.c:69: warning: cast from pointer to integer of different size
> > btt_infohash.c:70: warning: cast from pointer to integer of different size
> > btt_infohash.c:70: warning: cast from pointer to integer of different size
> > make[4]: *** [btt_infohash.lo] Error 1
> > make[4]: Leaving directory 
> > `/build/tbm/mod-bt-0.0.18+p4.1469/src/libbttracker/types'
> 
> -- 
> Martin Michlmayr
> http://www.cyrius.com/
> 

-- 
Tank will revolutionarily repurpose 24/365 services.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to