Bugzilla – Bug 9583
Compile error on 64bit Linux
Last modified: 2008-11-07 04:01:30 UTC
I'm trying to compile http://svn.slimdevices.com/repos/jive/7.3/trunk, rev. 2968 on Ubuntu Hardy 64bit. I get the following error: make[1]: Leaving directory `/home/simen/checkout/squeezeplay/src/squeezeplay' make[1]: Entering directory `/home/simen/checkout/squeezeplay/src/squeezeplay' make all-am make[2]: Entering directory `/home/simen/checkout/squeezeplay/src/squeezeplay' if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./src -I/home/simen/checkout/squeezeplay//build/linux/include -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -I/home/simen/checkout/squeezeplay//build/linux/include/freetype2 -g -pg -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Werror -pg -MT jive_event.lo -MD -MP -MF ".deps/jive_event.Tpo" -c -o jive_event.lo `test -f 'src/ui/jive_event.c' || echo './'`src/ui/jive_event.c; \ then mv -f ".deps/jive_event.Tpo" ".deps/jive_event.Plo"; else rm -f ".deps/jive_event.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I./src -I/home/simen/checkout/squeezeplay//build/linux/include -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -I/home/simen/checkout/squeezeplay//build/linux/include/freetype2 -g -pg -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Werror -pg -MT jive_event.lo -MD -MP -MF .deps/jive_event.Tpo -c src/ui/jive_event.c -o jive_event.o if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./src -I/home/simen/checkout/squeezeplay//build/linux/include -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -I/home/simen/checkout/squeezeplay//build/linux/include/freetype2 -g -pg -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Werror -pg -MT jive_font.lo -MD -MP -MF ".deps/jive_font.Tpo" -c -o jive_font.lo `test -f 'src/ui/jive_font.c' || echo './'`src/ui/jive_font.c; \ then mv -f ".deps/jive_font.Tpo" ".deps/jive_font.Plo"; else rm -f ".deps/jive_font.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I./src -I/home/simen/checkout/squeezeplay//build/linux/include -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -I/home/simen/checkout/squeezeplay//build/linux/include/freetype2 -g -pg -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Werror -pg -MT jive_font.lo -MD -MP -MF .deps/jive_font.Tpo -c src/ui/jive_font.c -o jive_font.o if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./src -I/home/simen/checkout/squeezeplay//build/linux/include -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -I/home/simen/checkout/squeezeplay//build/linux/include/freetype2 -g -pg -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Werror -pg -MT jive_framework.lo -MD -MP -MF ".deps/jive_framework.Tpo" -c -o jive_framework.lo `test -f 'src/ui/jive_framework.c' || echo './'`src/ui/jive_framework.c; \ then mv -f ".deps/jive_framework.Tpo" ".deps/jive_framework.Plo"; else rm -f ".deps/jive_framework.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I./src -I/home/simen/checkout/squeezeplay//build/linux/include -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -I/home/simen/checkout/squeezeplay//build/linux/include/freetype2 -g -pg -I/home/simen/checkout/squeezeplay//build/linux/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Werror -pg -MT jive_framework.lo -MD -MP -MF .deps/jive_framework.Tpo -c src/ui/jive_framework.c -o jive_framework.o cc1: warnings being treated as errors src/ui/jive_framework.c: In function 'process_event': src/ui/jive_framework.c:992: warning: cast to pointer from integer of different size src/ui/jive_framework.c:1170: warning: cast from pointer to integer of different size src/ui/jive_framework.c:1171: warning: cast from pointer to integer of different size make[2]: *** [jive_framework.lo] Error 1 make[2]: Leaving directory `/home/simen/checkout/squeezeplay/src/squeezeplay' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/simen/checkout/squeezeplay/src/squeezeplay' make: *** [squeezeplay] Error 2
Alan: can you take a look at this?
Change 3306