Hello

Am I on the correct list with this? I must say the websites are a bit unclear:

- http://openwrt.org/ does not mention "mailing" at all; it mentions
Developer, which I follow;
- https://dev.openwrt.org/ does not mention "mailing" either; it
mentions "contact", which I follow, but this then says "Send an email
to the internal developer mailing-list: openwrt-hackers [at] openwrt
[dot] org"; it doesn't say how to subscribe, and it's not clear what
"internal" means in the context of an opensource project.
- I then peruse the Search form (Google search) on http://openwrt.org/
for "mailing list" and finally find the lists on lists.openwrt.org

I suggest adding links to lists.openwrt.org from both of the above
websites (since neither of these sites are wikis, I guess that can't
do it myself).


On to the actual problem:

I'm trying to build openwrt from git
(875a24be1f84f391fe4e7f75c37c80e5804617e5,
svn://svn.openwrt.org/openwrt/tr...@18290).

I'm on Debian stable, but I've overridden gcc, g++,
x86_64-linux-gnu-gcc, x86_64-linux-gnu-g++ to gcc-4.4 and g++-4.4
respectively, since the Debian g++ 4.3.2 errored out early. Now I'm
fine up to:

chrisopen...@novo:~/src/openwrt$ make V=99
..
make[6]: Entering directory
`/home/chrisopenwrt/src/openwrt/build_dir/linux-brcm47xx/iptables-1.4.4/extensions'
mipsel-openwrt-linux-uclibc-gcc
-Wp,-MMD,./.libxt_layer7.o.d,-MT,libxt_layer7.o -D_LARGEFILE_SOURCE=1
-D_LARGE_FILES -D_FILE_OFFSET_BITS=64   -D_REENTRANT -Wall
-Waggregate-return -Wmissing-declarations       -Wmissing-prototypes
-Wredundant-decls -Wshadow -Wstrict-prototypes  -Winline -pipe
        -DXTABLES_LIBDIR=\"/usr/lib/iptables\" -DXTABLES_INTERNAL
-I../include -I../include -I
/home/chrisopenwrt/src/openwrt/build_dir/linux-brcm47xx/linux-2.6.30.9/include
-I 
/home/chrisopenwrt/src/openwrt/build_dir/linux-brcm47xx/linux-2.6.30.9/include
-DNO_SHARED_LIBS=1 -D_INIT=libxt_layer7_init -Os -pipe -mips32
-mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float  -o
libxt_layer7.o -c libxt_layer7.c;
libxt_layer7.c:25:39: warning: linux/netfilter/xt_layer7.h: No such
file or directory
libxt_layer7.c:48: warning: 'struct xt_layer7_info' declared inside
parameter list
libxt_layer7.c:48: warning: its scope is only this definition or
declaration, which is probably not what you want
libxt_layer7.c: In function 'parse_protocol_file':
libxt_layer7.c:92: error: 'MAX_PROTOCOL_LEN' undeclared (first use in
this function)
..

chrisopen...@novo:~/src/openwrt$ find -name xt_layer7.h
chrisopen...@novo:~/src/openwrt$ g-grep -l xt_layer7.h
package/iptables/patches/1.4.4/002-layer7_2.17.patch
target/linux/generic-2.4/patches/602-netfilter_layer7_2.21.patch
target/linux/generic-2.6/patches-2.6.21/100-netfilter_layer7_2.21.patch
target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch
target/linux/generic-2.6/patches-2.6.25/100-netfilter_layer7_2.21.patch
target/linux/generic-2.6/patches-2.6.25/101-netfilter_layer7_pktmatch.patch
target/linux/generic-2.6/patches-2.6.28/100-netfilter_layer7_2.21.patch
target/linux/generic-2.6/patches-2.6.28/101-netfilter_layer7_pktmatch.patch
target/linux/generic-2.6/patches-2.6.30/100-netfilter_layer7_2.21.patch
target/linux/generic-2.6/patches-2.6.30/101-netfilter_layer7_pktmatch.patch
target/linux/generic-2.6/patches-2.6.31/100-netfilter_layer7_2.21.patch
target/linux/generic-2.6/patches-2.6.31/101-netfilter_layer7_pktmatch.patch
target/linux/generic-2.6/patches-2.6.32/100-netfilter_layer7_2.21.patch
target/linux/generic-2.6/patches-2.6.32/101-netfilter_layer7_pktmatch.patch


The last commits with changes containing the string 'xt_layer7.h':

  commit 5f33b429e2ec7a5aa0f78cb1d96e22778c6ea5c3
  Author: kaloz <ka...@3c298f89-4303-0410-b956-a3cf2f4a3e73>
  Date:   Tue Nov 3 10:49:27 2009 +0000

      add preliminary 2.6.32 support

  ..
  commit 24168b91595c0c5a9420c348c4c16e727e1aaa81
  Author: florian <flor...@3c298f89-4303-0410-b956-a3cf2f4a3e73>
  Date:   Thu Oct 29 12:20:45 2009 +0000

      [kernel] remove support for 2.6.27, no target is using it anymore
  ..
  commit c3fd35e7800ae1f2dd3fa42ade850c948e4b18ea
  Author: mirko <mi...@3c298f89-4303-0410-b956-a3cf2f4a3e73>
  Date:   Sat Aug 22 12:46:12 2009 +0000

      add generic patchset levelled up to 2.6.31-rc6


I've tried the following per https://forum.openwrt.org/viewtopic.php?id=17981 :

  diff --git a/package/iptables/Makefile b/package/iptables/Makefile
  index 1e32022..b1bb850 100644
  --- a/package/iptables/Makefile
  +++ b/package/iptables/Makefile
  @@ -248,6 +248,7 @@ TARGET_CPPFLAGS := \
          $(TARGET_CPPFLAGS)

   CONFIGURE_ARGS += \
  +       --enable-libipq \
          --enable-shared \
          --enable-static \
          --enable-devel \


but it doesn't change a thing, there's still no xt_layer7.h file
there, even after re-running make after "make clean". Well I've
noticed that "make clean" doesn't clean up so much so, maybe I'll have
to clean something manually? Otherwise, it would seem like the patch
that introduces the xt_layer7.h file isn't applied.

Thanks for your help,
Christian.

PS. there seems to be a problem with make -j2, some "cp" of a kernel
module failed, but then re-running without -j2 ran fine, so it looks
like the cp was from a thread of control that proceeded when it should
have waited for the kernel compilation to finish.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to