[vlc] Re: vlc compile error
Danny Brown
danbrwn at gmail.com
Fri Oct 7 20:27:54 CEST 2005
looks like either you dont have the include file noted (.h file)
or the one included is using a deprecated (in case english is a second
language: deprecated means no longer supported) command.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from ffmpeg.c:36:
/home/me/src/v/ffmpeg/libavcodec/avcodec.h:14:20: error: avutil.h: No such
file
or directory
The file in question looks like avcodec.h or avutil.h , look for the files
and then see if they use -mcpu= if so change it to -mtune= or -march=.
This is of course just a guess? Good luck
On 10/7/05, cc <nyvsld at gmail.com> wrote:
>
> hi,
> im building vlc-0.8.2,
> all third-party libraries installed in $HOME, and env vars are set to find
> them,
>
> export CFLAGS='-I$HOME/include'
> export CPPFLAGS='-I$HOME/include'
> export LDFLAGS='-L$HOME/lib'
> export PATH=$PATH:$HOME/bin
>
> ffmpeg is latest cvs source, configured with
> ./configure --enable-pp --enable-gpl
>
> vlc configured like this,
> ./configure --prefix=$HOME --with-ffmpeg-tree=$HOME/src/ffmpeg
>
> later when i type make, after a while, it said:
>
> Making all in ffmpeg
> make[5]: Entering directory `/home/me/src/vlc-0.8.2/modules/codec/ffmpeg'
> make[6]: Entering directory `/home/me/src/vlc-0.8.2/modules/codec/ffmpeg'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/home/me/include
> -DSYS_LINUX -I../../../include `top_builddir="../../.."
> ../../../vlc-config --cflags builtin ffmpeg` -Wsign-compare -Wall
> -I/home/me/include -pipe -MT libffmpeg_a-ffmpeg.o -MD -MP -MF
> ".deps/libffmpeg_a-ffmpeg.Tpo" -c -o libffmpeg_a-ffmpeg.o `test -f
> 'ffmpeg.c' || echo './'`ffmpeg.c; \
> then mv -f ".deps/libffmpeg_a-ffmpeg.Tpo"
> ".deps/libffmpeg_a-ffmpeg.Po"; else rm -f
> ".deps/libffmpeg_a-ffmpeg.Tpo"; exit 1; fi
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> In file included from ffmpeg.c:36:
> /home/me/src/v/ffmpeg/libavcodec/avcodec.h:14:20: error: avutil.h: No such
> file
> or directory
>
>
> so anyone please tell me whats wrong with it?
> thx.
>
> --
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20051007/a9146b79/attachment.html>
More information about the vlc
mailing list