I've also posted this over at ladyada's forum, but as it seems more UzeBox specific, I thought I'd follow up here.
I'm getting compilation errors when trying to run make on the Fuzebox hello.c demo. Currently, I'm running Mac OS X 10.5 on an Intel based MacBook with the latest version of AVR MacPack installed. I've modified the included Makefile for the programmer to CC = avr-gcc instead of CC = avr-gc.exe. Aside from that, all files are stock.
Any help would be greatly appreciated.
Thanks!
Here is the terminal output (please let me know if anything else would be helpful):
Code: Select all
avr-gcc -I.. -mmcu=atmega644 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=28636360UL -DVIDEO_MODE=1 -Os -fsigned-char -MD -MP -MT hello2.o -MF dep/hello2.o.d -c hello2.c
avr-gcc -I.. -mmcu=atmega644 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=28636360UL -DVIDEO_MODE=1 -Os -fsigned-char -MD -MP -MT uzeboxCore.o -MF dep/uzeboxCore.o.d -c ../kernel/uzeboxCore.c
../kernel/uzeboxCore.c: In function `InitConsole':
../kernel/uzeboxCore.c:102: warning: passing arg 1 of `InitMusicPlayer' discards qualifiers from pointer target type
avr-gcc -I.. -mmcu=atmega644 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=28636360UL -DVIDEO_MODE=1 -Os -fsigned-char -MD -MP -MT uzeboxSoundEngine.o -MF dep/uzeboxSoundEngine.o.d -c ../kernel/uzeboxSoundEngine.c
avr-gcc -I.. -mmcu=atmega644 -mmcu=atmega644 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=28636360UL -DVIDEO_MODE=1 -Os -fsigned-char -MD -MP -MT uzeboxSoundEngineCore.o -MF dep/uzeboxSoundEngineCore.o.d -x assembler-with-cpp -Wa,-gdwarf2 -c ../kernel/uzeboxSoundEngineCore.s
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h: Assembler messages:
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:121: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:122: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:123: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:124: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:125: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:126: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:128: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:129: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:142: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:147: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:159: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:164: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:169: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:174: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:179: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:184: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:192: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:199: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:213: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:218: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:223: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:228: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:233: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:238: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:246: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:253: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:273: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/stdint.h:278: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/inttypes.h:77: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/inttypes.h:81: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/avr/fuse.h:234: Error: unknown opcode `typedef'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/avr/fuse.h:235: Error: junk at end of line, first unrecognized character is `{'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/avr/fuse.h:236: Error: unknown opcode `unsigned'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/avr/fuse.h:237: Error: unknown opcode `unsigned'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/avr/fuse.h:238: Error: unknown opcode `unsigned'
/usr/local/AVRMacPack-20081213/lib/gcc/avr/3.4.6/../../../../avr/include/avr/fuse.h:239: Error: junk at end of line, first unrecognized character is `}'
../kernel/uzeboxSoundEngineCore.s:651: Error: bad expression
../kernel/uzeboxSoundEngineCore.s:651: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:651: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:651: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:651: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:651: Error: constant value required
../kernel/uzeboxSoundEngineCore.s:651: Error: `,' required
../kernel/uzeboxSoundEngineCore.s:651: Error: constant value required
../kernel/uzeboxSoundEngineCore.s:651: Error: garbage at end of line
../kernel/uzeboxSoundEngineCore.s:659: Error: bad expression
../kernel/uzeboxSoundEngineCore.s:659: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:659: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:659: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:659: Error: `,' required
../kernel/uzeboxSoundEngineCore.s:659: Error: constant value required
../kernel/uzeboxSoundEngineCore.s:659: Error: garbage at end of line
../kernel/uzeboxSoundEngineCore.s:719: Error: bad expression
../kernel/uzeboxSoundEngineCore.s:719: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:719: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:719: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:719: Error: missing ')'
../kernel/uzeboxSoundEngineCore.s:719: Error: constant value required
../kernel/uzeboxSoundEngineCore.s:719: Error: garbage at end of line
make: *** [uzeboxSoundEngineCore.o] Error 1