[Buildroot] Errors while building iproute2

Rory Slegtenhorst rory.slegtenhorst at gmail.com
Wed Dec 20 15:02:48 UTC 2006


Fixed this by using a different version of flex.

Note:
  SuSE 9.3 comes with flex 2.5.4 whilst SuSE 10.1 comes with flex 2.5.31.

So for some reason this newer version breaks the iproute2 build...

On 12/20/06, Rory Slegtenhorst <rory.slegtenhorst at gmail.com> wrote:
> Hi,
>
> Renewed my buildroot env to the latest svn, and updated the various
> toolchain selections.
> Now my iproute2 fails:
> flex  -oemp_ematch.lex.c emp_ematch.l
> /cd-linux/buildroot/build_i386/staging_dir/bin/i386-linux-uclibc-gcc
> -D_GNU_SOURCE -Os -pipe  -DHAVE_GETTIMEOFDAY_TZ -I../include
> -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o
> emp_ematch.lex.o emp_ematch.lex.c
> emp_ematch.lex.c:1686: error: syntax error before numeric constant
> emp_ematch.lex.c: In function `ematch__scan_string':
> emp_ematch.lex.c:1687: error: number of arguments doesn't match prototype
> emp_ematch.lex.c:298: error: prototype declaration
> emp_ematch.lex.c:1689: warning: passing arg 1 of `strlen' makes
> pointer from integer without a cast
> emp_ematch.lex.c:1689: warning: passing arg 1 of `ematch__scan_bytes'
> makes pointer from integer without a cast
> make[2]: *** [emp_ematch.lex.o] Error 1
> rm emp_ematch.lex.c
>
> Any idea's are welcome...
>
> Thanks,
> --
> Rory Slegtenhorst
> rory dot slegtenhorst at gmail dot com
>


-- 
Rory Slegtenhorst
rory dot slegtenhorst at gmail dot com



More information about the buildroot mailing list