On Apr 16, 2009, at 11:35 AM, Michael Fischer wrote:
Hi Dick, the LIB problem is a general LIB problem, because the libusb and libftdi will not be found. Your line look like: set(CONDITIONAL_LIBS ${LIBFTDI_LIBRARIES} ${CONDITIONAL_LIBS}) I know that my libs was installed here: /opt/local/libftdi-0.15 Therefore I changed you like for testing: set(CONDITIONAL_LIBS "/opt/local/libftdi-0.15/lib/libftdi.a" ${CONDITIONAL_LIBS}) And now I have no link problems with libftdi. I have done it the same for libusb, but got now some errors that following symbols can not be found: IODestroyPlugInInterface, CFRunLoopStop IOMasterPort
When the dylib versions of these are built, they link against CoreFoundation and IOKit. Since you are using the .a versions, you need to include the linking against those frameworks. You need to pass "-framework CoreFoundation -framework IOKit" to the link line.
and more. All this symbols was referenced in darwin.c First of all, I think there is a problem with the find_package. Best regards, Michael _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
-- Rick Altherr kc8...@kc8apf.net"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development