FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2010
    Posts
    1

    Problem in installing madwifi on fedora 12

    Hi Friends,

    I am trying to install madwifi on fedora 12. I am getting following error which i "make" the project.

    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9574: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9580: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9586: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9592: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9598: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9604: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9610: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9616: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9623: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9630: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9636: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9642: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9648: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9654: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9660: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9667: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9673: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9680: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9686: error: initialization from incompatible pointer type
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_announce':
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9779: error: 'struct net_device' has no member named 'priv'
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rcv_dev_event':
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9926: error: 'struct net_device' has no member named 'priv'
    /home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9928: error: 'struct net_device' has no member named 'open'
    make[3]: *** [/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.o] Error 1
    make[2]: *** [/home/nctuns/Desktop/madwifi-0.9.4/ath] Error 2
    make[1]: *** [_module_/home/nctuns/Desktop/madwifi-0.9.4] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.32.11-99.fc12.i686'
    make: *** [modules] Error 2
    [nctuns@localhost madwifi-0.9.4]$





    Please help.

    Thanks,

    Vivek

    ---------- Post added at 02:20 PM CDT ---------- Previous post was at 12:29 PM CDT ----------

    If I try to install the previous version of madwifi, I am getting the folowing error.

    root@localhost madwifi-0.9.0]# make
    Checking requirements... ok.
    Checking kernel configuration... /bin/sh: -c: line 0: syntax error near unexpected token `|'
    /bin/sh: -c: line 0: `echo char *uts_release = UTS_RELEASE; | grep -q -i '^[2-9]\.[4-9]\.' || { \'
    make: *** [configcheck] Error 2
    [root@localhost madwifi-0.9.0]#


    Please help.


    Thanks,

    Vivek

  2. #2
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,629

    Re: Problem in installing madwifi on fedora 12

    Try installing kernel-devel and see if the compile gets further along or actually completes.
    Code:
    su -c 'yum install kernel-devel'
    You may need more than that but it's a start.
    Glenn
    The Bassinator

  3. #3
    Join Date
    Jan 2006
    Posts
    2,799

    Re: Problem in installing madwifi on fedora 12

    The first errors look like the kernel is too new (or old) for the source that you have. Check what kernel versions it is compatible with.

    The second errors look like gcc version incompatible or macros incompatible. Check the required gcc version for that old source. Or try using compat-gcc

  4. #4
    leigh123linux Guest

    Re: Problem in installing madwifi on fedora 12

    The source code is too old for the kernel.



    Code:
    [leigh@localhost madwifi-0.9.4]$ make
    ./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
    Checking requirements... ok.
    Checking kernel configuration... /bin/sh: -c: line 0: syntax error near unexpected token `|'
    /bin/sh: -c: line 0: `echo char *uts_release = UTS_RELEASE; | grep -q -i '^[2-9]\.[4-9]\.' || { \'
    make: *** [configcheck] Error 1
    [leigh@localhost madwifi-0.9.4]$

    Try

    Code:
    su
    yum install svn
    get the latest source


    Code:
    svn checkout http://madwifi-project.org/svn/madwifi/trunk madwifi
    cd madwifi
    make
    su
    make install

Similar Threads

  1. installing Madwifi Fedora 8
    By fdestcroix in forum Servers & Networking
    Replies: 25
    Last Post: 24th May 2008, 10:19 AM
  2. installing madwifi help plz!
    By Karim in forum Using Fedora
    Replies: 6
    Last Post: 19th July 2007, 03:05 PM
  3. problem ?: Hostapd + madwifi-0.9.3 on Fedora core 6 ????????
    By xula_1983 in forum Servers & Networking
    Replies: 6
    Last Post: 16th May 2007, 04:13 PM
  4. Need help installing madwifi on FC5
    By Quiltface in forum Servers & Networking
    Replies: 4
    Last Post: 13th April 2006, 02:51 AM

Tags for this Thread

Posting Permissions

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