You are not logged in.

#1 2008-06-24 15:32:17

SleepyFloyd
Member
Registered: 2008-06-11
Posts: 91

libnetfilter_queue installation

Hi together...

I'm trying to install iplist from the AUR, which depends on the package "libnetfilter_queue".
This is the output when installing it:

[[user]@sleepy libnetfilter_queue]$ makepkg
==> Making package: libnetfilter_queue 0.0.15-1  (Tue Jun 24 17:16:58 UTC 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found libnetfilter_queue-0.0.15.tar.bz2 in build dir
==> Validating source files with md5sums...
    libnetfilter_queue-0.0.15.tar.bz2 ... Passed
==> Extracting Sources...
  -> bsdtar -x -f libnetfilter_queue-0.0.15.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBNFNETLINK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libnetfilter_queue/Makefile
config.status: creating src/Makefile
config.status: creating utils/Makefile
config.status: creating libnetfilter_queue.pc
config.status: executing depfiles commands
Making all in include
make[1]: Entering directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/include'
Making all in libnetfilter_queue
make[2]: Entering directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/include/libnetfilter_queue'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/include/libnetfilter_queue'
make[2]: Entering directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/include'
make[1]: Leaving directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/include'
Making all in src
make[1]: Entering directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/src'
Making all in utils
make[1]: Entering directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/utils'
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libnetfilter_queue\" -DVERSION=\"0.0.15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I.  -I../include -I     -march=x86-64 -mtune=generic -O2 -pipe   -MT nfqnl_test.o -MD -MP -MF ".deps/nfqnl_test.Tpo" \
      -c -o nfqnl_test.o `test -f 'nfqnl_test.c' || echo './'`nfqnl_test.c; \
    then mv -f ".deps/nfqnl_test.Tpo" ".deps/nfqnl_test.Po"; \
    else rm -f ".deps/nfqnl_test.Tpo"; exit 1; \
    fi
In file included from nfqnl_test.c:6:
/usr/include/linux/netfilter.h:40: error: expected specifier-qualifier-list before '__u32'
make[1]: *** [nfqnl_test.o] Error 1
make[1]: Leaving directory `/home/[user]/Desktop/libnetfilter_queue/src/libnetfilter_queue-0.0.15/utils'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
    Aborting...

To me, being an absolute noob to arch (and Linux in general), this doesn't say much. Can somebody tell me where the problem lies and what to do?

Cheers
Sleepy...

Offline

Board footer

Powered by FluxBB