Results 1 to 2 of 2

Thread: Zfone

  1. #1

    Default Zfone

    has anyone compiled zfone on opensuse 11 (kde)? I'm getting the following error in compiling the daemon:

    /usr/include/linux/netfilter.h:41: error: expected specifier-qualifier-list before __be32

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,335
    Blog Entries
    15

    Default Re: Zfone

    Quote Originally Posted by AntoniosX
    has anyone compiled zfone on opensuse 11 (kde)? I'm getting the
    following error in compiling the daemon:

    /usr/include/linux/netfilter.h:41: error: expected
    specifier-qualifier-list before ‘__be32’
    Hi
    Had a look and there are a couple of errors in the code. It's
    looking for the libipq.h in a different directory and it's
    referencing sys/types.h which should be linux/types.h.

    You need to add the #include between netinit and the netfilter one
    which exist in the code;

    Also because the way the install script runs you need to rebuild the
    edited one so it unpacks the modified code.

    Code:
    mkdir /usr/include/libipq
    cp /usr/include/libipq.h /usr/include/libipq/
    
    
    rm zfoned-0.91.233.tar.gz
    
    vi zfoned-0.91.233/src/daemon/zfoned_net_lin.c
    
    #include <netinet/in.h>
    
    #include <linux/types.h>
    
    #include <linux/netfilter.h>
    
    tar cf zfoned-0.91.233.tar zfoned-0.91.233/*
    gzip zfoned-0.91.233.tar
    
    ../install.sh
    
    modprobe ip_queue
    /etc/init.d/zfone start
    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 4:27, 4 users, load average: 0.06, 0.25, 0.39
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •