On Monday 2011-02-28 18:02, jobhunts02@xxxxxxx wrote: >I am trying to crosscompile libnetfilter_conntrack-0.9.1 on an i686-pc for use on a powerpc. When I run make, I get the following error: > >In file included from api.c:13:../../include/internal/internal.h:24:39: >error: libnfnetlink/libnfnetlink.h: No such file or directory > >libnfnetlink.h is located at >/home/steve/libnfnetlink-1.0.0/include/libnfnetlink/libnfnetlink.h > >My configure command is: > >./configure --host=i686-pc-linux-gnu --target=ppc >CROSS_COMPILE=powerpc-linux- >PKG_CONFIG_PATH=/home/steve/libnfnetlink-1.0.0 > >How do I correct this error? You need to fix your configure line. First, CROSS_COMPILE= has no effect. Second, --target has no effect either, because libnetfilter_conntrack is not a code generator. After running configure, see what the value of LIBNFNETLINK_CFLAGS is in the generated Makefile. It should include the output of pkg-config, i.e. -I/home/steve/libnfnetlink-1.0.0/include or similar. Finally, please copy the gcc line that make emits. If need be, use `make V=1` if your default verbosity isn't already high. -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html