[Gentoo] compile error
Posted: Mon Nov 01, 2010 7:45 pm
I'm trying to compile oss-devel-9999 on a i686 machine and get the following error in ossplay_parser.c:
The related lines are:
Maybe the datatypes have a different size on i686 and amd64. I didn't find something about ldouble_t.
Code: Select all
cc -c -march=prescott -O2 -fomit-frame-pointer -pipe -O -O -O -DOGG_SUPPORT -Wall -Werror -DOSS_LITTLE_ENDIAN -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossplay_console.c -o ./ossplay_console.o
cc -c -march=prescott -O2 -fomit-frame-pointer -pipe -O -O -O -DOGG_SUPPORT -Wall -Werror -DOSS_LITTLE_ENDIAN -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossplay_decode.c -o ./ossplay_decode.o
cc -c -march=prescott -O2 -fomit-frame-pointer -pipe -O -O -O -DOGG_SUPPORT -Wall -Werror -DOSS_LITTLE_ENDIAN -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossplay_parser.c -o ./ossplay_parser.o
cc1: warnings being treated as errors
ossplay_parser.c: In function 'aiff_comm_parse':
ossplay_parser.c:1184: error: left shift count >= width of type
ossplay_parser.c:1184: error: division by zero
ossplay_parser.c: In function 'caf_desc_parse':
ossplay_parser.c:1698: error: left shift count >= width of type
ossplay_parser.c:1698: error: division by zero
make[2]: *** [ossplay_parser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-sound/oss-devel-9999/work/build/cmd/ossplay'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/oss-devel-9999/work/build/cmd'
make: *** [subdirs] Error 1
emake failed
* ERROR: media-sound/oss-devel-9999 failed:The related lines are:
Code: Select all
COMM_rate /= 1L << 32;
...
rate /= 1L << 32;Maybe the datatypes have a different size on i686 and amd64. I didn't find something about ldouble_t.