> Message: 1
> Date: Mon, 5 Dec 2005 15:39:34 -0700
> From: Steve Franks <stevef@...>
> Subject: link q's
>
> Hi all,
>
...
>
> 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*)'
...
I thought everyone would like to know the resolution: when using newlib-lpc
from a .cpp file, one must surround the '#include' lines by 'extern "c" {}'.
Get's you every time. Hopefully I'll save someone else a few hours someday.
'C' headers in cpp sources bites me about every 18 months. One day I'll
learn...
regards,
SteveMessage
RE:link q's
2005-12-07 by Steve Franks
Attachments
- No local attachments were found for this message.