pre7-4 compile error

From: Greg Hinton (zenbum@websalad.net)
Date: Thu May 04 2000 - 19:56:09 EDT

  • Next message: benr@us.ibm.com: "Re: devfs persistence"

    Does anyone "up there" actually try compiling any of this shit^H^H^Htuff?
    I don't think I've gotten any of the pre7 patches to compile.
    And what's with all these warnings in spinlock.h?
    Good code doesn't spew out tons of warnings.
    In fact, when I used to write code.... (oh never mind, I'm just an old
    fart)

    > gcc -D__KERNEL__ -I/usr/src/linux-2.3.99-pre7-4/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DMODULE -DMODVERSIONS -include /usr/src/linux-2.3.99-pre7-4/include/linux/modversions.h -c -o epic100.o epic100.c
    > In file included from epic100.c:89:
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:36: warning: `SPIN_LOCK_UNLOCKED' redefined
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:53: warning: this is the location of the previous definition
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:38: warning: `spin_lock_init' redefined
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:56: warning: this is the location of the previous definition
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:46: warning: `spin_is_locked' redefined
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:58: warning: this is the location of the previous definition
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:47: warning: `spin_unlock_wait' redefined/usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:60: warning: this is the location of the previous definition
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:133: warning: `RW_LOCK_UNLOCKED' redefined
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:116: warning: this is the location of the previous definition
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:164: warning: `read_unlock' redefined
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:120: warning: this is the location of the previous definition
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:165: warning: `write_unlock' redefined
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:122: warning: this is the location of the previous definition
    > In file included from epic100.c:89:
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:26: conflicting types for `spinlock_t'
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:52: previous declaration of `spinlock_t'
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:70: parse error before `{'
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:80: parse error before `void'
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:95: parse error before `do'
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:123: conflicting types for `rwlock_t'
    > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:115: previous declaration of `rwlock_t'/usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:146: parse error before `void'
    > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:155: parse error before `void'
    > epic100.c:1349: warning: `epic_init' defined but not used
    > epic100.c:1355: warning: `epic_cleanup' defined but not used
    > make[2]: *** [epic100.o] Error 1
    > make[2]: Leaving directory `/usr/src/linux-2.3.99-pre7-4/drivers/net'
    > make[1]: *** [_modsubdir_net] Error 2
    > make[1]: Leaving directory `/usr/src/linux-2.3.99-pre7-4/drivers'
    > make: *** [_mod_drivers] Error 2

    -- 
    Greg Hinton
    aka ZenBum
    <zenbum@websalad.net>      <http://www.websalad.net>
    "Search for me in the words I failed to find."  -- Blaga Dimitrova
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Thu May 04 2000 - 23:01:29 EDT