<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libxt_bpf.c:69:6: error: 'union bpf_attr' has no member named 'pathname'"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1231">1231</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libxt_bpf.c:69:6: error: 'union bpf_attr' has no member named 'pathname'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>netfilter/iptables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Ubuntu
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ip_tables (kernel)
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>torque@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm attempting to cross compile 1.6.2 for Raspi on Ubuntu with
```
./configure --host=arm-linux-gnueabihf -prefix=/home/tim/raspi/usr
-exec-prefix=/home/tim/raspi/usr --with-tools=no --with-tests=no
--enable-static PKG_CONFIG_LIBDIR=/home/tim/raspi/usr/lib/pkgconfig
CFLAGS=-I/home/tim/raspi/usr/include LIBS=-L/home/tim/raspi/usr/lib
```
and I get
```
libxt_bpf.c: In function 'bpf_obj_get':
libxt_bpf.c:69:6: error: 'union bpf_attr' has no member named 'pathname'
  attr.pathname = (__u64) filepath;
      ^
libxt_bpf.c:69:18: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
  attr.pathname = (__u64) filepath;
                  ^
libxt_bpf.c:71:27: error: 'BPF_OBJ_GET' undeclared (first use in this function)
  return syscall(__NR_bpf, BPF_OBJ_GET, &attr, sizeof(attr));
                           ^
libxt_bpf.c:71:27: note: each undeclared identifier is reported only once for
each function it appears in
libxt_bpf.c:77:1: warning: control reaches end of non-void function
[-Wreturn-type]
 }
 ^
GNUmakefile:127: recipe for target 'libxt_bpf.o' failed
```
if i try to compile 1.6.1, I seem to get a lot further, but end up with
```
libtool: link: arm-linux-gnueabihf-gcc -Wall -Waggregate-return
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow
-Wstrict-prototypes -Winline -pipe -DALL_INCLUSIVE -DENABLE_IPV4 -DENABLE_IPV6
-I/home/tim/raspi/usr/include -o .libs/xtables-multi
xtables_multi-xtables-multi.o xtables_multi-iptables-xml.o
xtables_multi-iptables-save.o xtables_multi-iptables-restore.o
xtables_multi-iptables-standalone.o xtables_multi-iptables.o
xtables_multi-ip6tables-save.o xtables_multi-ip6tables-restore.o
xtables_multi-ip6tables-standalone.o xtables_multi-ip6tables.o
xtables_multi-xshared.o  ../extensions/libext.a ../libiptc/.libs/libip4tc.so
../extensions/libext4.a ../libiptc/.libs/libip6tc.so ../extensions/libext6.a
../libxtables/.libs/libxtables.so -lm -L/home/tim/raspi/usr/lib -Wl,-rpath
-Wl,/home/tim/raspi/usr/lib
/home/tim/raspi/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld:
../extensions/libext.a(libxt_connlabel.o): undefined reference to symbol
'nfct_labelmap_new'
/home/tim/raspi/usr/lib/libnetfilter_conntrack.so.3: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
Makefile:616: recipe for target 'xtables-multi' failed
make[3]: *** [xtables-multi] Error 1

```</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>