-
Notifications
You must be signed in to change notification settings - Fork 41
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
Compiling on OSX #30
Comments
Here is the error trail: cc -W -Wall -std=gnu99 -Wno-unused -Wno-unused-parameter -ggdb -O0 -DDEBUG -c -o cap.o cap.c define _USE_FORTIFY_LEVEL 2
In file included from cap.c:19: define _USE_FORTIFY_LEVEL 2
./util.h:53:8: note: to match this '(' define _USE_FORTIFY_LEVEL 2
In file included from cap.c:19: define _USE_FORTIFY_LEVEL 2
./util.h:54:8: note: to match this '(' |
OK, the problem is easy enough to understand -- it appears that OS X 10.9 is defining 'strlcpy' whereas earlier versions did not. This causes a conflict with my util function of the same name. Need to figure out the idiomatic way of detecting this. |
Ok, I'm not much of a C person, but if there is something I can do to assist let me know. |
Trying to get lanmap2 up and running on OSX 10.9, anyone have any success?
The text was updated successfully, but these errors were encountered: