jim is setup to support dynamic load, so you can either turn that off     
using the #define or need to link against a dlopen

I believe this is the "correct" autoconf way to solve it

Index: configure.in
===================================================================
--- configure.in        (revision 749)
+++ configure.in        (working copy)
@@ -19,6 +19,8 @@
 AC_CHECK_FUNCS(strnlen)
 AC_CHECK_FUNCS(gettimeofday)
 AC_CHECK_FUNCS(usleep)
+AC_CHECK_FUNCS(dlopen)
+AC_CHECK_LIB([dl], [dlopen], [])
 
 build_bitbang=no
 build_bitq=no

.
Cc: 
[PATCH] building with jim on linux

Slight hiccup with the latest changes in the tip of head

jim is setup to support dynamic load, so you can either turn that off     
using the #define or need to link against a dlopen

I believe this is the "correct" autoconf way to solve it

Index: configure.in
===================================================================
--- configure.in        (revision 749)
+++ configure.in        (working copy)
@@ -19,6 +19,8 @@
 AC_CHECK_FUNCS(strnlen)
 AC_CHECK_FUNCS(gettimeofday)
 AC_CHECK_FUNCS(usleep)
+AC_CHECK_FUNCS(dlopen)
+AC_CHECK_LIB([dl], [dlopen], [])
 
 build_bitbang=no
 build_bitq=no

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to