Subject: Re: Crusoe LongRun Support
To: Curt Sampson <cjs@cynic.net>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: tech-kern
Date: 08/21/2001 19:52:35
>     {
> 	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.