Subject: Re: Crusoe LongRun Support
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 08/21/2001 15:08:26
On Tue, Aug 21, 2001 at 07:52:35PM +0200, Wojciech Puchar wrote:
> > {
> > while(1) {
> > int cpuload = check_average_cpu_usage();
> > sleep(5);
> > if(cpuload < 0.9)
> > lower_cpu_clock();
> > if(cpuload > 0.95)
> > higher_cpu_clock();}
> > }
> > }
> >
> >
> > but I can't seem to get it to compile. I get this when I try:
> >
> > angelic $ cc -o longrun longrun.c
> > /tmp/cc3d7LUL.o: In function `main':
> > /tmp/cc3d7LUL.o(.text+0xd): undefined reference to `check_average_cpu_usage'
> > /tmp/cc3d7LUL.o(.text+0x40): undefined reference to `lower_cpu_clock'
> > /tmp/cc3d7LUL.o(.text+0x63): undefined reference to `higher_cpu_clock'
> > collect2: ld returned 1 exit status
>
> HAHAHA!!! it was an short EXAMPLE!!!!!!!!!!!!!!
>
> not the real code.
Yes, and Curt's response was a short HINT, using SARCASM, that you
might, once again, wish to stop sharing your EVERY THOUGHT with the
NetBSD mailing lists.
Unfortunately, as usual, I see that you dodged the blow from
the clue-by-four.
--
Thor Lancelot Simon tls@rek.tjls.com
And now he couldn't remember when this passion had flown, leaving him so
foolish and bewildered and astray: can any man?
William Styron