>
> openocd.c:62:20: error: alloca.h: No such file or directory
>
> FreeBSD does not define alloca.h; those routines are part of stdlib.h.
> If I remove this line, it builds fine.
>
I have committed a fix for this.
> I am also seeing the following in Makefile:
>
> ACLOCAL = ${SHELL}
> /home/steve/projects/include/freebsd/usr/ports/devel/openocd-0
> .1.0/missing
> --run aclocal-1.10
> AMTAR = ${SHELL}
> /home/steve/projects/include/freebsd/usr/ports/devel/openocd-0
> .1.0/missing
> --run tar
> AUTOCONF = ${SHELL}
> /home/steve/projects/include/freebsd/usr/ports/devel/openocd-0
> .1.0/missing
> --run autoconf
> AUTOHEADER = ${SHELL}
> /home/steve/projects/include/freebsd/usr/ports/devel/openocd-0
> .1.0/missing
> --run autoheader
> AUTOMAKE = ${SHELL}
> /home/steve/projects/include/freebsd/usr/ports/devel/openocd-0
> .1.0/missing
> --run automake-1.10
>
you do not need any of the autotools, configure is already generated.
Its just a matter of running configure and make, eg.
/configure --enable-parport
make install
> My tar is /usr/bin/tar, autoconf is /usr/local/bin/autoconf,
> etc, so I'm not sure what these are about...
>
> After a gmake install, I have openocd in
> /usr/local/bin/openocd, but I get the following when I run openocd:
>
> [st...@dynstant ~]$ openocd
> Open On-Chip Debugger 0.1.0 (2009-01-19-11:18) svn:exported
> BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
> $URL:
> https://[email protected]/svnroot/repos/openocd/tags/openo
> cd-0.1.0/src/openocd.c
> $
> Can't find openocd.cfg
> [st...@dynstant ~]$
>
This is because you have to tell openocd about your config.
take for the docs
openocd -f interface/parport.cfg -f target/at91r40008.cfg -c init -c "reset
halt"
Cheers
Spen
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development