[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] simulavr @ osx
From: |
Torsten Hahn |
Subject: |
[avr-gcc-list] simulavr @ osx |
Date: |
Thu, 24 Jul 2003 11:11:07 +0200 |
Hi,
i tried to build simulavr (v 0.1.1) on MacOSX (10.2.6) but it fails
with:
./configure
make
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c gdbserver.c
gdbserver.c:142: illegal function call, found `,strerror'
gdbserver.c:146: only 1 arg to macro 'avr_warning' (2 expected)
gdbserver.c:152: only 1 arg to macro 'avr_error' (2 expected)
gdbserver.c:171: illegal function call, found `,hex'
gdbserver.c:188: illegal function call, found `,strerror'
gdbserver.c:194: illegal function call, found `,res'
gdbserver.c:269: only 1 arg to macro 'avr_error' (2 expected)
gdbserver.c:421: only 1 arg to macro 'avr_error' (2 expected)
gdbserver.c:472: illegal function call, found `,reg'
gdbserver.c:539: illegal function call, found `,reg'
gdbserver.c:596: illegal function call, found `,addr'
gdbserver.c:671: illegal function call, found `,addr'
gdbserver.c:701: illegal function call, found `,addr'
gdbserver.c:767: illegal function call, found `,addr'
gdbserver.c:810: only 1 arg to macro 'avr_warning' (2 expected)
gdbserver.c:930: only 1 arg to macro 'avr_error' (2 expected)
gdbserver.c:1039: illegal function call, found `,pkt'
gdbserver.c:1122: illegal function call, found `,strerror'
gdbserver.c:1128: illegal function call, found `,strerror'
gdbserver.c:1181: illegal function call, found `,cksum'
gdbserver.c:1218: illegal function call, found `,c'
gdbserver.c:1264: undefined type, found `socklen_t'
gdbserver.c:1269: illegal function call, found `,strerror'
gdbserver.c:1282: illegal function call, found `,strerror'
gdbserver.c:1296: illegal function call, found `,strerror'
gdbserver.c:1314: illegal function call, found `,strerror'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
make[3]: *** [gdbserver.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-recursive] Error 1
if i use
make CC="cc -no-cpp-precomp"
i get:
cc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c gdbserver.c
gdbserver.c: In function `gdb_interact':
gdbserver.c:1264: `socklen_t' undeclared (first use in this function)
gdbserver.c:1264: (Each undeclared identifier is reported only once
gdbserver.c:1264: for each function it appears in.)
gdbserver.c:1264: parse error before "addrLength"
gdbserver.c:1302: `addrLength' undeclared (first use in this function)
make[3]: *** [gdbserver.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-recursive] Error 1
Any ideas whats going wrong ?
cu,
Torsten.
--
Dipl. Nat. Torsten Hahn
Institut für Experimentelle Physik / TU Bergakademie Freiberg
mail: address@hidden
Tel.: +49 (0) 3731 392670
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] simulavr @ osx,
Torsten Hahn <=