On Wed, Jan 02, 2008 at 12:04:31AM -0800, Daniel Hembree wrote:
this patch, applied to dfu-util's main.c, will enable OSX PPC machines
so download to the neo1973.

can you please try svn revision 3831 of dfu-util?  I am now using your
proposed patch in combination with an autoconf macro for endian
detection.

Since I don't have OSX on any of my G4/G5 systems, I couldn't test it,
though.


first there was this when I ran configure, I had to do this on the previous version too.

checking dependency style of gcc... (cached) gcc3
./configure: line 3831: syntax error near unexpected token `USB,'
./configure: line 3831: `PKG_CHECK_MODULES(USB, libusb >= 0.1.4,,'

I commented out the USB check in the configure script and continued with make:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c `test -f 'main.c' || echo './'`main.c
main.c:27:17: error: usb.h: No such file or directory
main.c:29:22: error: byteswap.h: No such file or directory
main.c:30:20: error: endian.h: No such file or directory

I'm a little swamped at work so I can't pursue this at the moment I don't know that much about autoconf.

Reply via email to