Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/ipx.h is missing and the one in linux is netipx/ipx.h #31

Open
masharia-john opened this issue May 18, 2023 · 3 comments
Open

net/ipx.h is missing and the one in linux is netipx/ipx.h #31

masharia-john opened this issue May 18, 2023 · 3 comments

Comments

@masharia-john
Copy link

┌──(kali㉿kali)-[~/RTL8192EU]
└─$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.0-kali5-amd64/build M=/home/kali/RTL8192EU modules
make[1]: Entering directory '/usr/src/linux-headers-5.18.0-kali5-amd64'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc-11 (Debian 11.3.0-3) 11.3.0
You are using: gcc-11 (Debian 11.3.0-8) 11.3.0
CC [M] /home/kali/RTL8192EU/core/rtw_cmd.o
CC [M] /home/kali/RTL8192EU/core/rtw_security.o
CC [M] /home/kali/RTL8192EU/core/rtw_debug.o
CC [M] /home/kali/RTL8192EU/core/rtw_io.o
CC [M] /home/kali/RTL8192EU/core/rtw_ioctl_query.o
CC [M] /home/kali/RTL8192EU/core/rtw_ioctl_set.o
CC [M] /home/kali/RTL8192EU/core/rtw_ieee80211.o
CC [M] /home/kali/RTL8192EU/core/rtw_mlme.o
CC [M] /home/kali/RTL8192EU/core/rtw_mlme_ext.o
/home/kali/RTL8192EU/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/kali/RTL8192EU/core/rtw_mlme_ext.c:1638:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
1638 | if (MLME_IS_AP(padapter))
| ^
/home/kali/RTL8192EU/core/rtw_mlme_ext.c:1643:9: note: here
1643 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /home/kali/RTL8192EU/core/rtw_mi.o
CC [M] /home/kali/RTL8192EU/core/rtw_wlan_util.o
CC [M] /home/kali/RTL8192EU/core/rtw_vht.o
CC [M] /home/kali/RTL8192EU/core/rtw_pwrctrl.o
CC [M] /home/kali/RTL8192EU/core/rtw_rf.o
CC [M] /home/kali/RTL8192EU/core/rtw_recv.o
CC [M] /home/kali/RTL8192EU/core/rtw_sta_mgt.o
CC [M] /home/kali/RTL8192EU/core/rtw_ap.o
CC [M] /home/kali/RTL8192EU/core/rtw_xmit.o
CC [M] /home/kali/RTL8192EU/core/rtw_p2p.o
CC [M] /home/kali/RTL8192EU/core/rtw_rson.o
CC [M] /home/kali/RTL8192EU/core/rtw_tdls.o
CC [M] /home/kali/RTL8192EU/core/rtw_br_ext.o
/home/kali/RTL8192EU/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-5.18.0-kali5-common/scripts/Makefile.build:293: /home/kali/RTL8192EU/core/rtw_br_ext.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.18.0-kali5-common/Makefile:1858: /home/kali/RTL8192EU] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-kali5-amd64'
make: *** [Makefile:1829: modules] Error 2

@masharia-john
Copy link
Author

so i tried to include the needed files in the /include folder but its a continues loop and can't input all those files....HELP PLEASE!!

@masharia-john
Copy link
Author

fixed the ipx.h issue...thanks to @kimocoder but i still have issues with the OSDEP_SERVICE.c file where i get the error....

┌──(kali㉿kali)-[~/Desktop/RTL8192EU]
└─$ sudo make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.0-kali5-amd64/build M=/home/kali/Desktop/RTL8192EU modules
make[1]: Entering directory '/usr/src/linux-headers-5.18.0-kali5-amd64'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc-11 (Debian 11.3.0-3) 11.3.0
You are using: gcc-11 (Debian 11.3.0-8) 11.3.0
CC [M] /home/kali/Desktop/RTL8192EU/os_dep/osdep_service.o
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c: In function ‘thread_exit’:
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:1177:9: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration]
1177 | complete_and_exit(comp, 0);
| ^~~~~~~~~~~~~~~~~
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c: In function ‘isFileReadable’:
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2052:9: error: unknown type name ‘mm_segment_t’
2052 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2059:25: error: implicit declaration of function ‘get_fs’; did you mean ‘get_sa’? [-Werror=implicit-function-declaration]
2059 | oldfs = get_fs();
| ^~~~~~
| get_sa
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2060:17: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
2060 | set_fs(KERNEL_DS);
| ^~~~~~
| sget_fc
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2060:24: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
2060 | set_fs(KERNEL_DS);
| ^~~~~~~~~
| KERNFS_NS
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2060:24: note: each undeclared identifier is reported only once for each function it appears in
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2089:9: error: unknown type name ‘mm_segment_t’
2089 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2098:32: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
2098 | set_fs(KERNEL_DS);
| ^~~~~~~~~
| KERNFS_NS
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c: In function ‘storeToFile’:
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2124:9: error: unknown type name ‘mm_segment_t’
2124 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2133:32: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
2133 | set_fs(KERNEL_DS);
| ^~~~~~~~~
| KERNFS_NS
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:2331:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2331 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
| ~~~~~~~^~~~~~~~~~
/home/kali/Desktop/RTL8192EU/os_dep/osdep_service.c:882:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
882 | void _rtw_memcpy(void *dst, const void *src, u32 sz)
| ~~~~~~^~~
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-5.18.0-kali5-common/scripts/Makefile.build:293: /home/kali/Desktop/RTL8192EU/os_dep/osdep_service.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.18.0-kali5-common/Makefile:1858: /home/kali/Desktop/RTL8192EU] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-kali5-amd64'
make: *** [Makefile:1829: modules] Error 2

┌──(kali㉿kali)-[~/Desktop/RTL8192EU]
└─$

@mun9769
Copy link

mun9769 commented Sep 29, 2024

How did you fix ipx.h issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants