Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Oct 2007 12:35:18 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Adonis adonis" <adonis77@gmail.com>
Cc:        multimedia@freebsd.org
Subject:   Re: problem with transcode port
Message-ID:  <op.tzi4g4pn9aq2h7@mezz.mezzweb.com>
In-Reply-To: <8e7f7cbd0709301225r5b858d47pb46c93acfa3be088@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Sun, 30 Sep 2007 14:25:15 -0500, Adonis adonis <adonis77@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@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tzi4g4pn9aq2h7>