problem with transcode port
Jeremy Messenger
mezz7 at cox.net
Mon Oct 1 11:42:25 PDT 2007
On Sun, 30 Sep 2007 14:25:15 -0500, Adonis adonis <adonis77 at gmail.com>
wrote:
> hi,
>
> i'm freebsd user from croatia
>
> i can't compile transcode from ports
>
> here is the error message:
>
> ------------------------------------------------------------------------------------
> import_oss.c: In function `oss_init':
> import_oss.c:89: error: `SOUND_PCM_READ_RATE_is_obsolete' undeclared
> (first
> use in this function)
It looks like you have audio/oss installed. I don't have time to test it
at the moment, so can you try to edit in Makefile like this?
Change from:
=========================================
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
CPPFLAGS= -I${X11BASE}/include -I${LOCALBASE}/include
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
SDL_CONFIG="${SDL_CONFIG}"
=========================================
To:
=========================================
CONFIGURE_ENV= CPPFLAGS="-isystem /usr/include -isystem
${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
SDL_CONFIG="${SDL_CONFIG}"
=========================================
Let me know if it works or not. Thanks.
Cheers,
Mezz
> import_oss.c:89: error: (Each undeclared identifier is reported only once
> import_oss.c:89: error: for each function it appears in.)
> gmake[3]: *** [import_oss.lo] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/multimedia/transcode/work/transcode-
> 1.0.4/import'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/multimedia/transcode/work/transcode-
> 1.0.4/import'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/multimedia/transcode/work/transcode-
> 1.0.4'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/multimedia/transcode.
> ---------------------------------------------------------------------------------------------
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
More information about the freebsd-multimedia
mailing list