lkml.org 
[lkml]   [2004]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject2.4.25-pre8: usb/gadget/file_storage.c doesn't compile with gcc 2.95
    On Thu, Jan 29, 2004 at 06:41:52PM -0200, Marcelo Tosatti wrote:
    >...
    > Summary of changes from v2.4.25-pre7 to v2.4.25-pre8
    > ============================================
    >...
    > David Brownell:
    >...
    > o USB gadget: add file_storage gadget driver [2/7]
    >...

    I'm getting the following compile error with gcc 2.95:


    <-- snip -->

    ...
    gcc-2.95 -D__KERNEL__
    -I/home/bunk/linux/kernel-2.4/linux-2.4.25-pre8-modular/include -Wall
    -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
    -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
    -DMODULE -DMODVERSIONS -include
    /home/bunk/linux/kernel-2.4/linux-2.4.25-pre8-modular/include/linux/modversions.h
    -nostdinc -iwithprefix include -DKBUILD_BASENAME=file_storage -c -o
    file_storage.o file_storage.c
    file_storage.c: In function `received_cbi_adsc':
    file_storage.c:1385: parse error before `;'
    file_storage.c: In function `check_parameters':
    file_storage.c:3767: parse error before `;'
    file_storage.c: In function `fsg_bind':
    file_storage.c:3912: parse error before `;'
    make[2]: *** [file_storage.o] Error 1
    make[2]: Leaving directory
    `/home/bunk/linux/kernel-2.4/linux-2.4.25-pre8-modular/drivers/usb/gadget'

    <-- 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/

    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:0.040 / U:0.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site