Well, the problem is that the default is to actually build a static
library. If you try to disable the static library without enabling the
shared library, it will still make the static library anyway. I think
it's a problem with the build, but I don't know how to work with the
autoconf/automake chain.
// Dean Glazeski
David Brownell wrote:
On Tuesday 18 August 2009, Dean Glazeski wrote:
I can't disable the building of libraries so I assumed the library was
in use by the OpenOCD executable. Am I mistaken?
On this system:
$ ldd src/openocd
linux-vdso.so.1 => (0x00007fff7dbfe000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fbb7561a000)
libftdi.so.1 => /usr/local/lib/libftdi.so.1 (0x00007fbb75414000)
libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x00007fbb7520c000)
libc.so.6 => /lib/libc.so.6 (0x00007fbb74eaa000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbb7581e000)
$
With that /usr/local/... stuff working around Ubuntu 8.04 version
issues with those libraries (configure CFLAGS=... LDFLAGS=...)
If so, I can just
have the spec file delete the libraries that the make process creates.
If there is a configuration option I need to use to make the final
server not use an external library, let me know what it is. Thanks.
I use "configure ... --disable-shared ..." which IMO ought to be
the default.
- Dave
// Dean Glazeski
David Brownell wrote:
On Thursday 06 August 2009, Chitlesh GOORAH wrote:
Keep an eye on https://bugzilla.redhat.com/show_bug.cgi?id=502130 for
further updates.
You should not include a "libopenocd" ... there are are *NO* public
supported programming interfaces in that code. Don't include any
library at all; just "openocd" server that links against stuff like
libftdi and libusb.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development