Summary: | APMD = Broke w/ kernel 2.4.19 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Wehler <mindflux_98> |
Component: | New packages | Assignee: | Daniel Robbins (RETIRED) <drobbins> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darkspecter, dave, richard.torkar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ryan Wehler
2002-04-02 09:30:07 UTC
in a few minutes, do an emerge rsync, then an "emerge --update system". You should get a new linux-headers installed (2.4.19) that should fix this compile problem. I'm still getting this error, even after an emerge --update system. *** Bug 1549 has been marked as a duplicate of this bug. *** I tried to muddle through this one... after posting to the apmd mailing list I got this response from Thomas Hood: >>On Wed, 2002-05-01 at 01:20, Sherman Boyd wrote: >> I get these errors while compiling apmd: >You should not be compiling against the kernel headers. >You aren't compiling a kernel module. Jonathan White gave me the following advice: -------------- Change the following in apmsleep.c: #include <asm/spinlock.h> to #include <linux/spinlock.h> -------------- It seems to be pretty good advice as I was able to get apmd compiled and installed. I don't have the skillz to fix the ebuild though. The people from the apmd mailing list seem to think we should have this asm dir and not even be compiling against the kernel headers. OK, fixed in the latest apmd ebuild 3.0.2-r2; thanks meekrob :) |