Date: Thu, 20 Sep 2007 17:20:11 GMT From: laddassm <laddassm@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/116488: compile error in multimedia/transcode Message-ID: <200709201720.l8KHKB9f098443@www.freebsd.org> Resent-Message-ID: <200709202110.l8KLA2FS052173@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116488 >Category: ports >Synopsis: compile error in multimedia/transcode >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 20 21:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: laddassm >Release: 6.2-RELEASE >Organization: University of Nizhni Novgorod >Environment: FreeBSD laddassm.home.vlan 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Feb 28 15:09:47 MSK 2007 root@laddassm.vmware.local:/usr/src/sys/i386/compile/LDS i386 >Description: I can't compile ports/multimedia/transcode with ports/audio/oss installed. This error occured because this oss version was been changed API. There are some lines of compile log: import_oss.c: In function `oss_init': import_oss.c:89: error: `SOUND_PCM_READ_RATE_is_obsolete' undeclared (first use in this function) 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. >How-To-Repeat: cd /usr/ports/audio/oss make install clean cd /usr/ports/multimedia/transcode make install clean >Fix: [Patch] *** import_oss.c.orig Thu Sep 20 20:02:45 2007 --- import_oss.c Thu Sep 20 21:05:45 2007 *************** *** 86,95 **** --- 86,97 ---- return(1); } + #if OSS_VERSION < 0x040000 if (ioctl(oss_fd, SOUND_PCM_READ_RATE, &sample_rate) < 0) { perror("SOUND_PCM_READ_RATE"); return(1); } + #endif return(0); } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709201720.l8KHKB9f098443>