Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Errors while building iproute2
@ 2006-12-20 11:44 Rory Slegtenhorst
  2006-12-20 15:02 ` Rory Slegtenhorst
  0 siblings, 1 reply; 3+ messages in thread
From: Rory Slegtenhorst @ 2006-12-20 11:44 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Errors while building iproute2
  2006-12-20 11:44 [Buildroot] Errors while building iproute2 Rory Slegtenhorst
@ 2006-12-20 15:02 ` Rory Slegtenhorst
  2006-12-20 17:25   ` Bernhard Fischer
  0 siblings, 1 reply; 3+ messages in thread
From: Rory Slegtenhorst @ 2006-12-20 15:02 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Errors while building iproute2
  2006-12-20 15:02 ` Rory Slegtenhorst
@ 2006-12-20 17:25   ` Bernhard Fischer
  0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Fischer @ 2006-12-20 17:25 UTC (permalink / raw)
  To: buildroot

On Wed, Dec 20, 2006 at 04:02:48PM +0100, Rory Slegtenhorst wrote:
>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...

funny enough, flex 2.5.31 from ubuntu and debian work for me..

Thanks for the heads-up,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-20 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-20 11:44 [Buildroot] Errors while building iproute2 Rory Slegtenhorst
2006-12-20 15:02 ` Rory Slegtenhorst
2006-12-20 17:25   ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox