Yahoo Groups archive

Lpc2000

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

Message

Re: Linking Error....iButton Test program Robert Adsett's Port

2006-04-08 by ocnek1

--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@...> wrote:
>
> At 12:42 AM 4/8/2006 +0000, ocnek1 wrote:
> >Thanks guys for the help!!  Now I'm having another problem and I think
> >it is just my new-B-ness to these tools in general.
> 
> Could be you, could also be a bug in newlib-lpc or the documentation.
> 
> 
> >The program now compiles fine but when it hits the first ioctl(x ,x
> >,x) call it goes off into la la land.  I've put some simple IO tests
> >(Turn LED on) and the program works fine till the function call.  By
> >the way, I'm using an Olimex LPC2138-MT dev board.
> 
> Can you give a few more details?  A snippet of sample code?
> 
> >I did go through the newlib-lpc files and updated the header file to
> >support the LPC2138.  That seemed to work fine.  I even made a lil IO
> >blink function and added it to the newlib-lpc.a library just to see if
> >I was compiling the library fine.  The function works when i call it
> >from main() so is it naive to say that my re-compiled verion of the
> >library is ok?
> 
> Sounds like you should have a pretty small example to show the
problem.  If 
> that's the case it should be straightforward to figure out where the 
> problem is.
> 
> 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/
>


Hi Robert,

Thanks for the help.

The codes is actually your TEST1.c program from the ibutton download.
 Thats why I'm pretty sure it is my problem...  Do you still have the
makefile from when you compiled the test1.c? (there is a hex file but
no make)

From there I think I can figure out what might be happening.

Thanks again,

J.

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.