<div dir="ltr">Hi :)<div style>I'm currently trying to compile pulseaudio for android.</div><div style><br></div><div style>When I try "make pulseaudio-aggregate-configure" command, the LD error occurs.</div>
<div style><br></div><div style>Error occurs when processing "android/external/collabora/pulseaudio/pulseaudio/configure"</div><div style><br></div><div style>This is error msg in config.log</div><div style>========================================================</div>
<div style><div>configure:20026: checking for ltdl.h</div><div>configure:20026: result: yes</div><div>configure:20028: checking for lt_dladvise_init in -lltdl</div><div>configure:20053: /home001/sunny.choi/sun/icsre_g1/android/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -std=gnu99 -o conftest -DANDROID -nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc -I/home001/sunny.choi/sun/icsre_g1/android/external/collabora/pulseaudio/libtool/libltdl -Wall -W -Wextra -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libc/arch-arm/include -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libc/include -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libstdc++/include -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libc/kernel/common -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libc/kernel/arch-arm -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libm/include -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libm/include/arm -I/home001/sunny.choi/sun/icsre_g1/android/bionic/libthread_db/include -DFASTPATH -lc -ldl -L/home001/sunny.choi/sun/icsre_g1/android/out/target/product/l0/obj/lib /home001/sunny.choi/sun/icsre_g1/android/out/target/product/l0/obj/lib/crtbegin_dynamic.o /home001/sunny.choi/sun/icsre_g1/android/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/armv7-a/libgcc.a /home001/sunny.choi/sun/icsre_g1/android/out/target/product/l0/obj/lib/crtend_android.o conftest.c -lltdl >&5</div>
<div>/home001/sunny.choi/sun/icsre_g1/android/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: <b>error: cannot find -lltdl</b></div>
<div>/home001/sunny.choi/sun/icsre_g1/android/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: /tmp/ccaevOAC.o: in function main:conftest.c(.text+0x8): error: undefined reference to 'lt_dladvise_init'</div>
<div>collect2: ld returned 1 exit status</div><div>===================================================================</div><div><br></div><div style>As you can see, compile option has no problem. </div><div style><br></div>
<div style>libltdl is in /home001/sunny.choi/sun/icsre_g1/android/external/collabora/pulseaudio/libtool/libltdl directory.</div><div style><br></div><div style>But LD can't find libltdl..</div><div style><br></div><div style>
How can I solve this problem? </div><div style><br></div><div style>Thank you :)</div></div></div>