I hope this gets through, I've not been having much luck recently. At 03:39 PM 12/5/05 -0700, Steve Franks wrote: >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, OK, I would expect that was likely to work. A question. Where is your newlib-lpc archive? You should find libnewlib-lpc.a somewhere if you expect -lnewlib-lpc to work. The linker control file has the ability to specify search path and that can be used to supply path's if ld doesn't appear to be searching for the archive correctly. Something like SEARCH_DIR( /home/radsett/arm/lib) SEARCH_DIR( /home/radsett/install/arm-elf/lib) SEARCH_DIR( /home/radsett/install/lib/gcc-lib/arm-elf/3.3.2) Someone familiar with winarm can probably tell you what its search path are. It should have some built in to it. Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: [lpc2000] link q's
2005-12-06 by Robert Adsett
Attachments
- No local attachments were found for this message.