Test routine for ACPI and PMU procfs

Richard Hughes ee21rh at surrey.ac.uk
Wed Jan 19 13:29:10 PST 2005


On Wed, 19 Jan 2005 22:22:38 +0100, David Eriksson wrote:
> 
> Downloading the file at that address was not straightforward. The URL
> http://hughsie.no-ip.com/write/hal-extern.c worked much better.

Cool, that's the direct link :-)

> If you want to shorten the above, remove the -I and -l parameters and
> add the following, make sure to use the correct "back-ticks" for
> quoting:
> 
> `pkg-config --cflags --libs glib-2.0`

Good man, I knew there was a snazzy command something like that.

gcc -Wall -ansi -g hal-extern.c -o hal-extern 
`pkg-config --cflags --libs glib-2.0`
 
> And when when I finally compiled it, I realized that I had no Linux
> machin with ACPI enabled at the moment... :-/

Doh!

-- 

http://www.hughsie.com/PUBLIC-KEY


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list