Bug 9583 - Compile error on 64bit Linux
: Compile error on 64bit Linux
Status: RESOLVED FIXED
Product: SB Desktop
Classification: Unclassified
Component: UI
: unspecified
: PC Ubuntu Linux
: -- critical (vote)
: ---
Assigned To: Alan Young
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-25 06:17 UTC by Simen E. Sandberg
Modified: 2008-11-07 04:01 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simen E. Sandberg 2008-09-25 06:17:15 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
Comment 1 James Richardson 2008-10-30 10:39:30 UTC
Alan: can you take a look at this?
Comment 2 Alan Young 2008-11-07 04:01:30 UTC
Change 3306