[vlc] Re: vlc-0.7.0-test1 compile error

Derk-Jan Hartman hartman at videolan.org
Tue Dec 2 13:05:58 CET 2003


I had the same problem once.
It was because i had an older version of VLC installed.
When you use --with-ffmpeg-tree you cannot have a copy of ffmpeg  
installed at the same time, because it will take precedence.

DJ


On 02 dec 2003, at 11:53, Philippe Van Hecke wrote:

> Hi when i compile i have the follwing error
>
> g++ -Wsign-compare -Wsign-compare -Wall -finline-limit-30000 -pipe -o  
> vlc src/
> vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/
> video_chroma/libi420_rgb_mmx.a  
> ./modules/video_chroma/libi422_yuy2_mmx.a ./
> modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/
> libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a  
> ./modules/misc/
> memcpy/libmemcpy3dn.a ./modules/demux/liblivedotcom.a  
> ./modules/codec/ffmpeg/
> libffmpeg.a ./modules/stream_out/libstream_out_transcode.a  
> -L/usr/local/lib
> -lrt -lpthread -ldl -L/usr/lib/live/UsageEnvironment  
> -lUsageEnvironment -L/
> usr/lib/live/groupsock -lgroupsock  
> -L/usr/lib/live/BasicUsageEnvironment
> -lBasicUsageEnvironment -L/usr/lib/live/liveMedia -lliveMedia  
> -L/tmp/vlc/
> ffmpeg/libavcodec -lavcodec -lmp3lame -lm -L/tmp/vlc/ffmpeg/libavcodec  
> -lm
> ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a- 
> encoder.o)(.text+0x379): In
> function `OpenEncoder__ffmpeg':
> : undefined reference to `av_d2q'
> collect2: ld returned 1 exit status
> make[2]: *** [vlc] Error 1
> make[2]: Leaving directory `/tmp/vlc/vlc-0.7.0-test1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/vlc/vlc-0.7.0-test1'
> make: *** [all] Error 2
>
> System: Gentoo
>
> gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
> ffmpeg version from cvs compiled with the following option
> --enable-mp3lame
>  --enable-faad
> --enable-a52
> --enable-pp
>
> FFMPEG_VERSION_INT     0x000408
> FFMPEG_VERSION         "0.4.8"
> LIBAVCODEC_BUILD       4693
>
> vlc configured with following flags
> --with-ffmpeg-mp3lame
> --with-ffmpeg-tree=/tmp/vlc/ffmpeg/
> --enable-livedotcom
> --with-livedotcom-tree=/usr/lib/live
>
> don't see how to resolve the problem. I have look into the avcodec.h  
> but don't
> see any av_d2q function.
>
> Some Help is welcome
>
> Philippe
>
> -- 
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
>
>
---
Videolan - VLC media player
Derk-Jan Hartman (hartman at videolan dot org)
Developer of the MacOS X port of vlc
http://www.videolan.org/vlc

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list