Re: Missing header file from gcc

From: Ollivier Robert <roberto_at_keltia.freenix.fr>
Date: Tue, 9 Dec 2003 15:51:19 +0100
According to Marius Strobl:
> Could you elaborate on the other problem? I hit this issue recently,
> copied src/contrib/gcc/config/i386/emmintrin.h to /usr/include and
> ffmepg 0.4.8 in ports and HEAD version from CVS compiled and worked
> fine afterwards.

The build fails with the following at link stage:

make WITH_MP3=yes WITH_FREETYPE2=yes WITH_VORBIS=yes WITH_OPTIMIZED_CFLAGS=yes

cc -L/usr/local/lib -L/usr/X11R6/lib -o ffmpeg_g ffmpeg.o cmdutils.o
-L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz  -logg -lvorbis
-lvorbisenc
ffmpeg.o: In function `av_encode':
ffmpeg.o(.text+0x113a): undefined reference to `av_rescale'
ffmpeg.o: In function `opt_image_format':
ffmpeg.o(.text+0x1abd): undefined reference to `first_image_format'
ffmpeg.o: In function `opt_format':
ffmpeg.o(.text+0x1b38): undefined reference to `first_image_format'
ffmpeg.o: In function `opt_frame_rate':
...
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto_at_keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003
Received on Tue Dec 09 2003 - 05:51:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC