Page 1 of 1

Cygwin/XP compiling problem

Posted: 21 Jul 2005 19:14
by Jinja
Hi all,
I want to start writing / playing with the VLC code, but am having problems getting my first build compiled.

System is XP2 / Cygwin / last nights build / gcc 3.3.3

I have followed all the instructions in the development how to page.

The output from the compile is below.

If anyone can see something wrong with this please let me know.
Thanks alot!


make all-recursive
make[1]: Entering directory `/home/Dave/vlc-trunk'
Making all in intl
make[2]: Entering directory `/home/Dave/vlc-trunk/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Dave/vlc-trunk/intl'
Making all in loader
make[2]: Entering directory `/home/Dave/vlc-trunk/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Dave/vlc-trunk/loader'
Making all in modules
make[2]: Entering directory `/home/Dave/vlc-trunk/modules'
Making all in access
make[3]: Entering directory `/home/Dave/vlc-trunk/modules/access'
make[4]: Entering directory `/home/Dave/vlc-trunk/modules/access'
make[4]: `libaccess_file_plugin.dll' is up to date.
make[4]: `libaccess_directory_plugin.dll' is up to date.
make[4]: `libaccess_udp_plugin.dll' is up to date.
make[4]: `libaccess_tcp_plugin.dll' is up to date.
make[4]: `libaccess_http_plugin.dll' is up to date.
make[4]: `libaccess_ftp_plugin.dll' is up to date.
make[4]: `libaccess_smb_plugin.dll' is up to date.
make[4]: `libdvdnav_plugin.dll' is up to date.
make[4]: `libdvdread_plugin.dll' is up to date.
make[4]: `libaccess_fake_plugin.dll' is up to date.
make[4]: `libcdda_plugin.dll' is up to date.
make[4]: Leaving directory `/home/Dave/vlc-trunk/modules/access'
make all-recursive
make[4]: Entering directory `/home/Dave/vlc-trunk/modules/access'
Making all in dshow
make[5]: Entering directory `/home/Dave/vlc-trunk/modules/access/dshow'
make[6]: Entering directory `/home/Dave/vlc-trunk/modules/access/dshow'
g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/
win32/lib -o libdshow_plugin.dll libdshow_plugin_a-dshow.o libdshow_plugin_a-fil
ter.o libdshow_plugin_a-crossbar.o `top_builddir=../../.. ../../../vlc-config --
libs plugin dshow`
libdshow_plugin_a-dshow.o: In function `_Z19FindDevicesCallbackP12vlc_object_tPK
c11vlc_value_tS3_Pv':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:1725: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z21ConfigDevicesCallbackP12vlc_object_t
PKc11vlc_value_tS3_Pv':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:1789: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z10CommonOpenP12vlc_object_tP12access_s
ys_ti':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:274: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z10OpenDeviceP12vlc_object_tP12access_s
ys_tSsi':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:785: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z17FindCaptureDeviceP12vlc_object_tPSsP
St4listISsSaISsEEi':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:1053: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o:/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:(.
text$_ZNSt4listISsSaISsEE14_M_create_nodeERKSs[std::list<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_strin
g<char, std::char_traits<char>, std::allocator<char> > > >::_M_create_node(std::
basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x12)
: more undefined references to `___gxx_personality_sj0' follow
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: more undefined references to `__Unwind_Resume' follow
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(eh_throw.o):: undefined reference to `__Unwind_RaiseException'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(eh_throw.o):: undefined reference to `__Unwind_RaiseException'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(new_op.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(eh_personality.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: more undefined references to `__Unwind_Resume' follow
collect2: ld returned 1 exit status
make[6]: *** [libdshow_plugin.dll] Error 1
make[6]: Leaving directory `/home/Dave/vlc-trunk/modules/access/dshow'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/Dave/vlc-trunk/modules/access/dshow'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Dave/vlc-trunk/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Dave/vlc-trunk/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Dave/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Dave/vlc-trunk'
make: *** [all] Error 2

Re: Cygwin/XP compiling problem

Posted: 22 Jul 2005 12:24
by DarkGod
Hi all,
I want to start writing / playing with the VLC code, but am having problems getting my first build compiled.

System is XP2 / Cygwin / last nights build / gcc 3.3.3

I have followed all the instructions in the development how to page.

The output from the compile is below.

If anyone can see something wrong with this please let me know.
Thanks alot!


make all-recursive
make[1]: Entering directory `/home/Dave/vlc-trunk'
Making all in intl
make[2]: Entering directory `/home/Dave/vlc-trunk/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Dave/vlc-trunk/intl'
Making all in loader
make[2]: Entering directory `/home/Dave/vlc-trunk/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Dave/vlc-trunk/loader'
Making all in modules
make[2]: Entering directory `/home/Dave/vlc-trunk/modules'
Making all in access
make[3]: Entering directory `/home/Dave/vlc-trunk/modules/access'
make[4]: Entering directory `/home/Dave/vlc-trunk/modules/access'
make[4]: `libaccess_file_plugin.dll' is up to date.
make[4]: `libaccess_directory_plugin.dll' is up to date.
make[4]: `libaccess_udp_plugin.dll' is up to date.
make[4]: `libaccess_tcp_plugin.dll' is up to date.
make[4]: `libaccess_http_plugin.dll' is up to date.
make[4]: `libaccess_ftp_plugin.dll' is up to date.
make[4]: `libaccess_smb_plugin.dll' is up to date.
make[4]: `libdvdnav_plugin.dll' is up to date.
make[4]: `libdvdread_plugin.dll' is up to date.
make[4]: `libaccess_fake_plugin.dll' is up to date.
make[4]: `libcdda_plugin.dll' is up to date.
make[4]: Leaving directory `/home/Dave/vlc-trunk/modules/access'
make all-recursive
make[4]: Entering directory `/home/Dave/vlc-trunk/modules/access'
Making all in dshow
make[5]: Entering directory `/home/Dave/vlc-trunk/modules/access/dshow'
make[6]: Entering directory `/home/Dave/vlc-trunk/modules/access/dshow'
g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/
win32/lib -o libdshow_plugin.dll libdshow_plugin_a-dshow.o libdshow_plugin_a-fil
ter.o libdshow_plugin_a-crossbar.o `top_builddir=../../.. ../../../vlc-config --
libs plugin dshow`
libdshow_plugin_a-dshow.o: In function `_Z19FindDevicesCallbackP12vlc_object_tPK
c11vlc_value_tS3_Pv':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:1725: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z21ConfigDevicesCallbackP12vlc_object_t
PKc11vlc_value_tS3_Pv':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:1789: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z10CommonOpenP12vlc_object_tP12access_s
ys_ti':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:274: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z10OpenDeviceP12vlc_object_tP12access_s
ys_tSsi':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:785: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o: In function `_Z17FindCaptureDeviceP12vlc_object_tPSsP
St4listISsSaISsEEi':
/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:1053: undefined reference to
`___gxx_personality_sj0'
libdshow_plugin_a-dshow.o:/home/Dave/vlc-trunk/modules/access/dshow/dshow.cpp:(.
text$_ZNSt4listISsSaISsEE14_M_create_nodeERKSs[std::list<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_strin
g<char, std::char_traits<char>, std::allocator<char> > > >::_M_create_node(std::
basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x12)
: more undefined references to `___gxx_personality_sj0' follow
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(string-inst.o):: more undefined references to `__Unwind_Resume' follow
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(eh_throw.o):: undefined reference to `__Unwind_RaiseException'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(eh_throw.o):: undefined reference to `__Unwind_RaiseException'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(new_op.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(eh_personality.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libstdc++
.a(functexcept.o):: more undefined references to `__Unwind_Resume' follow
collect2: ld returned 1 exit status
make[6]: *** [libdshow_plugin.dll] Error 1
make[6]: Leaving directory `/home/Dave/vlc-trunk/modules/access/dshow'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/Dave/vlc-trunk/modules/access/dshow'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Dave/vlc-trunk/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Dave/vlc-trunk/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Dave/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Dave/vlc-trunk'
make: *** [all] Error 2
I think you must use GCC-3.4.4.
Try to reinstall gcc (running cygwin setup application) and update the compiler version to 3.4.4.
After this, retype "make"...

Posted: 23 Jul 2005 09:05
by zcot
no, do not upgrade gcc to 3.4.4, but 3.3.3 should be fine..

have you followed also the README.win32?

are you using this between each failed bootstrap/config/make attempt?:

Code: Select all

./toolbox --distclean
are you using the most up-to-date contrib lib package?

Posted: 23 Jul 2005 14:15
by DarkGod
no, do not upgrade gcc to 3.4.4, but 3.3.3 should be fine..
Mmmh..
If gcc 3.4.4 don't works with some library, it is suffcient to rebuild that library with gcc 3.4.4. ;)