Error when compiling vlc-0.8.5 test1

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Guest

Error when compiling vlc-0.8.5 test1

Postby Guest » 17 Mar 2006 15:46

I try to compile the vlc 0.8.5 test1 with:

Code: Select all

./configure --enable-ffmpeg --with-ffmpeg-tree=/home/user/projects/ffmpeg \ --disable-mkv \
Were ffmpeg I get from the ffmpeg cvs, and I compile with:

Code: Select all

./configure --enable-pp --enable-gpl
And I try to compile without the ffmpeg:

Code: Select all

./configure --disable-ffmpeg \ --disable-mkv
But I have the same error in compiling:

Code: Select all

Making all in . make[2]: Entering directory `/home/user/projects/vlc-snapshot-20060316/vlc-0.8.5-test1' /bin/sh ./libtool --mode=link gcc -Wsign-compare -Wall -pipe -o vlc vlc-vlc.o ./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/mux/mpeg/libmux_ts.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_switcher.a -L/usr/local/lib -g -lrt -lpthread -ldl -lm -ldvbpsi -L/home/user/projects/ffmpeg/libavformat /home/user/projects/ffmpeg/libavformat/libavformat.a -L/home/user/projects/ffmpeg/libavcodec /home/user/projects/ffmpeg/libavcodec/libavcodec.a -L/home/user/projects/ffmpeg/libavutil /home/user/projects/ffmpeg/libavutil/libavutil.a -lz -L/home/user/projects/ffmpeg/libavcodec/libpostproc /home/user/projects/ffmpeg/libavcodec/libpostproc/libpostproc.a -lm gcc -Wsign-compare -Wall -pipe -o vlc vlc-vlc.o -g ./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/mux/mpeg/libmux_ts.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_switcher.a-L/usr/local/lib -lrt -lpthread -ldl /usr/lib/libdvbpsi.so -L/home/user/projects/ffmpeg/libavformat /home/user/projects/ffmpeg/libavformat/libavformat.a -L/home/user/projects/ffmpeg/libavcodec /home/user/projects/ffmpeg/libavcodec/libavcodec.a -L/home/user/projects/ffmpeg/libavutil /home/user/projects/ffmpeg/libavutil/libavutil.a -lz -L/home/user/projects/ffmpeg/libavcodec/libpostproc /home/user/projects/ffmpeg/libavcodec/libpostproc/libpostproc.a -lm vlc-vlc.o(.text+0xb): In function `main': src/vlc.c:59: undefined reference to `VLC_Version' vlc-vlc.o(.text+0x57):src/vlc.c:78: undefined reference to `rootwrap' vlc-vlc.o(.text+0x5c):src/vlc.c:81: undefined reference to `VLC_Create' vlc-vlc.o(.text+0xe7):src/vlc.c:102: undefined reference to `VLC_Init' vlc-vlc.o(.text+0x111):src/vlc.c:109: undefined reference to `VLC_AddIntf' vlc-vlc.o(.text+0x11f):src/vlc.c:112: undefined reference to `VLC_CleanUp' vlc-vlc.o(.text+0x12b):src/vlc.c:115: undefined reference to `VLC_Destroy' vlc-vlc.o(.text+0x13e):src/vlc.c:105: undefined reference to `VLC_Destroy' vlc-vlc.o(.text+0x1cb): In function `SigHandler': src/vlc.c:145: undefined reference to `VLC_Die' collect2: ld returned 1 exit status make[2]: ** [vlc] Erro 1 make[2]: Leaving directory `/home/user/projects/vlc-snapshot-20060316/vlc-0.8.5-test1' make[1]: ** [all-recursive] Erro 1 make[1]: Leaving directory `/home/user/projects/vlc-snapshot-20060316/vlc-0.8.5-test1' make: ** [all] Erro 2
Somebody have one idea?

pik

Postby pik » 21 Mar 2006 10:12

Try to use gcc-2.95 and ./configure again

Cheers!

vishalmokal
New Cone
New Cone
Posts: 5
Joined: 20 Nov 2006 07:39
Location: MUMBAI

Postby vishalmokal » 22 Nov 2006 13:42

please tell me how to change the gcc version we r using.
I am also facing the same problem.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests