Skip to content

Instantly share code, notes, and snippets.

@johnhowe
Created July 25, 2010 09:58
Show Gist options
  • Save johnhowe/489463 to your computer and use it in GitHub Desktop.
Save johnhowe/489463 to your computer and use it in GitHub Desktop.
arm-elf-gcc -x assembler-with-cpp -c -mcpu=arm7tdmi -g -gdwarf-2 -Wa,-amhls=../runtime/crt.lst ../runtime/crt.s -o ../runtime/crt.o
arm-elf-gcc -c -fno-common -g -std=gnu99 -MD -MP -MF .dep/main.o.d -I . -I../include main.c -o main.o
arm-elf-gcc -c -fno-common -g -std=gnu99 -MD -MP -MF .dep/init.o.d -I . -I../include init.c -o init.o
arm-elf-gcc -c -fno-common -g -std=gnu99 -MD -MP -MF .dep/lcd.o.d -I . -I../include lcd.c -o lcd.o
arm-elf-ld -v -Map main.map -nostartfiles -T ../runtime/ld_flash.cmd -L ../include -o main.elf ../runtime/crt.o main.o init.o lcd.o
GNU ld (GNU Binutils) 2.20.1.20100303
lcd.o: In function `initLCD':
/pub/School/ENEL427.Project/Source/src/lcd.c:25: undefined reference to `AT91F_PIO_ClearOutput'
/pub/School/ENEL427.Project/Source/src/lcd.c:28: undefined reference to `busyWait'
/pub/School/ENEL427.Project/Source/src/lcd.c:34: undefined reference to `busyWait'
/pub/School/ENEL427.Project/Source/src/lcd.c:66: undefined reference to `busyWait'
lcd.o: In function `write':
/pub/School/ENEL427.Project/Source/src/lcd.c:83: undefined reference to `AT91F_PIO_SetOutput'
/pub/School/ENEL427.Project/Source/src/lcd.c:85: undefined reference to `AT91F_PIO_ClearOutput'
/pub/School/ENEL427.Project/Source/src/lcd.c:88: undefined reference to `AT91F_PIO_ClearOutput'
/pub/School/ENEL427.Project/Source/src/lcd.c:91: undefined reference to `AT91F_PIO_ClearOutput'
/pub/School/ENEL427.Project/Source/src/lcd.c:113: undefined reference to `AT91F_PIO_SetOutput'
/pub/School/ENEL427.Project/Source/src/lcd.c:116: undefined reference to `AT91F_PIO_SetOutput'
/pub/School/ENEL427.Project/Source/src/lcd.c:119: undefined reference to `AT91F_PIO_SetOutput'
make: *** [main.elf] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment