[pkg-boinc-devel] Building amd64 packages

Marc F. Clemente marc at mclemente.net
Mon Jul 18 04:34:57 UTC 2005

I tried building boinc-client (version 4.7) for my amd64, but I have 
been unsuccessful.  I am not that proficient in c++ (I am clueless), but 
  I am guessing that sizes of int, pointers, etc are not the same and 
casting doesn't work right.  I don't know where to go from here...

Please let me know if I can help somebody.



This is what I get, with lots of stuff deleted...

if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../api -I../db 
-I../RSAEuro/source -I../client -I../tools -I../sched 
-I/usr/include/mysql -DBIG_JOINS=1 -pthread -include ../config.h 
-D__NO_CTYPE -I../lib -I../api -I../db -I../RSAEuro/source -I../client 
-I../tools -I../sched -I/usr/include/mysql -DBIG_JOINS=1 -pthread 
-include ../config.h -g -Wall -O2 -pthread -MT shmem.o -MD -MP -MF 
".deps/shmem.Tpo" -c -o shmem.o shmem.C; \
then mv -f ".deps/shmem.Tpo" ".deps/shmem.Po"; else rm -f 
".deps/shmem.Tpo"; exit 1; fi
shmem.C: In function 'int attach_shmem(key_t, void**)':
shmem.C:131: error: cast from 'void*' to 'int' loses precision
shmem.C: In function 'int print_shmem_info(key_t)':
shmem.C:157: warning: format '%d' expects type 'int', but argument 5 has 
type 'size_t'
make[3]: *** [shmem.o] Error 1
make[3]: Leaving directory `/usr/src/boinc-4.70/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/boinc-4.70'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/boinc-4.70'
make: *** [debian/stamp-makefile-build] Error 2
Exit 2

More information about the pkg-boinc-devel mailing list