Compile vlc-0.8.1 on the cygwin has error, help to solve.

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

Compile vlc-0.8.1 on the cygwin has error, help to solve.

Postby Bill » 30 Nov 2004 06:19

Hello All: :

I compile vlc-0.8.1 has error on the sygwin. The program can not pass livedotcom. Can you help me? :(

livedotcom.cpp: In function `int Open(vlc_object_t*)':
livedotcom.cpp:251: error: no matching function for call to `RTSPClient::
describeURL(char*&, NULL, int)'
/usr/win32/live.com/liveMedia/include/RTSPClient.hh:52: error: candidates are: char* RTSPClient::describeURL(const char*, AuthRecord*)
livedotcom.cpp: In function `int Control(demux_t*, int, char*)':
livedotcom.cpp:758: warning: unused variable `int i'
livedotcom.cpp: In function `void StreamRead(void*, unsigned int, unsigned int, timeval, unsigned int)':
livedotcom.cpp:961: warning: comparison between signed and unsigned integer expressions
make[4]: *** [liblivedotcom_a-livedotcom.o] Error 1
make[4]: Leaving directory `/home/vlc-0.8.1/modules/demux'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/vlc-0.8.1/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vlc-0.8.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc-0.8.1'
make: *** [all] Error 2

Best Regards,
Bill

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 30 Nov 2004 09:56

try upgrading to this contrib package:
ftp://download.videolan.org/pub/videola ... ly.tar.bz2

Bill

The same problem!!!

Postby Bill » 30 Nov 2004 16:01

Hello:

Thanks Sigmund. I upgraded contrib package. The program did also has error. I tried contrib package from 2004.09.01 to 2004.11.13. It could not work. I think The livedotcom toolchain may recompile. Does Someboby has compile success vlc-0.8.1 on the cygwin. Reply your successful method, Please. Thanks!!! :( :?:

Regards,

Bill

markfm
Big Cone-huna
Big Cone-huna
Posts: 1535
Joined: 22 Feb 2004 17:42

Postby markfm » 30 Nov 2004 16:13

That really is a contrib package item. The error is because VLC has a function call to livedotcom with 3 parameters, while the contrib package that you're using only shows 2 parameters accepted.

Gibalou fixed the problem in contrib, it's OK in the latest contrib set, when compiling 081 (or current subversion downloads).

What you may have hit is that sometimes expanding the contrib package doesn't seem to overwrite everything (pre-existing files). I've taken to deleting win32 when I want to install a new one, seems to work well.

-Download the latest contrib.
-Delete the usr/win32 directory (I just do this in Windows Explorer)
-Expand the latest contrib, which should recreate usr/win32, but now with correct, current, files

clock_zhong
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Nov 2004 14:35

I also encountered the same problem in Cygwin!

Postby clock_zhong » 06 Dec 2004 14:33

So I disabled the livedotcom package, but I still encounted the problem when the building process encountered the linking stage, the error is below:

g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o vlc.exe src/vlc-vlc.o lib/libvlc.a share/vlc_win32_rc.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/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a -L/usr/local/lib -g -lkernel32 /usr/win32/lib/libiconv.a /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a -lws2_32 -lnetapi32 -lwinmm -mwindows -L/usr/win32/lib -lz -lmatroska -lebml -lavformat -lz -lavcodec -lz -lfaac -lmp3lame
/usr/win32/lib/libmatroska.a(KaxSegment.o)

(.rdata$_ZTIN7libebml11EbmlElementE+0x
0):KaxSegment.cpp: multiple definition of `typeinfo for libebml::EbmlElement'
./modules/demux/libmkv.a(libmkv_a-mkv.o)(.data$_ZTIN7libebml11EbmlElementE+0x0):
/usr/win32/include/ebml/IOCallback.h: first defined here
/usr/win32/lib/libmatroska.a(KaxSegment.o)(.rdata$_ZTSN7libebml11EbmlElementE+0x
0):KaxSegment.cpp: multiple definition of `typeinfo name for libebml::EbmlElemen
t'
./modules/demux/libmkv.a(libmkv_a-mkv.o)(.text$_ZTSN7libebml11EbmlElementE+0x0):
/usr/win32/include/ebml/IOCallback.h: first defined here
/usr/win32/lib/libebml.a(MemIOCallback.o)(.rdata$_ZTVN7libebml10IOCallbackE+0x0)
:MemIOCallback.cpp: multiple definition of `vtable for libebml::IOCallback'
./modules/demux/libmkv.a(libmkv_a-mkv.o)(.data$_ZTVN7libebml10IOCallbackE+0x0):/
usr/win32/include/ebml/IOCallback.h: first defined here
/usr/win32/lib/libebml.a(MemIOCallback.o)(.rdata$_ZTIN7libebml10IOCallbackE+0x0)
:MemIOCallback.cpp: multiple definition of `typeinfo for libebml::IOCallback'

Who has succeeded in cygwin??

markfm
Big Cone-huna
Big Cone-huna
Posts: 1535
Joined: 22 Feb 2004 17:42

Postby markfm » 06 Dec 2004 15:22

I've succeeded on Cygwin, do a compile just about every day.

You need to delete the old usr/win32 directory, and then expand the very latest contrib package, as I said in my earlier post.

clock_zhong
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Nov 2004 14:35

Yes, I also just succeed!

Postby clock_zhong » 06 Dec 2004 16:44

My problem is only because my GCC version is 3.2.0, but the library is made by GCC3.3.1, so I upgrade my GCC, then all are OK!

clock_zhong
Blank Cone
Blank Cone
Posts: 17
Joined: 14 Nov 2004 14:35

Yes, I also just succeed!

Postby clock_zhong » 06 Dec 2004 16:45

My problem is only because my GCC version is 3.2.0, but the library is made by GCC3.3.1, so I upgrade my GCC, then all are OK!
My configuration is :
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-sdl --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-toolame --enable-dvdread \
--enable-debug \
--disable-livedotcom


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests