On Wed, Apr 13, 2011 at 4:44 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> I just want to confirm that OpenOCD can be built with no issues under
> Ubuntu 10.04 (32bit and 64bit) with the following
> "./configure --enable-maintainer-mode --enable-ft2232-libftdi".
> I actually have more options (--enable-jlink, etc).
>

This is what I get under Ubuntu 10.04 64bit.

./bootstrap
./configure --enable-maintainer-mode --enable-jlink
--enable-ft2232_libftdi --enable-usb_blaster_libftdi
make
...
Making all in doc
make[2]: Entering directory
`/home/mcuee/Desktop/build/openocd/git/git1/openocd/doc'
Updating ./version.texi
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
        rm -rf $backupdir && mkdir $backupdir && \
        if (/bin/sh /home/mcuee/Desktop/build/openocd/git/git1/openocd/missing
--run makeinfo --version) >/dev/null 2>&1; then \
          for f in openocd.info openocd.info-[0-9] openocd.info-[0-9][0-9]
openocd.i[0-9] openocd.i[0-9][0-9]; do \
            if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
          done; \
        else :; fi && \
        cd "$am__cwd"; \
        if /bin/sh /home/mcuee/Desktop/build/openocd/git/git1/openocd/missing
--run makeinfo   -I . \
         -o openocd.info openocd.texi; \
        then \
          rc=0; \
          CDPATH="${ZSH_VERSION+.}:" && cd .; \
        else \
          rc=$?; \
          CDPATH="${ZSH_VERSION+.}:" && cd . && \
          $restore $backupdir/* `echo "./openocd.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
make[2]: Leaving directory
`/home/mcuee/Desktop/build/openocd/git/git1/openocd/doc'
make[2]: Entering directory `/home/mcuee/Desktop/build/openocd/git/git1/openocd'
make[2]: Leaving directory `/home/mcuee/Desktop/build/openocd/git/git1/openocd'
make[1]: Leaving directory `/home/mcuee/Desktop/build/openocd/git/git1/openocd'

There is an issue with libftdi-1.0 though as it is different from libftdi-0.1x
since its include file ftdi.h is by default under libftdi-1.0\ftdi.h, similar
to libusb-1.0 where libusb.h is inside libusb-1.0\libusb.h. But that is
a minor issue. Supposedly OpenOCD should detect using pkgconfig.


-- 
Xiaofan
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to