First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 1472
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Robbins (RETIRED) <drobbins@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ryan Wehler <mindflux_98@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1472 depends on: Show dependency tree
Show dependency graph
Bug 1472 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-04-02 09:30 0000
apmsleep.c: At top level:
apmsleep.c:64: warning: `rcsid' defined but not used
make: *** [apmsleep.o] Error 1
rm apm.o apmd.o

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! compile problem

I and Gen2KungFoo from openprojects.net #gentoo tracked this down to looking 
in the headers of /usr/src/linux instead of /usr/headers .. I believe it was.. 
needless to say apmd will NOT compile with 2.4.19 currently.

------- Comment #1 From Daniel Robbins (RETIRED) 2002-04-03 23:38:45 0000 -------
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.

------- Comment #2 From Ryan Wehler 2002-04-21 15:21:14 0000 -------
I'm still getting this error, even after an emerge --update system.


------- Comment #3 From Daniel Robbins (RETIRED) 2002-04-21 16:14:11 0000 -------
*** Bug 1549 has been marked as a duplicate of this bug. ***

------- Comment #4 From Sherman Boyd 2002-04-30 17:32:02 0000 -------
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.

------- Comment #5 From Sherman Boyd 2002-05-03 11:53:41 0000 -------
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.

------- Comment #6 From Daniel Robbins (RETIRED) 2002-05-03 14:56:11 0000 -------
OK, fixed in the latest apmd ebuild 3.0.2-r2; thanks meekrob :)

First Last Prev Next    No search results available      Search page      Enter new bug