Can you tell me, what stuff's needed to compile from source on a mac? Everything goes fine here, no problems doing "./configure" but when I execute the "Make" command, it gives me these errors:
CODE
imac:abgx360-1.0.3 user$ make
make all-am
gcc -DHAVE_CONFIG_H -I. -Wall -W -g -O2 -MT abgx360-abgx360.o -MD -MP -MF .deps/abgx360-abgx360.Tpo -c -o abgx360-abgx360.o `test -f 'src/abgx360.c' || echo './'`src/abgx360.c
src/abgx360.c:110:53: error: IOKit/scsi-commands/SCSITaskLib.h: No such file or directory
src/abgx360.c:114: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c:115: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c:116: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c:117: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c: In function sendcdb:
src/abgx360.c:1761: warning: unused parameter direction
src/abgx360.c:1761: warning: unused parameter dataBuffer
src/abgx360.c:1761: warning: unused parameter dataBufferSize
src/abgx360.c:1762: warning: unused parameter cdb
src/abgx360.c:1762: warning: unused parameter cdbLen
src/abgx360.c:1762: warning: unused parameter checkreturnlength
src/abgx360.c: In function opendeviceandgetname:
src/abgx360.c:1945: error: kSCSIDataTransfer_FromTargetToInitiator undeclared (first use in this function)
src/abgx360.c:1945: error: (Each undeclared identifier is reported only once
src/abgx360.c:1945: error: for each function it appears in.)
src/abgx360.c: In function getL0capacity:
src/abgx360.c:2117: error: kSCSIDataTransfer_FromTargetToInitiator undeclared (first use in this function)
src/abgx360.c: In function getdisccapacity:
src/abgx360.c:2176: error: kSCSIDataTransfer_FromTargetToInitiator undeclared (first use in this function)
make[1]: *** [abgx360-abgx360.o] Error 1
make: *** [all] Error 2
Full log:
CODE
imac:~ user$ cd desktop/abgx360-1.0.3
imac:abgx360-1.0.3 user$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking for crc32 in -lz... yes
checking for gawk... (cached) awk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.19.7
checking for libcurl >= version 7.7.2... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
rm: conftest.dSYM: is a directory
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking strings.h usability... yes
checking strings.h presence... yes
checking for strings.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for size_t... yes
checking for off_t... yes
checking for int32_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for working alloca.h... yes
checking for alloca... yes
checking for mbstate_t... yes
checking for working POSIX fnmatch... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
rm: conftest.dSYM: is a directory
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... yes
checking for error_at_line... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for gettimeofday... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strtoul... yes
checking for strstr... yes
checking for mkdir... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
imac:abgx360-1.0.3 user$ make
make all-am
gcc -DHAVE_CONFIG_H -I. -Wall -W -g -O2 -MT abgx360-abgx360.o -MD -MP -MF .deps/abgx360-abgx360.Tpo -c -o abgx360-abgx360.o `test -f 'src/abgx360.c' || echo './'`src/abgx360.c
src/abgx360.c:110:53: error: IOKit/scsi-commands/SCSITaskLib.h: No such file or directory
src/abgx360.c:114: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c:115: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c:116: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c:117: error: expected =, ,, ;, asm or __attribute__ before * token
src/abgx360.c: In function sendcdb:
src/abgx360.c:1761: warning: unused parameter direction
src/abgx360.c:1761: warning: unused parameter dataBuffer
src/abgx360.c:1761: warning: unused parameter dataBufferSize
src/abgx360.c:1762: warning: unused parameter cdb
src/abgx360.c:1762: warning: unused parameter cdbLen
src/abgx360.c:1762: warning: unused parameter checkreturnlength
src/abgx360.c: In function opendeviceandgetname:
src/abgx360.c:1945: error: kSCSIDataTransfer_FromTargetToInitiator undeclared (first use in this function)
src/abgx360.c:1945: error: (Each undeclared identifier is reported only once
src/abgx360.c:1945: error: for each function it appears in.)
src/abgx360.c: In function getL0capacity:
src/abgx360.c:2117: error: kSCSIDataTransfer_FromTargetToInitiator undeclared (first use in this function)
src/abgx360.c: In function getdisccapacity:
src/abgx360.c:2176: error: kSCSIDataTransfer_FromTargetToInitiator undeclared (first use in this function)
make[1]: *** [abgx360-abgx360.o] Error 1
make: *** [all] Error 2
imac:abgx360-1.0.3 user$
QUOTE(afhaaljap @ Nov 7 2010, 01:15 PM)

Can you tell me, what stuff's needed to compile from source on a mac? Everything goes fine here, no problems doing "./configure" but when I execute the "Make" command, it gives me these errors:
Sure thing, all I had to do (on Snow Leopard) to get it to compile on Mac was change the following on line 110:
CODE
#include
To:
CODE
#include
It's been interesting looking through the new ABGX360 source, Seacrest's version can now add new waves through an abgx360.dat update, definitely a much better way of doing things!
I just tested this change on the v1.0.3 source on my MBP and can confirm it still works just fine.
This post has been edited by iGuru: Yesterday, 03:18 PM