Subject: Re: pkg/28882
To: None <wiz@NetBSD.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: pkgsrc-bugs
Date: 01/06/2005 16:50:36
On Thu, Jan 06, 2005 at 04:25:05PM +0100, Nicolas Joly wrote:
> On Thu, Jan 06, 2005 at 01:52:29PM +0000, wiz@NetBSD.org wrote:
> > Synopsis: devel/SDL 1.2.8 compilation failure on NetBSD/amd64
> > 
> > State-Changed-From-To: open->feedback
> > State-Changed-By: wiz@netbsd.org
> > State-Changed-When: Thu, 06 Jan 2005 13:52:28 +0000
> > State-Changed-Why:
> > tron committed a fix -- does it work now?
> 
> Problem gone. Thanks a lot.

SDL 1.2.8 seems to be fixed ... but other SDL_* modules do not like
it (at least SDL_mixer, and SDL_sound):

 cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -Dunix=1 -I/local/src/NetBSD/pkgsrc/audio/SDL_mixer/work/.buildlink/include -DGLX_GLXEXT_LEGACY -DPREFIX=\"/usr/pkg\" -I/local/src/NetBSD/pkgsrc/audio/SDL_mixer/work/.buildlink/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -DMP3_MUSIC -I/local/src/NetBSD/pkgsrc/audio/SDL_mixer/work/.buildlink/include/smpeg -MT effect_position.lo -MD -MP -MF .deps/effect_position.Tpo -c effect_position.c  -fPIC -DPIC -o .libs/effect_position.o
/local/src/NetBSD/pkgsrc/audio/SDL_mixer/work/.buildlink/include/SDL/SDL_endian.h: In function `SDL_Swap16':
/local/src/NetBSD/pkgsrc/audio/SDL_mixer/work/.buildlink/include/SDL/SDL_endian.h:71: error: inconsistent operand constraints in an `asm'
*** Error code 1


 cc -DHAVE_CONFIG_H -I. -I../.. -I/local/src/NetBSD/pkgsrc/audio/SDL_sound/work/.buildlink/include -DGLX_GLXEXT_LEGACY -O2 -I/local/src/NetBSD/pkgsrc/audio/SDL_sound/work/.buildlink/include/SDL -D_REENTRANT -I/local/src/NetBSD/pkgsrc/audio/SDL_sound/work/.buildlink/include/smpeg -c output.c -MT output.lo -MD -MP -MF .deps/output.TPlo  -fPIC -DPIC -o .libs/output.o
output.c: In function `s32tos16x':
/local/src/NetBSD/pkgsrc/audio/SDL_sound/work/.buildlink/include/SDL/SDL_endian.h:71: error: inconsistent operand constraints in an `asm'
*** Error code 1

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.