Jump to content

trying to 'make' driver so I can connect to my VII


51lv3rb4ck

Recommended Posts

So I'm trying to recover my firmware, due to my own stupidity I forgot the password I allocated when I first used the Pineapple.

I have the Pineapple with a solid red light but nothing visible on my computer so obviously I can't do much. I've decided I need to install a drive so my computer recognises it and after downloading the driver from here tried to 'make' the driver.

Unfortunately all I get is the following error, sadly it's not something I understand. Can anybody help resolve this for me??

make -C /lib/modules/5.10.0-kali9-amd64/build M=/home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-kali9-amd64'
  CC [M]  /home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source/asix.o
/home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source/asix.c:1096:20: error: initialization of ‘void (*)(struct net_device *, unsigned int)’ from incompatible pointer type ‘void (*)(struct net_device *)’ [-Werror=incompatible-pointer-types]
 1096 |  .ndo_tx_timeout = axusbnet_tx_timeout,
      |                    ^~~~~~~~~~~~~~~~~~~
/home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source/asix.c:1096:20: note: (near initialization for ‘ax88x72_netdev_ops.ndo_tx_timeout’)
/home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source/asix.c:1115:20: error: initialization of ‘void (*)(struct net_device *, unsigned int)’ from incompatible pointer type ‘void (*)(struct net_device *)’ [-Werror=incompatible-pointer-types]
 1115 |  .ndo_tx_timeout = axusbnet_tx_timeout,
      |                    ^~~~~~~~~~~~~~~~~~~
/home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source/asix.c:1115:20: note: (near initialization for ‘ax88178_netdev_ops.ndo_tx_timeout’)
/home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source/asix.c:2002:21: error: initialization of ‘void (*)(struct net_device *, unsigned int)’ from incompatible pointer type ‘void (*)(struct net_device *)’ [-Werror=incompatible-pointer-types]
 2002 |  .ndo_tx_timeout  = axusbnet_tx_timeout,
      |                     ^~~~~~~~~~~~~~~~~~~
/home/silverback/__ty__/AX88772C_772B_772A_760_772_178_Linux_Driver_v4.26.0_Source/asix.c:2002:21: note: (near initialization for ‘ax88772b_netdev_ops.ndo_tx_timeout’)
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...