Yahoo Groups archive

Lpc2000

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

Thread

Defining /cygdrive/ for GNUARM output

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.

Re: [lpc2000] Defining /cygdrive/ for GNUARM output

2005-01-01 by yue yue

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

The true path should be:

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

This is not wrong. You may try to use cd /cygdrive/d/  or cd /d: .
and then use pwd.  I think you will understand what happened in cygwin environment.
 
I think NMAKE is different from make (GNU maker). Pls use make.
 

sig5534 <sig5534@...> wrote:

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.






Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




---------------------------------
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮

[Non-text portions of this message have been removed]

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.