* [Buildroot] GetTime() no longer works after toolchain rebuild
@ 2010-07-22 15:55 JNY
2010-07-24 13:55 ` Mitch Davis
0 siblings, 1 reply; 4+ messages in thread
From: JNY @ 2010-07-22 15:55 UTC (permalink / raw)
To: buildroot
Hi,
I've recently rebuilt a toolchain, and now when I recompile some old (c)
code, the GetTime() isn't recognised. The code compiles, and runs (mostly)
on the target architecture. The GetTime() function isn't one I recognise
(as I inherited the code), and believe I must have missed something when
rebuilding the toolchain. Any ideas what library this belongs to, and what
I have to do to get it working again.
The function isn't doing much, but, after commenting it out, other things in
the code no longer work, and I believe some (maybe all) of them will start
working once I get this one sorted. Either way, this'll be a step in the
right direction.
Regards
--
View this message in context: http://old.nabble.com/GetTime%28%29-no-longer-works-after-toolchain-rebuild-tp29238584p29238584.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] GetTime() no longer works after toolchain rebuild
2010-07-22 15:55 [Buildroot] GetTime() no longer works after toolchain rebuild JNY
@ 2010-07-24 13:55 ` Mitch Davis
2010-07-24 17:47 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Mitch Davis @ 2010-07-24 13:55 UTC (permalink / raw)
To: buildroot
On Fri, Jul 23, 2010 at 1:55 AM, JNY <jny0@hotmail.com> wrote:
>
> I've recently rebuilt a toolchain, and now when I recompile some old (c)
> code, the GetTime() isn't recognised. ?The code compiles, and runs (mostly)
> on the target architecture. ?The GetTime() function isn't one I recognise
> (as I inherited the code), and believe I must have missed something when
> rebuilding the toolchain. ?Any ideas what library this belongs to, and what
> I have to do to get it working again.
I'm not part of the buildroot crew, so don't take my response as 100%
but as far as I know, GetTime() is not a standard C function or system
call. I'm guessing it's part of some user library your old C code is
linking against. Can you find a reference to GetTime() using Google?
Mitch.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] GetTime() no longer works after toolchain rebuild
2010-07-24 13:55 ` Mitch Davis
@ 2010-07-24 17:47 ` Thomas Petazzoni
2010-07-26 7:49 ` JNY
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2010-07-24 17:47 UTC (permalink / raw)
To: buildroot
On Sat, 24 Jul 2010 23:55:58 +1000
Mitch Davis <mjd+buildroot@afork.com> wrote:
> > I've recently rebuilt a toolchain, and now when I recompile some
> > old (c) code, the GetTime() isn't recognised. ?The code compiles,
> > and runs (mostly) on the target architecture. ?The GetTime()
> > function isn't one I recognise (as I inherited the code), and
> > believe I must have missed something when rebuilding the toolchain.
> > ?Any ideas what library this belongs to, and what I have to do to
> > get it working again.
>
> I'm not part of the buildroot crew, so don't take my response as 100%
> but as far as I know, GetTime() is not a standard C function or system
> call. I'm guessing it's part of some user library your old C code is
> linking against. Can you find a reference to GetTime() using Google?
Yes, GetTime() is not a C library function. So, JNY, could you give
some more details about your problem ? Which application/library you're
trying to compile, the exact error message you're having, etc.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] GetTime() no longer works after toolchain rebuild
2010-07-24 17:47 ` Thomas Petazzoni
@ 2010-07-26 7:49 ` JNY
0 siblings, 0 replies; 4+ messages in thread
From: JNY @ 2010-07-26 7:49 UTC (permalink / raw)
To: buildroot
Hi People,
OK, GetTime() is irrellivent (and as I suspected, shouldn't actually be
there). I started debugging by hand (dropping in printf's here and there -
I really should get a handle on GDB some time soon). After one of the
recompiles, it managed to get to a point it hadn't previously. Now
everytime I change the code, and recompile, it runs on the target machine.
I'm not really sure why it started working, but that's exactly what I did; a
few recompiles, and kah-boom, I was in business!
Thanks for showing an interest. Maybe others have experianced similar
things. I'm slightly soncerned, as I didn't actually do anything (much) to
banish the demon, so cannot rule out the rearing its head again.
Regards,
JNY
--
View this message in context: http://old.nabble.com/GetTime%28%29-no-longer-works-after-toolchain-rebuild-tp29238584p29264057.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-26 7:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-22 15:55 [Buildroot] GetTime() no longer works after toolchain rebuild JNY
2010-07-24 13:55 ` Mitch Davis
2010-07-24 17:47 ` Thomas Petazzoni
2010-07-26 7:49 ` JNY
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox