Re: Linux 2.4.23-pre2 - airo.c compile failure

From: Eyal Lebedinsky (eyal_at_eyal.emu.id.au)
Date: 08/31/03

  • Next message: Andrew Morton: "2.6.0-test4-mm4"
    Date:	Sun, 31 Aug 2003 09:11:47 +1000
    To: Marcelo Tosatti <marcelo@conectiva.com.br>
    
    

    Marcelo Tosatti wrote:
    >
    > Hello,
    >
    > Here goes -pre2. It contains an USB update, PPC merge, m68k merge, IDE

    gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
    -Wstrict-pro
    totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
    -fomit-frame-pointer
     -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4
    -DMODULE -DM
    ODVERSIONS -include
    /data2/usr/local/src/linux-2.4-pre/include/linux/modversions
    .h -nostdinc -iwithprefix include -DKBUILD_BASENAME=airo
    -DEXPORT_SYMTAB -c ai
    ro.c
    airo.c: In function `airo_get_power':
    airo.c:5659: parse error before `int'
    airo.c:5660: `mode' undeclared (first use in this function)
    airo.c:5660: (Each undeclared identifier is reported only once
    airo.c:5660: for each function it appears in.)
    airo.c: In function `writerids':
    airo.c:6673: warning: unused variable `enabled'
    make[3]: *** [airo.o] Error 1
    make[3]: Leaving directory
    `/data2/usr/local/src/linux-2.4-pre/drivers/net/wirel
    ess'

    Cannot tell if it is a bad merge ('int mode =' line should be earlier?)
    or bad programming (declaration must come first).

    --
    Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
    -
    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: Andrew Morton: "2.6.0-test4-mm4"

    Relevant Pages

    • 2.6.10-bk8 fails compile -- drivers/video/fbmem.c
      ... drivers/video/fbmem.c:719: parse error before `int' ... Pete Clements ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • porting problem
      ... Socket.h:47: parse error before `)' ... Socket.h:46: conflicts with previous declaration `int Socket::sending' ... Socket.cpp:33: ANSI C++ forbids declaration `memset' with no type ... Socket.cpp:38: ANSI C++ forbids declaration `exit' with no type ...
      (comp.unix.programmer)
    • viewml cross compilation problem
      ... fltk/qstring.h:21: parse error before `int' ... fltk/qstring.h:22: parse error before `const' ... fltk/qstring.h:23: redefinition of `int m_bNull' ... fltk/qstring.h:26: non-member function `copy' cannot have `const' ...
      (comp.os.linux.embedded)
    • Re: Learning C - Scanf or Getch, or Getchar not working correctly after first loop.
      ... int busDays; ... junk.c:12: parse error before '/' token ... junk.c:12: warning: no semicolon at end of struct or union ... junk.c:58: ISO C forbids data definition with no type or storage ...
      (comp.lang.c)
    • Re: forkbombing Linux distributions
      ... > Here at my school we have the workstations running Debian testing. ... I was was thinking of the default settings. ... int main{ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)