Results 1 to 4 of 4

Thread: APMD

  1. #1

    APMD

    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

  2. #2

    Re:APMD

    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

  3. #3

    Re:APMD

    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.

  4. #4

    Re:APMD

    [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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •