[vlc] Still compilation problem on Win32...

Andreas Olsson andols7373 at hotmail.com
Tue Jul 12 10:02:45 CEST 2005


Hi,

A few days ago I posted an issue with compilation problem in udp.c. With a 
more recent snapshot that was solved. However I still have problems 
compiling on Win32 with cygwin. I follow the INSTALL.win32 and get:

windres: share/vlc_win32_rc.rc:15: syntax error
make[2]: *** [share/vlc_win32_rc.o] Error 1

I found a suggestion to modify vlc_win32_rc.rc to this:

#define VERSION_NUMBER 0,0,0,0
VLC_ICON ICON "vlc48x48new.ico"
#ifndef VERSION_NUMBER
#define VERSION_NUMBER 0,0,0,0
#endif
...

But still the compilation fails! Now there is no to me obvious error message 
(see below). Can someone please help me?

...
Making all in .
make[2]: Entering directory `/cygdrive/c/dev/vlc-snapshot-20050711'
windres -DVERSION=snapshot-20050711 -DVERSION_NUMBER=`echo 
snapshot-20050711.0.0
.0 | sed 
's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\
1,\2,\3,\4/'` --include-dir ./share -i share/vlc_win32_rc.rc -o 
share/vlc_win32_
rc.o
share/vlc_win32_rc.rc:1:1: warning: "VERSION_NUMBER" redefined
<command line>:8:1: warning: this is the location of the previous definition
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/m
isc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a 
./modules/vid
eo_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a 
./modules
/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a 
./modul
es/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblivedotcom.a 
./modules/mux/mpeg
/libmux_ts.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a 
./modul
es/stream_out/libstream_out_switcher.a -L/usr/local/lib -g -lkernel32 
/usr/win32
/lib/libiconv.a /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a -lws2_32 
-lne
tapi32 -lwinmm -mwindows -L/usr/win32/lib 
-L/usr/win32/live.com/UsageEnvironment
-lUsageEnvironment -L/usr/win32/live.com/groupsock -lgroupsock 
-L/usr/win32/liv
e.com/BasicUsageEnvironment -lBasicUsageEnvironment 
-L/usr/win32/live.com/liveMe
dia -lliveMedia -lws2_32 -ldvbpsi -lz -lmatroska -lebml -lavformat -lz 
-lavcodec
-lz -lfaac -lmp3lame
/usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text$_ZNSt14__simple_alloc
IPKN11libmatroska13KaxBlockGroupESt24__default_alloc_templateILb1ELi0EEE8allocat
eEj[std::__simple_alloc<libmatroska::KaxBlockGroup const*, 
std::__default_alloc_
template<true, 0> >::allocate(unsigned int)]+0x1d): undefined reference to 
`std:
:__default_alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text$_ZNSt14__simple_alloc
IPKN11libmatroska13KaxBlockGroupESt24__default_alloc_templateILb1ELi0EEE10deallo
cateEPS3_j[std::__simple_alloc<libmatroska::KaxBlockGroup const*, 
std::__default
_alloc_template<true, 0> >::deallocate(libmatroska::KaxBlockGroup const**, 
unsig
ned int)]+0x1d): undefined reference to `std::__default_alloc_template<true, 
0>:
:deallocate(void*, unsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE10dealloca
teEPS2_j[std::__simple_alloc<libmatroska::DataBuffer*, 
std::__default_alloc_temp
late<true, 0> >::deallocate(libmatroska::DataBuffer**, unsigned int)]+0x1d): 
und
efined reference to `std::__default_alloc_template<true, 
0>::deallocate(void*, u
nsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIiSt24__default_alloc_templateILb1ELi0EEE10deallocateEPij[std::__simple_alloc<
int, std::__default_alloc_template<true, 0> >::deallocate(int*, unsigned 
int)]+0
x1d): undefined reference to `std::__default_alloc_template<true, 
0>::deallocate
(void*, unsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE8allocateE
j[std::__simple_alloc<libmatroska::DataBuffer*, 
std::__default_alloc_template<tr
ue, 0> >::allocate(unsigned int)]+0x1d): undefined reference to 
`std::__default_
alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIiSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<int,
std::__default_alloc_template<true, 0> >::allocate(unsigned int)]+0x1d): 
undefin
ed reference to `std::__default_alloc_template<true, 0>::allocate(unsigned 
int)'

/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj[std::__simple_allo
c<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
std::_
_default_alloc_template<true, 0> >::deallocate(std::basic_string<char, 
std::char
_traits<char>, std::allocator<char> >*, unsigned int)]+0x1d): undefined 
referenc
e to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned 
int)'
/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<std:
:basic_string<char, std::char_traits<char>, std::allocator<char> >, 
std::__defau
lt_alloc_template<true, 0> >::allocate(unsigned int)]+0x1d): undefined 
reference
to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateEj[st
d::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_template<true, 
0>
>::allocate(unsigned int)]+0x1d): undefined reference to 
>`std::__default_alloc_t
emplate<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10deallocateEP
S2_j[std::__simple_alloc<libebml::EbmlElement*, 
std::__default_alloc_template<tr
ue, 0> >::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined 
ref
erence to `std::__default_alloc_template<true, 0>::deallocate(void*, 
unsigned in
t)'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/cygdrive/c/dev/vlc-snapshot-20050711'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/dev/vlc-snapshot-20050711'
make: *** [all] Error 2


Thanks in advance!
/Andreas

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list