Yahoo Groups archive

Lpc2000

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

Message

link q's

2005-12-05 by Steve Franks

Hi all,

fyi: I'm using WinARM, not a home-built distribution.  I think WinARM's
fantastic, btw.

So, I'm getting the following errors that I can't get rid of:

C:\projects\arm\examples\knightrider/main.cpp:41: undefined reference to
`SetNativeSpeed(unsigned long)'
C:\projects\arm\examples\knightrider/main.cpp:48: undefined reference to
`ioctl(int, unsigned long, void*)'

Obviously, my makefile can locate newlib-lpc, but I'm tearing out my hair
trying to fix it.  I've tried "-lnewlib-lpc" linker option,

vpath %.o C:\WinARM\arm-elf\lib
vpath %.a C:\WinARM\arm-elf\lib

and 

-LC:\WinARM\arm-elf\lib

And nothing works.  I have no idea how the linker points to the lib dirs,
because I didn't originally see lib dirs pointed to anywhere in the makefile
like include dirs are.  Where's that magic?

Obviously, I'm not a make expert.  Apologize if this is question has an easy
answer that I could look up somewhere...

Steve

Steve Franks, KE7BTE
Electrical & Firmware Engineer
Tucson Embedded Systems

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.