[vlc-devel] Re: error compiling vlc on gentoo system

Edmundas Bajorinas edmundasb at gmail.com
Thu Mar 30 14:16:46 CEST 2006


i have contrib-20060330-win32-bin-gcc-3.4.5-only.tar.bz2

configure script:

./bootstrap && \
  PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
  CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
  LDFLAGS=-L/usr/win32/lib \
  CC=i386-mingw32msvc-gcc CXX=i386-mingw32msvc-g++ \
  ./configure --host=i386-mingw32msvc --build=i386-linux \
      --disable-gtk \
      --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
      --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-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
      --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-twolame --enable-dvdread \
      --enable-debug

and still error:

/usr/win32/lib/libwx_base-2.6-i586-mingw32msvc.a(baselib_wxchar.o):wxchar.cpp:(text+0x3b): 
undefined reference to `_mbsrtowcs'
/usr/win32/lib/libwx_base-2.6-i586-mingw32msvc.a(baselib_wxchar.o):wxchar.cpp:(text+0x4e): 
undefined reference to `_mbsrtowcs'
/usr/win32/lib/libwx_base-2.6-i586-mingw32msvc.a(baselib_wxchar.o):wxchar.cpp:(text+0x9b): 
undefined reference to `_wcsrtombs'
/usr/win32/lib/libwx_base-2.6-i586-mingw32msvc.a(baselib_wxchar.o):wxchar.cpp:(text+0xae): 
undefined reference to `_wcsrtombs'
collect2: ld returned 1 exit status
make[6]: *** [libwxwidgets_plugin.dll] Error 1
make[6]: Leaving directory `/home/edmundas/vlc-trunk/modules/gui/wxwidgets'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/edmundas/vlc-trunk/modules/gui/wxwidgets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/edmundas/vlc-trunk/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/edmundas/vlc-trunk/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/edmundas/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/edmundas/vlc-trunk'
make: *** [all] Error 2


Christophe Mutricy wrote:
> Looks like there is some confusion on wether wxwidgets was built with
> unicode support or not.
>
> I guess you use the contrib package from our FTP. can you check in
> config.log or vlc-config that the header used for wxwidgets are the one
> of /usr/win32/include and not the one from Gentoo.
>
> Also, which version of the contrib package do you have ?
> And for next time could you provide the errors from make and not
> ./compile so we can see the gcc line which produce those error.
>
>
>
>   

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



More information about the vlc-devel mailing list