Date: Sun, 25 Feb 2007 23:50:07 +0100 From: Martin Tournoij <carpetsmoker@xs4all.nl> To: freebsd-questions@freebsd.org Cc: ABabiy@shaw.ca Subject: Re: ffmpeg build fails Message-ID: <20070225225007.GA92099@xs3.xs4all.nl> In-Reply-To: <200702251318.02997.ABabiy@shaw.ca> References: <200702251318.02997.ABabiy@shaw.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun 25 Feb 2007 13:02, Andriy Babiy wrote: > Hi all. > > Is anyone else experiencing this problem? What can I do to avoid it? Thank > you very much in advance for advices. > > Andriy > > ==================== > S01060014bf5ee711# uname -a > FreeBSD S01060014bf5ee711 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 22 > 00:43:46 PST 2007 root@:/usr/obj/usr/src/sys/KRNSTABLE amd64 > > ================== > gmake[1]: Entering directory > `/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavformat' > cc -O3 -Wall -fPIC -DPIC -I/usr/local/include -I/usr/X11R6/include -fomit-frame-pointer -fno-unit-at-a-time -I.. -I/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1 -I/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o > audio.o audio.c > audio.c:24:27: sys/soundcard.h: No such file or directory > audio.c: In function `audio_open': > audio.c:81: error: `SNDCTL_DSP_GETFMTS' undeclared (first use in this > function) > audio.c:81: error: (Each undeclared identifier is reported only once > audio.c:81: error: for each function it appears in.) > audio.c:92: error: `AFMT_S16_LE' undeclared (first use in this function) > audio.c:94: error: `AFMT_S16_BE' undeclared (first use in this function) > audio.c:113: error: `SNDCTL_DSP_SETFMT' undeclared (first use in this > function) > audio.c:120: error: `SNDCTL_DSP_STEREO' undeclared (first use in this > function) > audio.c:129: error: `SNDCTL_DSP_SPEED' undeclared (first use in this > function) > audio.c: In function `audio_read_packet': > audio.c:243: error: storage size of 'abufi' isn't known > audio.c:279: error: `SNDCTL_DSP_GETISPACE' undeclared (first use in this > function) > audio.c:243: warning: unused variable `abufi' > gmake[1]: *** [audio.o] Error 1 > gmake[1]: Leaving directory > `/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavformat' > gmake: *** [lib] Error 2 > *** Error code 2 > > Stop in /usr/ports/multimedia/ffmpeg. ffmpeg can't find /usr/include/sys/soundcard.h Did you delete /usr/include? You can extract the 6.2 base tarball into annother directory (for example /usr/base) and then copy /usr/base/usr/include to /usr/include. Or you can copy the files from the freebsd source...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070225225007.GA92099>