hello,
my 1st guess is that headers are missing or that there is an issue with the defined LOCK_SECTION_START .
btw - welcome to ljr
Trying to install APMD on slackware 9...
I get this after typing "make"...
In file included from apmsleep.c:49:
/usr/src/linux/include/asm/spinlock.h: In function `spin_lock':
/usr/src/linux/include/asm/spinlock.h:137: parse error before
`LOCK_SECTION_START'
/usr/src/linux/include/asm/spinlock.h: In function `read_lock':
/usr/src/linux/include/asm/spinlock.h:188: parse error before
`LOCK_SECTION_START'
/usr/src/linux/include/asm/spinlock.h:188: warning: implicit declaration
of function `LOCK_SECTION_START'
/usr/src/linux/include/asm/spinlock.h:188: parse error before string
constant
/usr/src/linux/include/asm/spinlock.h: In function `write_lock':
/usr/src/linux/include/asm/spinlock.h:197: parse error before
`LOCK_SECTION_START'
/usr/src/linux/include/asm/spinlock.h:197: parse error before string
constant
apmsleep.c: At top level:
apmsleep.c:64: warning: `rcsid' defined but not used
make: *** [apmsleep.o] Error 1
Anyone know what's going on? Thanks
hello,
my 1st guess is that headers are missing or that there is an issue with the defined LOCK_SECTION_START .
btw - welcome to ljr
Correct me if I'm wrong, but apmd is part of the kernel, no? I think in a case like this it might be a wiser choice to recompile your kernel and put apmd support into it rather than trying to compile separately.
[quote author=Tyr_7BE link=board=1;threadid=6842;start=0#63947 date=1050599661]
Correct me if I'm wrong, but apmd is part of the kernel, no? I think in a case like this it might be a wiser choice to recompile your kernel and put apmd support into it rather than trying to compile separately.
[/quote]
ooo! good point
Bookmarks