2.4.23-pre8: usbnet.c doesn't compile with gcc 2.95

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 10/23/03

  • Next message: john stultz: "Re: 2.6.0-test8 mad clock rate drifts and sleeping function ..."
    Date:	Thu, 23 Oct 2003 21:47:49 +0200
    To: David Brownell <dbrownell@users.sourceforge.net>, Dave Hollis <dhollis@davehollis.com>
    
    

    I'm getting the following compile error in 2.4.23-pre8 with gcc 2.95:

    <-- snip -->

    ...
    gcc-2.95 -D__KERNEL__
    -I/home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/include -Wall
    -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
    -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
    -nostdinc -iwithprefix include -DKBUILD_BASENAME=usbnet -c -o usbnet.o
    usbnet.c
    usbnet.c:161: warning: `CONFIG_USB_AX8817X' redefined
    /home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/include/linux/autoconf.h:2074:
    warning: this is the location of the previous definition
    usbnet.c: In function `ax8817x_write_cmd_async':
    usbnet.c:496: parse error before `;'
    usbnet.c:501: parse error before `;'
    make[3]: *** [usbnet.o] Error 1
    make[3]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/drivers/usb'

    <-- snip -->

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: john stultz: "Re: 2.6.0-test8 mad clock rate drifts and sleeping function ..."

    Relevant Pages

    • 2.6.9-mm1: timer_event multiple definition
      ... : multiple definition of `timer_event' ... ld: Warning: size of symbol `timer_event' changed from 157 in ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.13-rc6-rt9: compile errors
      ... : multiple definition of `pi_init' ... ld: Warning: type of symbol `pi_init' changed from 1 to 2 in drivers/built-in.o ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.1-rc1-mm2: warning in drivers/net/sk98lin/skge.c
      ... I thought I sent Jeff a fix for that. ... This warning is still present in 2.6.2-mm1 and 2.6.3-rc1. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.11-rc4-mm1: infiniband/core/user_mad.c warning
      ... Reverting this patch fixes the warning (but I don't know about the ... underlying issues). ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.8-rc2-mm1 link errors
      ... Plus, the warning will ... Patch attached. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)