monimi,

Add following line to libts and and module using libts.

LOCAL_SHARED_LIBRARIES := \
    libdl


Regards,
Niral

On Feb 24, 11:59 pm, monimi <[email protected]> wrote:
> Hi, i am porting Tslib on android to run on pandaboard, but when i do
> the 'make' step i get the following errors:
>
> target thumb C: ts_calibrate <= external/android-tslib/tests/fbutils.c
> target thumb C: ts_calibrate <= external/android-tslib/tests/
> ts_calibrate.c
> target thumb C: ts_calibrate <= external/android-tslib/tests/
> testutils.c
> target thumb C: libts <= external/android-tslib/src/ts_attach.c
> target thumb C: libts <= external/android-tslib/src/ts_close.c
> external/android-tslib/src/ts_close.c: In function 'ts_close':
> external/android-tslib/src/ts_close.c:25: warning: implicit
> declaration of function 'close'
> target thumb C: libts <= external/android-tslib/src/ts_config.c
> target thumb C: libts <= external/android-tslib/src/ts_error.c
> target thumb C: libts <= external/android-tslib/src/ts_load_module.c
> target thumb C: libts <= external/android-tslib/src/ts_open.c
> target thumb C: libts <= external/android-tslib/src/ts_parse_vars.c
> target thumb C: libts <= external/android-tslib/src/ts_read.c
> target thumb C: libts <= external/android-tslib/src/ts_read_raw.c
> target thumb C: libts <= external/android-tslib/src/ts_option.c
> target StaticLib: libts (out/target/product/panda/obj/STATIC_LIBRARIES/
> libts_intermediates/libts.a)
> target Executable: ts_calibrate (out/target/product/panda/obj/
> EXECUTABLES/ts_calibrate_intermediates/LINKED/ts_calibrate)
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/
> gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/
> ld: out/target/product/panda/obj/STATIC_LIBRARIES/libts_intermediates/
> libts.a(ts_load_module.o): in function __ts_load_module:external/
> android-tslib/src/ts_load_module.c:49: error: undefined reference to
> 'dlopen'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/
> gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/
> ld: out/target/product/panda/obj/STATIC_LIBRARIES/libts_intermediates/
> libts.a(ts_load_module.o): in function __ts_load_module:external/
> android-tslib/src/ts_load_module.c:57: error: undefined reference to
> 'dlsym'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/
> gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/
> ld: out/target/product/panda/obj/STATIC_LIBRARIES/libts_intermediates/
> libts.a(ts_load_module.o): in function __ts_load_module:external/
> android-tslib/src/ts_load_module.c:62: error: undefined reference to
> 'dlclose'
> prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/
> gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/
> ld: out/target/product/panda/obj/STATIC_LIBRARIES/libts_intermediates/
> libts.a(ts_load_module.o): in function __ts_load_module:external/
> android-tslib/src/ts_load_module.c:87: error: undefined reference to
> 'dlclose'
> collect2: ld returned 1 exit status
>
> i really don't know what else to do, i'm kind of desparate at this
> point, if someone could help me it would be great, thanks.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to