Skip to contentSkip to conversation

bridge-utils compilation bug

Bridge Uri Simchoni 2 participants 2 messages Dec 28, 2006 – Dec 29, 2006 Ethernet bridge

lore
Share & tools
lore
#0 lore raw

Hi,

I tried to cross-compile bridge-utils, and think I have found a bug in Makefile.in:

--- /cygdrive/d/sources/bridge-utils-1.1/libbridge/Makefile.in

2004-06-02 20:38:20.000000000 +0300

+++ libbridge/Makefile.in 2006-12-28 11:56:56.576468700 +0200
@@ -5,7 +5,8 @@
RANLIB=@RANLIB@

CC=@CC@
-CFLAGS = -Wall -g $(KERNEL_HEADERS)
+CFLAGS = -Wall @CFLAGS@
+INCLUDE=$(KERNEL_HEADERS)

prefix=@prefix@
exec_prefix=@exec_prefix@

Thanks,
Uri.

#1 lore raw

Hi Uri,
I too fasced the same problem in cross compiling bridge-utils-1.2 for my target Xscale on x86 host development machin . After download and untar , first I couldn't find ./configure file except ./configure.in . Simple make on x86 machine throws error like "No rule to make target" etc and the following error

sara:/schane/bridge-utils-1.2# ./configure.in
./configure.in: line 1: dnl: command not found
./configure.in: line 2: syntax error near unexpected token `bridge-utils,'
./configure.in: line 2: `AC_INIT(bridge-utils, 1.2)'
sara:/schane/bridge-utils-1.2#
  then I tried to do autoconf and got
sara:/schane/bridge-utils-1.2# autoconf
autoconf: Undefined macros:
configure.in:3:AC_CONFIG_HEADERS(libbridge/config.h)
sara:/schane/bridge-utils-1.2#I couldn't find enough information in the README or /docs for how to compile / cross compile the tools. If you find any information cld you share it.  

1. how to compile on native x86 machine.
2. how to cross compile for other target by hand edit in make file. Thanks
Sara

From:  "Uri Simchoni" <[email protected]>
To:  <[email protected]>
Subject:  [Bridge] bridge-utils compilation bug
Date:  Thu, 28 Dec 2006 12:16:17 +0200

Quoted 21 lines

Hi,

I tried to cross-compile bridge-utils, and think I have found a bug in Makefile.in:

--- /cygdrive/d/sources/bridge-utils-1.1/libbridge/Makefile.in

2004-06-02 20:38:20.000000000 +0300

+++ libbridge/Makefile.in       2006-12-28 11:56:56.576468700 +0200

(quoted diff) +0 -0
@@ -5,7 +5,8 @@

  RANLIB=@RANLIB@

  CC=@CC@

(quoted diff) +2 -1
-CFLAGS = -Wall -g $(KERNEL_HEADERS)
+CFLAGS = -Wall @CFLAGS@
+INCLUDE=$(KERNEL_HEADERS)

  prefix=@prefix@
  exec_prefix=@exec_prefix@

Quoted 7 lines

Thanks,
Uri.

_______________________________________________
Bridge mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/bridge

Get up-to-date with movies, music and TV. Its happening on MSN Entertainment