pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32242: multimedia/mplayer fails to build on Darwin



>Number:         32242
>Category:       pkg
>Synopsis:       multimedia/mplayer fails to build on Darwin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 04 21:30:00 +0000 2005
>Originator:     efnbp05%bn2.maus.net@localhost
>Release:        pkgsrc-2005Q3
>Organization:
        
>Environment:
        Mac OS 10.3.9, pkgsrc 2005Q3
Architecture: N/A
Machine: N/A
>Description:
        Building multimedia/mplayer fails unless oss support is disabled:
        
        ===> Building for mplayer-1.0rc7nb2
        /usr/bin/gnumake -C libao2
        gcc -pipe -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 
-mcpu=7450 -mtune=7450 -faltivec -pipe -ffast-math -fomit-frame-pointer 
-DSYS_DARWIN -DCONFIG_DARWIN -I/usr/pkg/include  -I. -I..  -I/usr/pkg/include  
-I/usr/pkg/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/pkg/include   
  -o ao_oss.o ao_oss.c
        ao_oss.c: In function `format2oss':
        ao_oss.c:47: error: `AFMT_U8' undeclared (first use in this function)
        ao_oss.c:47: error: (Each undeclared identifier is reported only once
        ao_oss.c:47: error: for each function it appears in.)
        ao_oss.c:48: error: `AFMT_S8' undeclared (first use in this function)
        ao_oss.c:49: error: `AFMT_U16_LE' undeclared (first use in this 
function)
        ao_oss.c:50: error: `AFMT_U16_BE' undeclared (first use in this 
function)
        ao_oss.c:51: error: `AFMT_S16_LE' undeclared (first use in this 
function)
        ao_oss.c:52: error: `AFMT_S16_BE' undeclared (first use in this 
function)
        ao_oss.c:81: error: `AFMT_MU_LAW' undeclared (first use in this 
function)
        ao_oss.c:82: error: `AFMT_A_LAW' undeclared (first use in this function)
        ao_oss.c:83: error: `AFMT_IMA_ADPCM' undeclared (first use in this 
function)
        ao_oss.c: In function `oss2format':
        ao_oss.c:99: error: `AFMT_U8' undeclared (first use in this function)
        ao_oss.c:100: error: `AFMT_S8' undeclared (first use in this function)
        ao_oss.c:101: error: `AFMT_U16_LE' undeclared (first use in this 
function)
        ao_oss.c:102: error: `AFMT_U16_BE' undeclared (first use in this 
function)
        ao_oss.c:103: error: `AFMT_S16_LE' undeclared (first use in this 
function)
        ao_oss.c:104: error: `AFMT_S16_BE' undeclared (first use in this 
function)
        ao_oss.c:133: error: `AFMT_MU_LAW' undeclared (first use in this 
function)
        ao_oss.c:134: error: `AFMT_A_LAW' undeclared (first use in this 
function)
        ao_oss.c:135: error: `AFMT_IMA_ADPCM' undeclared (first use in this 
function)
        ao_oss.c: At top level:
        ao_oss.c:148: error: parse error before "zz"
        ao_oss.c:148: warning: data definition has no type or storage class
        ao_oss.c:152: error: `SOUND_MIXER_PCM' undeclared here (not in a 
function)
        ao_oss.c: In function `control':
        ao_oss.c:176: error: `SOUND_MIXER_READ_DEVMASK' undeclared (first use 
in this function)
        ao_oss.c: In function `init':
        ao_oss.c:208: error: `SOUND_MIXER_NRDEVICES' undeclared (first use in 
this function)
        ao_oss.c:208: error: `SOUND_DEVICE_NAMES' undeclared (first use in this 
function)
        ao_oss.c:227: error: `SOUND_MIXER_READ_DEVMASK' undeclared (first use 
in this function)
        ao_oss.c:277: error: `SNDCTL_DSP_SPEED' undeclared (first use in this 
function)
        ao_oss.c:285: error: `AFMT_S16_BE' undeclared (first use in this 
function)
        ao_oss.c:291: error: `SNDCTL_DSP_SETFMT' undeclared (first use in this 
function)
        ao_oss.c:313: error: `SNDCTL_DSP_CHANNELS' undeclared (first use in 
this function)
        ao_oss.c:321: error: `SNDCTL_DSP_STEREO' undeclared (first use in this 
function)
        ao_oss.c:338: error: `SNDCTL_DSP_GETOSPACE' undeclared (first use in 
this function)
        ao_oss.c:341: error: `SNDCTL_DSP_GETBLKSIZE' undeclared (first use in 
this function)
        ao_oss.c:349: error: request for member `fragments' in something not a 
structure or union
        ao_oss.c:349: error: request for member `fragstotal' in something not a 
structure or union
        ao_oss.c:349: error: request for member `fragsize' in something not a 
structure or union
        ao_oss.c:349: error: request for member `bytes' in something not a 
structure or union
        ao_oss.c:350: error: request for member `bytes' in something not a 
structure or union
        ao_oss.c:351: error: request for member `fragsize' in something not a 
structure or union
        ao_oss.c: In function `reset':
        ao_oss.c:418: error: `SNDCTL_DSP_SETFMT' undeclared (first use in this 
function)
        ao_oss.c:421: error: `SNDCTL_DSP_CHANNELS' undeclared (first use in 
this function)
        ao_oss.c:424: error: `SNDCTL_DSP_STEREO' undeclared (first use in this 
function)
        ao_oss.c:426: error: `SNDCTL_DSP_SPEED' undeclared (first use in this 
function)
        ao_oss.c: In function `get_delay':
        ao_oss.c:496: error: `SNDCTL_DSP_GETOSPACE' undeclared (first use in 
this function)
        ao_oss.c:497: error: request for member `bytes' in something not a 
structure or union
        gnumake[1]: *** [ao_oss.o] Error 1
        gnumake: *** [libao2/libao2.a] Error 2
        *** Error code 2
        
        Stop.
        bmake: stopped in /usr/pkgsrc/multimedia/mplayer
>How-To-Repeat:
        cd /usr/pkgsrc/multimedia/mplayer; bmake
>Fix:
        PKG_OPTIONS.mplayer=-oss




Home | Main Index | Thread Index | Old Index