My own quick and dirty workaround for this problem: set the /usr/src/linux symlink to a 2.4.x kernel and merge apdm-3.0.2-r3. Afterwards you can immediately set back the /usr/src/linux symlink to your 2.4.6 kernel. The problems did occur since the new kernel API breaks compatibility with the old kernel-module style. The apmd modules are provided in the old kernel module style that is indicated by the *.o suffix as opposed to the new *.ko suffix.
Good luck .. Am Donnerstag, 9. Oktober 2003 04:00 schrieb momesana: > Hi everybody, > I have recently switched to the test kernel 2.6.0-test6 and now when trying > to emerge -u world > I receive following error-message: > > /usr/src/linux/include/linux/spinlock.h:451: for each function it appears > in.) /usr/src/linux/include/linux/spinlock.h: In function > `bit_spin_is_locked': /usr/src/linux/include/linux/spinlock.h:462: invalid > type argument of `->' apmsleep.c: In function `main': > apmsleep.c:120: warning: implicit declaration of function `exit' > apmsleep.c: At top level: > apmsleep.c:66: warning: `rcsid' defined but not used > make: *** [apmsleep.o] Error 1 > rm apm.o apmd.o > > !!! ERROR: sys-apps/apmd-3.0.2-r3 failed. > !!! Function src_compile, Line 46, Exitcode 2 > !!! compile problem > > Does anybody know a workaround for this. BTW, I didn't enable power > amangment at all when I compiled the kernel but rather chose acpi. What do > I need apmd for at all??? > > Thanx in advance, momesana > > > -- > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
