Subject: pkg/18381: libmikmod fails to build in zoularis
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dolemite@wuli.nu>
List: netbsd-bugs
Date: 09/22/2002 23:03:41
>Number: 18381
>Category: pkg
>Synopsis: libmikmod fails to build in zoularis
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 22 23:04:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Alex Newman
>Release: SunOS5.8
>Organization:
Psi Upsilon
>Environment:
SunOS unknown 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-5_10
>Description:
when building libmikmod you get this error.
gmake[2]: Entering directory `/usr/pkgsrc/audio/libmikmod/work/libmikmod-3.1.10libmikmod'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I/usr/pkg/inclue -O2 -I/usr/pkg/include -finline-functions -funroll-loops -ffast-math -Wall -Dnix -I../include -I.. -I../include -DMIKMOD_H=../include/mikmod.h -c ../driversdrv_sun.c
../drivers/drv_sun.c: In function `Sun_Init':
../drivers/drv_sun.c:335: `AUDIO_ENCODING_SLINEAR_BE' undeclared (first use in his function)
../drivers/drv_sun.c:335: (Each undeclared identifier is reported only once
../drivers/drv_sun.c:335: for each function it appears in.)
../drivers/drv_sun.c:335: `AUDIO_ENCODING_ULINEAR_BE' undeclared (first use in his function)
gmake[2]: *** [drv_sun.lo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/audio/libmikmod/work/libmikmod-3.1.10/ibmikmod'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/audio/libmikmod/work/libmikmod-3.1.10'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/audio/libmikmod
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/audio/libmikmod
I know this file is already patched in patch-ad
>How-To-Repeat:
cd /usr/pkgsrc/audio/libmikmod;bmake clean;cvs update -d -P;bmake install
>Fix:
kust guesses from google info
#define AUDIO_ENCODING_ULINEAR_BE 9
#define AUDIO_ENCODING_SLINEAR_BE 7
in solaris
>Release-Note:
>Audit-Trail:
>Unformatted: