[vlc-devel] help for configure error : cannot find FAAD library
francesco at bltitalia.com
francesco at bltitalia.com
Wed Dec 13 16:06:02 CET 2017
Hi
I'm attempting to cross compile latest version under Linux Debian
9 (stretch) 32-bit.
I followed all steps for cross compiling for windows. The contrib
creation is all ok (make prebuilt is successful) but when I issue
the command :
../extras/package/win32/configure.sh --host=i686-w64-mingw32
--build=x86_64-pc-linux-gnu
after issuing:
export
PKG_CONFIG_LIBDIR=$HOME/vlc_version/vlc/contrib/i686-w64-mingw32/lib/pkgconfig
the result is as in the subject. Config.log reports:
configure:39731: checking for NeAACDecOpen in -lfaad
configure:39756: i686-w64-mingw32-gcc -o conftest.exe -g -O2
-I/home/alfredo/vlc_version/vlc/contrib/i686-w64-mingw32/include
-mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith
-Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast
-Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration
-Winit-self -Wlogical-op -pipe -O3 -fno-math-errno
-funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans
-fcx-limited-range -funroll-loops -fomit-frame-pointer
-fstack-protector-strong
-I/home/alfredo/vlc_version/vlc/contrib/i686-w64-mingw32/include
-D__USE_MINGW_ANSI_STDIO=1 -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase
-L/home/alfredo/vlc_version/vlc/contrib/i686-w64-mingw32/lib -lssp
-ladvapi32 conftest.c -lfaad -lm -lpthread >&5
/home/alfredo/vlc_version/vlc/contrib/i686-w64-mingw32/lib/libfaad.a(syntax.o):
In function `latmAudioMuxElement':
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/faad2/libfaad/syntax.c:2578:
undefined reference to `_imp____acrt_iob_func'
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/faad2/libfaad/syntax.c:2519:
undefined reference to `_imp____acrt_iob_func'
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/faad2/libfaad/syntax.c:2508:
undefined reference to `_imp____acrt_iob_func'
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/faad2/libfaad/syntax.c:2571:
undefined reference to `_imp____acrt_iob_func'
collect2: error: ld returned 1 exit status
while result from command find / -name libfaad is:
/home/alfredo/.local/share/Trash/files/vlc_current_nw/contrib/native/faad2/libfaad
/home/alfredo/libraries/libfaad
/home/alfredo/libraries/libfaad/libfaad.
it seems that libfaad is not present. But I can see it inside directory:
$HOME/vlc_version/vlc/contrib/i686-w64-mingw32/lib
and the faad.h inside the include directory:
$HOME/vlc_version/vlc/contrib/i686-w64-mingw32/include
regards
Francesco
--
More information about the vlc-devel
mailing list