Hello,
I'm the maintainer of perl-SDL for cAos Linux (http://caos.caosity.org) and I've got two questions.
The first is what version of perl-SDL is the latest. We currently have one based on a tarball called SDL_Perl-2.1.2.tar.gz, but I see in CPAN that the version there is in the 1.2's.
The other question is whether anyone has seen this error, and has any way to fix it;
src/SDL_perl.xs -> src/SDL_perl.c
/usr/bin/perl "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi" "-I/usr/lib/perl5/5.8.5"
"/usr/lib/perl5/5.8.5/ExtUtils/xsubpp" -noprototypes -typemap "/usr/lib/perl5/5.8.5/ExtUtils/typemap"
"src/SDL_perl.xs"gcc -I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE -fPIC -I/usr/include/smpeg
-I/usr/include/SDL -I/usr/include -I/usr/include/SDL -D_REENTRANT -DHAVE_PNG -DHAVE_SDL -DHAVE_SDL_TTF -DHAVE_SDL_NET
-DHAVE_SDL_IMAGE -DHAVE_SDL_GFX -DHAVE_JPEG -DHAVE_SMPEG -DHAVE_SDL_MIXER -DUSE_THREADS -fPIC -c -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -o src/SDL_perl.o src/SDL_perl.c
SDL_perl.xs: In function `XS_SDL_CreateRGBSurfaceFrom':
SDL_perl.xs:750: warning: comparison is always false due to limited range of
data type
SDL_perl.xs:751: warning: comparison is always false due to limited range of
data type
SDL_perl.xs: In function `XS_SDL_SurfaceCopy':
SDL_perl.xs:775: warning: comparison is always false due to limited range of
data type
SDL_perl.xs:776: warning: comparison is always false due to limited range of
data type
SDL_perl.xs: In function `XS_SDL_NetResolveIP':
SDL_perl.xs:2448: warning: assignment discards qualifiers from pointer target
type
SDL_perl.c: In function `XS_SDL_NetWrite16':
SDL_perl.c:5394: error: extended registers have no high halves
{standard input}: Assembler messages:
{standard input}:58934: Error: bad register name `%'
error building .o file from 'src/SDL_perl.c' at
/usr/lib/perl5/vendor_perl/5.8.5/Module/Build/Base.pm line 2476.(whole buildlog is on http://caos.nplus1.net/cAos-2/ext/autobuilder/x86_64/00_LOGS/maartens/perl-SDL/perl-SDL.log.broken )
regards,
Maarten Stolte
