Created
July 25, 2012 01:27
-
-
Save canadaduane/3173840 to your computer and use it in GitHub Desktop.
Trouble with netrap on a Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
gcc -c -std=gnu99 -O2 -fdata-sections -ffunction-sections -Wall -o netrap-controller.o netrap-controller.c | |
netrap-controller.c: In function ‘sockport’: | |
netrap-controller.c:151: warning: unused variable ‘port’ | |
netrap-controller.c: In function ‘new_listen_socket’: | |
netrap-controller.c:410: error: ‘buf’ undeclared (first use in this function) | |
netrap-controller.c:410: error: (Each undeclared identifier is reported only once | |
netrap-controller.c:410: error: for each function it appears in.) | |
netrap-controller.c:414: error: ‘listen_socket’ has no member named ‘protocol’ | |
netrap-controller.c: In function ‘new_http_socket’: | |
netrap-controller.c:459: error: ‘newhs’ undeclared (first use in this function) | |
netrap-controller.c:458: warning: unused variable ‘newcs’ | |
netrap-controller.c: In function ‘main’: | |
netrap-controller.c:692: warning: unused variable ‘i’ | |
netrap-controller.c:761: error: ‘listen_socket’ has no member named ‘protocol’ | |
netrap-controller.c:764: error: ‘listen_socket’ has no member named ‘protocol’ | |
make: *** [netrap-controller.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment