Subject: pkg/26115: SDL_mixer crash compiling in pkgsrc-2004Q2 with NetBSD 2.0_BETA
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <scalopus@punkass.com>
List: pkgsrc-bugs
Date: 06/29/2004 18:22:35
>Number:         26115
>Category:       pkg
>Synopsis:       SDL_mixer crash compiling in pkgsrc-2004Q2 with NetBSD 2.0_BETA
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 29 18:23:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     scalopus
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
NetBSD Shielle.ilrs-lab.net 2.0_BETA NetBSD 2.0_BETA (SHIELLE) #3: Wed Jun 23 00:11:17 CEST 2004  scalopus@Shielle.ilrs-lab.net:/usr/src/sys/arch/i386/compile/SHIELLE i386

>Description:
 gcc -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.5\" -I. -Dunix=1 -I/usr/pkgsrc/audio/SDL_mixer/work/.buildlink/include -DGLX_GLXEXT_LEGACY -O2 -pipe -march=athlon-4 -ffast-math -I/usr/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 -DMP3_MUSIC -I/usr/pkgsrc/audio/SDL_mixer/work/.buildlink/include/smpeg -c timidity.c  -fPIC -DPIC -o .libs/timidity.o
In file included from timidity.c:26:
config.h:168:1: warning: "LITTLE_ENDIAN" redefined
In file included from /usr/include/machine/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/stdlib.h:41,
                 from timidity.c:22:
/usr/include/sys/endian.h:69:1: warning: this is the location of the previous definition
timidity.c: In function `Timidity_Init':
timidity.c:292: error: `PREFIX' undeclared (first use in this function)
timidity.c:292: error: (Each undeclared identifier is reported only once
timidity.c:292: error: for each function it appears in.)
timidity.c:292: error: parse error before string constant
timidity.c: At top level:
timidity.c:297: error: parse error before '->' token
timidity.c:331: error: `samples' undeclared here (not in a function)
timidity.c:331: warning: data definition has no type or storage class
timidity.c:334: error: conflicting types for `resample_buffer'
timidity.c:42: error: previous declaration of `resample_buffer'
timidity.c:334: warning: data definition has no type or storage class
timidity.c:335: error: conflicting types for `common_buffer'
timidity.c:43: error: previous declaration of `common_buffer'
timidity.c:335: warning: data definition has no type or storage class
timidity.c:337: error: conflicting types for `init_tables'
tables.h:45: error: previous declaration of `init_tables'
timidity.c:337: warning: data definition has no type or storage class
timidity.c:339: error: parse error before "if"
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/SDL_mixer/work/SDL_mixer-1.2.5/timidity
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/SDL_mixer/work/SDL_mixer-1.2.5
*** Error code 1

>How-To-Repeat:
cd /usr/pkgsrc/audio/SDL_mixer && make 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: