MembersPage/SteenAndersen/Questions (2005-03-30 17:26:48)

Sub-page for questions for MembersPage/SteenAndersen

30-March-2005

HELP

I'm nor sure if this question should be asked on BuildFirmwareFAQ page, please let me know i'm new to this wiki concept.

I Cannot get the Firmware to Compile into VEMS.HEX with the make command. Iread the page

GenBoard/Firmware/BuildFirmwareFAQ several times, trying all the hint's about PATH variable, and SH command, but no good.

I run on XP SP2, and installed the latest versions off ActivePerl-5.8.6.811 and WinAVR-20050214

And type like this in a CMD \n

D:\VEMS\Firmware\Copy\firmware>make clean

Witch turn out fine to clean up in the firmware directory ending like this\n

rm -f vems.a90
rm -f vems.hex
rm -f vems.sym
rm -f vems.eep
rm -f vems.hex
rm -f vems.asm
rm -f *.bak
rm -f *.log
rm -f *.*~
Errors: none

Then i try to compile within the SH Shell with the make command, like this.\n

D:\VEMS\Firmware\Copy\firmware>sh
sh-2.04$ unset LIB
sh-2.04$ make
echo "runme from sh shell, win32 cmd is broken, dies with CreateProcess error"
runme from sh shell, win32 cmd is broken, dies with CreateProcess error
avr-gcc -c -O3 -g -Wall -Wstrict-prototypes -Wa,-ahlms=actuators.lst -D GENBOARD
v3 -D FETDRIVER_INVERTING -D LCD -D LCD_4x20 -D PS2KEYBOARD -D BENCHMARK -D CELS
IUS -D WBO2 -mmcu=atmega128  -I. actuators.c -o actuators.o
.
.
.
comm.o(.text+0x97a):D:\VEMS\Firmware\Copy\firmware/comm.c:834: more undefined re
ferences to `PRG_RDB' follow
D:\app\WinAVR\utils\bin\make.exe: *** [vems.elf] Error 1
rm avr/adc.o avr/lcd.o avr/eventqueue.o avr/kb.o injconf.o eventqueue.o dispatch
er.o avr/iac.o avr/spi.o softpwm.o avr/wbo2.o injector.o spi.o engine.o ign_logg
ing.o phasesignal.o avr/keyboard.o avr/dispatcher.o timing.o benchmark.o avr/sto
rage.o avr/fuelcontrol.o avr/menu.o edis.o avr/button.o avr/timing.o ringbuf.o a
vr/actuators.o ignconf.o boostcontrol.o multitooth.o menu.o knock.o avr/comm.o
sh-2.04$

I did the above on firmware downloaded on Jan 27 and 26 Mar. 2005 with same result. I tried to reinstall Perl and WinAVR, same result.I even trid to install it on the labtop, same result. What is wrong.

I use the my_make from /docs with !WBO2 enabled.

I did manage to compile the tables with 'make mtt so something is working.