Re: make: *** [prism2_srec] Error 1


From: Robert Botha (flash_at_flash.za.org)
Date: 2002-07-26 05:22:23 UTC



I got the same error...but it was solved using GCC 3.0 to compile the source.

AFAIK, the firmware for the 8003 is included in the .zip file. Read the PDF, It'll tell u which firmware image to use for your hardware.

-Robert.

Alejandro Lamas said:
> I download the CVS snapshot of the driver source code today
> (26/07/2002), and when I try to do a "make all" in the utils directory
> it returns:
>
> cc -O2 -Wall prism2_srec.c -o prism2_srec
> prism2_srec.c:46: badly punctuated parameter list in `#define'
> prism2_srec.c:47: badly punctuated parameter list in `#define'
> make: *** [prism2_srec] Error 1
>
> I'm using:
> gcc 2.95.4
> GNU Make version 3.79.1
>
> I'm not a developer but it works (compiled) when I removed the spaces in
> this lines (46 and 47) between the "a" and the "..."
>
> original lines:
> #define verbose_printf(a ...) do { if (verbose) printf(a); } while (0)
> #define vverbose_printf(a ...) do { if (verbose > 1) printf(a); } while
> (0)
>
> modified lines:
> #define verbose_printf(a...) do { if (verbose) printf(a); } while (0)
> #define vverbose_printf(a...) do { if (verbose > 1) printf(a); } while
> (0)
>
>
> The bad news was discover that my card is not compatible with the
> firmware of http://www.netgate.com/support/prism_firmware
> Anybody know of another prims2 firmware images?
>
> srec summary for RF010409.HEX
> Component: 0x001f 1.4.9 (station firmware)
> Supported platforms:
> 0x800a 1.0.0, 0x800b 1.0.0, 0x800c 1.0.0, 0x800d 1.0.0, 0x8012
> 1.0.0 0x8013 1.0.0, 0x8014 1.0.0, 0x8016 1.0.0, 0x8017 1.0.0,
> 0x8018 1.0.0 0x801a 1.0.0, 0x801b 1.0.0, 0x801c 1.0.0, 0x8021
> 1.0.0, 0x8022 1.0.0 0x8023 1.0.0, 0x800a 1.0.0, 0x800e 1.0.0,
> 0x8015 1.0.0, 0x8019 1.0.0 0x801d 1.0.0, 0x8024 1.0.0
> Separate S3 data areas:
> addr 0x007E1800..0x007ED199 (len 47514)
> addr 0x007F0800..0x007F1875 (len 4214)
> addr 0x007FE000..0x007FECE7 (len 3304)
> Total data length: 55032 bytes
> Start address 0x003f0c01
>
> Wireless LAN card information:
> Components:
> NICID: 0x8003 v1.0.0
> PRIID: 0x0015 v0.3.0
> STAID: 0x001f v1.4.2
>
> Verifying update compatibility and combining data:
> NICID was not found from the list of supported platforms.
> Incompatible updata data.

--
Robert Botha


This archive was generated by hypermail 2.1.4.