Hi Charles,
thank you very much.

This solved this problem:

/home/alan/jtag/openocd/trunk/src/jim.c:7534: undefined reference to `dlopen'
/home/alan/jtag/openocd/trunk/src/jim.c:7564: undefined reference to `dlerror'
/home/alan/jtag/openocd/trunk/src/jim.c:7559: undefined reference to `dlopen'
/home/alan/jtag/openocd/trunk/src/jim.c:7571: undefined reference to `dlsym'
/home/alan/jtag/openocd/trunk/src/jim.c:7577: undefined reference to `dlclose'
collect2: ld returned 1 exit status

Cheers,

Alan

2008/7/4 Charles Hardin <[EMAIL PROTECTED]>:
> 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
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
>
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to