On Wed, Feb 17, 2010 at 4:47 PM, David Brownell <[email protected]> wrote: >> Maybe it is not a real bug after all since there is a work-around to >> specify CFLAGS and LDFLAGS to get it built. > > That's how it's installed on one of my machines. "configure" needs to > be fed those flags ... otherwise "openocd" won't link. Configure it > correctly ... and all is fine. > > (FWIW this is an older Ubuntu system, where I had to install a newer > version of libftdi than "apt-get" would install.)
Before using CFLAGS and LDFLAGS, I just remove the system libftdi and then use -prefix=/usr when building libftdi. Still I tend to think that /usr/local/include and /usr/local/lib should be searched as well, even with higher priority that /usr/include and /usr/lib. But I am not sure if this is a normal practice. -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
