[vlc] VLC-1.1.5: error building live555

Brilliantov Kirill Vladimirovich brilliantov at byterg.ru
Thu Jan 13 10:41:27 CET 2011


Hello!
I have try build VLC-1.1.5 on my Debian system for Windows.
My packages:
$ dpkg -l | grep mingw
ii  gcc-mingw32                          4.4.4-0.1+b1
 The GNU Compiler Collection (cross compiler for MingW32 / MingW64)
ii  mingw32-binutils                     2.20-0.1
 Minimalist GNU win32 (cross) binutils
ii  mingw32-runtime                      3.17-1
 Minimalist GNU win32 (cross) runtime

My steps:
- cd vlc-1.1.5/extract/contrib
- ./bootstrap i586-mingw32msvc
- make

On live555 I get this error:
make -C src
make[1]: Entering directory `/tmp/vlc-1.1.5/extras/contrib/src'
rm -rf live || true
gunzip -c live555-latest.tar.gz | tar xf - --exclude='[*?:<>\|]'
mv live555-latest live || true
mv: cannot stat `live555-latest': No such file or directory
touch live
patch -p0 < Patches/live-uselocale.patch
patching file live/liveMedia/include/Locale.hh
patching file live/liveMedia/Locale.cpp
patching file live/liveMedia/RTSPClient.cpp
Hunk #1 succeeded at 919 (offset -4 lines).
patching file live/liveMedia/RTSPCommon.cpp
Hunk #1 FAILED at 136.
1 out of 1 hunk FAILED -- saving rejects to file
live/liveMedia/RTSPCommon.cpp.rej
make[1]: *** [live] Error 1
make[1]: Leaving directory `/tmp/vlc-1.1.5/extras/contrib/src'
make: *** [using-src] Error 2

If I ignore it and run again make:
make -C src
make[1]: Entering directory `/tmp/vlc-1.1.5/extras/contrib/src'
(cd live;./genMakefiles mingw && make CC="i586-mingw32msvc-gcc"
CXX="i586-mingw32msvc-g++" LD="i586-mingw32msvc-ld"
RANLIB="i586-mingw32msvc-ranlib" AR="i586-mingw32msvc-ar"
STRIP="i586-mingw32msvc-strip")
make[2]: Entering directory `/tmp/vlc-1.1.5/extras/contrib/src/live'
cd liveMedia ; make
make[3]: Entering directory
`/tmp/vlc-1.1.5/extras/contrib/src/live/liveMedia'
i586-mingw32msvc-g++ -c -Iinclude -I../UsageEnvironment/include
-I../groupsock/include -I. -O -DSOCKLEN_T=int -DLOCALE_NOT_USED
-D__MINGW32__ -Wall -Wno-deprecated RTSPClient.cpp
RTSPClient.cpp: In function ‘char* createScaleString(float, float)’:
RTSPClient.cpp:472: error: ‘LC_NUMERIC’ was not declared in this scope
RTSPClient.cpp: In function ‘char* createRangeString(double, double)’:
RTSPClient.cpp:486: error: ‘LC_NUMERIC’ was not declared in this scope
RTSPClient.cpp:490: error: ‘LC_NUMERIC’ was not declared in this scope
make[3]: *** [RTSPClient.o] Error 1
make[3]: Leaving directory
`/tmp/vlc-1.1.5/extras/contrib/src/live/liveMedia'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/vlc-1.1.5/extras/contrib/src/live'
make[1]: *** [.live] Error 2
make[1]: Leaving directory `/tmp/vlc-1.1.5/extras/contrib/src'
make: *** [using-src] Error 2

How can I solve this problem?
Thank you and excuse me for my bad english.

-- 
С уважением,
Бриллиантов Кирилл Владимирович
…………………………………………………………………
программист, технический отдел
ООО «БайтЭрг»
Видеокамеры МВК – Эффективность разумных решений
…………………………………………………………………
+7(495)221-66-22 доб.122
http://www.byterg.ru    http://www.bestdvr.ru



More information about the vlc mailing list