Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Defining /cygdrive/ for GNUARM output

2005-01-01 by sig5534

After getting the GNUARM installed, when I do a make I get the 
following output:

main.o(.text+0x10): In function `main':
/cygdrive/d/GNUARM/Projects/Vader/main.c:172: undefined reference to 
`Init_CPU'
main.o(.text+0x24):/cygdrive/d/GNUARM/Projects/Vader/main.c:198: 
undefined reference to `Init_Display'
main.o(.text+0x28):/cygdrive/d/GNUARM/Projects/Vader/main.c:293: 
undefined reference to `MA_ReadPort_GPIO'
main.o(.text+0x48):/cygdrive/d/GNUARM/Projects/Vader/main.c:294: 
undefined reference to `VaderData'
collect2: ld returned 1 exit status
NMAKE : fatal error U1077: 'arm-elf-gcc' : return code '0x1'
Stop.

The file listings contain this "/cygdrive/d" portion like:

/cygdrive/d/GNUARM/Projects/Vader/main.c

The true path should be:

D:/GNUARM/Projects/Vader/main.c

How do I define this /cygdrive/ variable so I can get accurate paths 
listed in the output?

Thanks,  Chris.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.