[streaming] Re: problems to compile with cygwin:
Yan Lu
yan.lu at innovonics.net
Tue Mar 28 02:22:22 CEST 2006
Thanks Uttam. I have got it right now. But I got other errors when I intend
to build vlc by typing "make". I built all module with no problems, the
errors come out when 'make' runs command
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/liblivedotcom.a ./modules/mux/mpeg/libmux_ts.a
./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a
./modules/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 -lnetapi32 -lwinmm -mwindows -L/usr/win32/lib
-L/usr/win32/live.com/UsageEnvironment -lUsageEnvironment
-L/usr/win32/live.com/groupsock -lgroupsock
-L/usr/win32/live.com/BasicUsageEnvironment -lBasicUsageEnvironment
-L/usr/win32/live.com/liveMedia -lliveMedia -lws2_32 -ldvbpsi -lz -lmatroska
-lebml -lavformat -lz -lavcodec -lavutil -lz -lfaac -lmp3lame
/usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text$_ZNSt14__simple_a
llocIPKN11libmatroska12KaxBlockBlobESt24__default_alloc_templateILb1ELi0EEE8
allocateEj[std::__simple_alloc<libmatroska::KaxBlockBlob 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_a
llocIPKN11libmatroska12KaxBlockBlobESt24__default_alloc_templateILb1ELi0EEE1
0deallocateEPS3_j[std::__simple_alloc<libmatroska::KaxBlockBlob const*,
std::__default_alloc_template<true, 0>
>::deallocate(libmatroska::KaxBlockBlob const**, unsigned int)]+0x1d):
undefined reference to `std::__default_alloc_template<true,
0>::deallocate(void*, unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__si
mple_allocIPN11libmatroska12KaxBlockBlobESt24__default_alloc_templateILb1ELi
0EEE8allocateEj[std::__simple_alloc<libmatroska::KaxBlockBlob*,
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(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__si
mple_allocIPN11libmatroska12KaxBlockBlobESt24__default_alloc_templateILb1ELi
0EEE10deallocateEPS2_j[std::__simple_alloc<libmatroska::KaxBlockBlob*,
std::__default_alloc_template<true, 0>
>::deallocate(libmatroska::KaxBlockBlob**, unsigned int)]+0x1d): undefined
reference to `std::__default_alloc_template<true, 0>::deallocate(void*,
unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__si
mple_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8a
llocateEj[std::__simple_alloc<libebml::EbmlElement*,
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(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__si
mple_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10
deallocateEPS2_j[std::__simple_alloc<libebml::EbmlElement*,
std::__default_alloc_template<true, 0> >::deallocate(libebml::EbmlElement**,
unsigned 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
_allocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE10
deallocateEPS2_j[std::__simple_alloc<libmatroska::DataBuffer*,
std::__default_alloc_template<true, 0>
>::deallocate(libmatroska::DataBuffer**, unsigned 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
_allocIiSt24__default_alloc_templateILb1ELi0EEE10deallocateEPij[std::__simpl
e_alloc<int, std::__default_alloc_template<true, 0> >::deallocate(int*,
unsigned 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
_allocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE8a
llocateEj[std::__simple_alloc<libmatroska::DataBuffer*,
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(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple
_allocIiSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_all
oc<int, 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/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple
_allocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj[std::__sim
ple_alloc<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 reference to
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple
_allocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_al
loc<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::__default_alloc_template<true, 0> >::allocate(unsigned int)]+0x1d):
undefined reference to `std::__default_alloc_template<true,
0>::allocate(unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/home/vlc/vlc-0.8.4a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc/vlc-0.8.4a'
make: *** [all] Error 2
Please give any suggestion for this issue. Thanks in Advance.
Yan
_____
From: streaming-bounce at videolan.org [mailto:streaming-bounce at videolan.org]
On Behalf Of uttam sahu
Sent: Monday, March 27, 2006 7:42 PM
To: streaming at videolan.org
Subject: [streaming] Re: problems to compile with cygwin:
Hello Yan
before configuring vlc make install libmad and ffmpeg. Configure ffmpeg with
option
./configure --enable-pp --enable-gpl
Then
set PKG_CONFIG_PATH to where ur ffmpeg.pc and libmad.pc are available. They
should be in the main directory.
Do the following
export PKG_CONFIG_PATH=/....../ffmpeg- :/....../libmad- /
(u have to give the exact path and folder names)
Then configure vlc with the following options
./configure --enable-shared --enable-shared-pp --enable-pp --enable-gpl
Best of luck
Uttam
On 3/27/06, Yan Lu <yan.lu at innovonics.net> wrote:
Hi
I followed the instructions stated in INSTALL.win32 to build vlc using
source tar ball vlc-0.8.4a.tar.gz, and I also install all required libraries
from contrib-20051208-win32-bin-gcc3.3.1-only.tar.tar. Then I have got
error:
checking for mad_bit_init in -lmad... no
configure: error: Cannot find libmad library...
If I set option in configure, such as:
./configure -disable-mad
Then I got error:
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.
Attached config.log in this email. Please give some help. Thanks in
Advance!
--
Yan
--
_____
This e-mail message has been scanned for Viruses and Content and cleared by
NetIQ MailMarshal
_____
--
Uttama Kumar Sahu
MTech, CEDT
Room No- 1F 71, New Hostel
Indian Institute of Science, Bangalore-12
Phone- 09886483559
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared
by NetIQ MailMarshal.
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/streaming/attachments/20060328/477b82e9/attachment.htm
More information about the streaming
mailing list