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

error when using 'make -C hostapd-mana' #26

Closed
vikrant17 opened this issue Aug 21, 2018 · 2 comments
Closed

error when using 'make -C hostapd-mana' #26

vikrant17 opened this issue Aug 21, 2018 · 2 comments

Comments

@vikrant17
Copy link

vikrant17 commented Aug 21, 2018

I get this error when compiling the hostapd-mana (kali 2018.1 / virtual box)

make -C hostapd
make: Entering directory '/root/hostapd-mana/hostapd'
fatal: No annotated tags can describe '38d7a2e1d6ee174836956ebeeb01ade711273fdc'.
However, there were unannotated tags: try --tags.
In file included from /root/hostapd-mana/src/utils/common.h:12,
                 from config_file.c:14:
config_file.c: In function ‘hostapd_config_read_ssidlist’:
config_file.c:173:51: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘char *’ as the destination; expected ‘char’ or an explicit length [-Wsizeof-pointer-memaccess]
   os_memcpy((*ssid_filter)[*num].ssid, pos, sizeof(pos));
                                                   ^
/root/hostapd-mana/src/utils/os.h:503:46: note: in definition of macro ‘os_memcpy’
 #define os_memcpy(d, s, n) memcpy((d), (s), (n))
                                              ^
config_file.c: In function ‘hostapd_config_read_maclist’:
config_file.c:290:7: error: redeclaration of ‘i’ with no linkage
   int i;
       ^
config_file.c:207:7: note: previous declaration of ‘i’ was here
   int i, rem = 0;
       ^
Makefile:1037: recipe for target 'config_file.o' failed
make: *** [config_file.o] Error 1
make: Leaving directory '/root/hostapd-mana/hostapd'

@singe
Copy link
Contributor

singe commented Aug 21, 2018

I shouldn't push patches when I'm in a rush. Sorry. Fixed b754023

@singe singe closed this as completed Aug 21, 2018
@vikrant17
Copy link
Author

vikrant17 commented Aug 21, 2018

thank you.

Where is the script to create the access point located. "start-nat-simple.sh"??

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