Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

when i try to install stud on centos i got below error #140

Open
tell2veeru opened this issue Feb 20, 2014 · 2 comments
Open

when i try to install stud on centos i got below error #140

tell2veeru opened this issue Feb 20, 2014 · 2 comments

Comments

@tell2veeru
Copy link

cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include -c -o stud.o stud.c
stud.c:63:16: error: ev.h: No such file or directory
stud.c:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘listener’
stud.c:150: error: expected specifier-qualifier-list before ‘ev_io’
stud.c: In function ‘info_callback’:
stud.c:276: error: ‘proxystate’ has no member named ‘handshaked’
stud.c:277: error: ‘proxystate’ has no member named ‘renegotiation’
stud.c: At top level:
stud.c:871: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘safe_enable_io’:
stud.c:872: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:873: warning: implicit declaration of function ‘ev_io_start’
stud.c:873: error: ‘w’ undeclared (first use in this function)
stud.c:873: error: (Each undeclared identifier is reported only once
stud.c:873: error: for each function it appears in.)
stud.c: In function ‘shutdown_proxy’:
stud.c:879: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:880: warning: implicit declaration of function ‘ev_io_stop’
stud.c:880: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:881: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:882: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:883: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:884: error: ‘proxystate’ has no member named ‘ev_w_connect’
stud.c:885: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c:886: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:887: error: ‘proxystate’ has no member named ‘ev_proxy’
stud.c:889: error: ‘proxystate’ has no member named ‘fd_up’
stud.c:890: error: ‘proxystate’ has no member named ‘fd_down’
stud.c:892: error: ‘proxystate’ has no member named ‘ssl’
stud.c:893: error: ‘proxystate’ has no member named ‘ssl’
stud.c:898: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c: In function ‘start_connect’:
stud.c:924: error: ‘proxystate’ has no member named ‘fd_down’
stud.c:926: error: ‘proxystate’ has no member named ‘ev_w_connect’
stud.c: At top level:
stud.c:936: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘clear_read’:
stud.c:939: error: ‘w’ undeclared (first use in this function)
stud.c:940: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:941: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:951: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:952: error: ‘proxystate’ has no member named ‘handshaked’
stud.c:953: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:953: error: too many arguments to function ‘safe_enable_io’
stud.c:956: error: ‘proxystate’ has no member named ‘fd_down’
stud.c:956: error: ‘proxystate’ has no member named ‘fd_down’
stud.c:961: error: ‘proxystate’ has no member named ‘fd_down’
stud.c: At top level:
stud.c:966: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘clear_write’:
stud.c:969: error: ‘w’ undeclared (first use in this function)
stud.c:981: error: ‘proxystate’ has no member named ‘handshaked’
stud.c:982: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:982: error: too many arguments to function ‘safe_enable_io’
stud.c:984: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:988: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c:997: error: ‘proxystate’ has no member named ‘fd_down’
stud.c: At top level:
stud.c:1005: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘handle_connect’:
stud.c:1008: error: ‘w’ undeclared (first use in this function)
stud.c:1009: error: ‘proxystate’ has no member named ‘fd_down’
stud.c:1011: error: ‘proxystate’ has no member named ‘ev_w_connect’
stud.c:1013: error: ‘proxystate’ has no member named ‘clear_connected’
stud.c:1014: error: ‘proxystate’ has no member named ‘clear_connected’
stud.c:1018: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:1018: error: too many arguments to function ‘safe_enable_io’
stud.c:1023: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c: In function ‘start_handshake’:
stud.c:1042: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1043: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:1045: error: ‘proxystate’ has no member named ‘handshaked’
stud.c:1048: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1050: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c: In function ‘end_handshake’:
stud.c:1058: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1059: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:1062: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1063: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1065: error: ‘proxystate’ has no member named ‘handshaked’
stud.c:1068: error: ‘proxystate’ has no member named ‘clear_connected’
stud.c:1071: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1071: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1073: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1074: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1082: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1083: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1096: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1096: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1098: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1099: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1100: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1105: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1115: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1118: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1124: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1124: error: too many arguments to function ‘safe_enable_io’
stud.c:1129: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c: At top level:
stud.c:1132: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘client_proxy_proxy’:
stud.c:1136: error: ‘w’ undeclared (first use in this function)
stud.c:1137: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1161: error: ‘proxystate’ has no member named ‘ev_proxy’
stud.c: At top level:
stud.c:1176: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘client_handshake’:
stud.c:1179: error: ‘w’ undeclared (first use in this function)
stud.c:1181: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1186: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1188: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:1189: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1192: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1193: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:1196: error: ‘proxystate’ has no member named ‘fd_up’
stud.c:1196: error: ‘proxystate’ has no member named ‘fd_up’
stud.c:1200: error: ‘proxystate’ has no member named ‘fd_up’
stud.c:1200: error: ‘proxystate’ has no member named ‘fd_up’
stud.c: At top level:
stud.c:1222: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘ssl_read’:
stud.c:1225: error: ‘w’ undeclared (first use in this function)
stud.c:1226: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:1227: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1231: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1234: error: ‘proxystate’ has no member named ‘renegotiation’
stud.c:1242: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1243: error: ‘proxystate’ has no member named ‘clear_connected’
stud.c:1244: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c:1244: error: too many arguments to function ‘safe_enable_io’
stud.c:1247: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1253: error: ‘proxystate’ has no member named ‘fd_up’
stud.c: At top level:
stud.c:1259: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘ssl_write’:
stud.c:1263: error: ‘w’ undeclared (first use in this function)
stud.c:1266: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1270: error: ‘proxystate’ has no member named ‘clear_connected’
stud.c:1271: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:1271: error: too many arguments to function ‘safe_enable_io’
stud.c:1273: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:1277: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:1285: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1291: error: ‘proxystate’ has no member named ‘fd_up’
stud.c: At top level:
stud.c:1298: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘handle_accept’:
stud.c:1303: error: ‘w’ undeclared (first use in this function)
stud.c:1357: error: ‘proxystate’ has no member named ‘fd_up’
stud.c:1358: error: ‘proxystate’ has no member named ‘fd_down’
stud.c:1359: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1360: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:1361: error: ‘proxystate’ has no member named ‘clear_connected’
stud.c:1362: error: ‘proxystate’ has no member named ‘handshaked’
stud.c:1363: error: ‘proxystate’ has no member named ‘renegotiation’
stud.c:1364: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1369: warning: implicit declaration of function ‘ev_io_init’
stud.c:1369: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1369: error: ‘EV_READ’ undeclared (first use in this function)
stud.c:1370: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:1370: error: ‘EV_WRITE’ undeclared (first use in this function)
stud.c:1372: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1373: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:1375: error: ‘proxystate’ has no member named ‘ev_proxy’
stud.c:1377: error: ‘proxystate’ has no member named ‘ev_w_connect’
stud.c:1379: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c:1380: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:1382: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1383: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:1384: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:1385: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c:1386: error: ‘proxystate’ has no member named ‘ev_proxy’
stud.c:1387: error: ‘proxystate’ has no member named ‘ev_w_connect’
stud.c:1388: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1389: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:1395: error: ‘proxystate’ has no member named ‘ev_proxy’
stud.c: At top level:
stud.c:1403: error: expected declaration specifiers or ‘...’ before ‘ev_timer’
stud.c: In function ‘check_ppid’:
stud.c:1408: warning: implicit declaration of function ‘ev_timer_stop’
stud.c:1408: error: ‘w’ undeclared (first use in this function)
stud.c:1409: error: ‘listener’ undeclared (first use in this function)
stud.c: At top level:
stud.c:1415: error: expected declaration specifiers or ‘...’ before ‘ev_io’
stud.c: In function ‘handle_clear_accept’:
stud.c:1420: error: ‘w’ undeclared (first use in this function)
stud.c:1476: error: ‘proxystate’ has no member named ‘fd_up’
stud.c:1477: error: ‘proxystate’ has no member named ‘fd_down’
stud.c:1478: error: ‘proxystate’ has no member named ‘ssl’
stud.c:1479: error: ‘proxystate’ has no member named ‘want_shutdown’
stud.c:1480: error: ‘proxystate’ has no member named ‘clear_connected’
stud.c:1481: error: ‘proxystate’ has no member named ‘handshaked’
stud.c:1482: error: ‘proxystate’ has no member named ‘renegotiation’
stud.c:1483: error: ‘proxystate’ has no member named ‘remote_ip’
stud.c:1488: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:1488: error: ‘EV_READ’ undeclared (first use in this function)
stud.c:1489: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c:1489: error: ‘EV_WRITE’ undeclared (first use in this function)
stud.c:1491: error: ‘proxystate’ has no member named ‘ev_w_connect’
stud.c:1493: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1494: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:1497: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:1498: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1500: error: ‘proxystate’ has no member named ‘ev_r_ssl’
stud.c:1501: error: ‘proxystate’ has no member named ‘ev_w_ssl’
stud.c:1502: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c:1503: error: ‘proxystate’ has no member named ‘ev_w_clear’
stud.c:1504: error: ‘proxystate’ has no member named ‘ev_w_connect’
stud.c:1505: error: ‘proxystate’ has no member named ‘ev_r_handshake’
stud.c:1506: error: ‘proxystate’ has no member named ‘ev_w_handshake’
stud.c:1511: error: ‘proxystate’ has no member named ‘ev_r_clear’
stud.c: In function ‘handle_connections’:
stud.c:1536: warning: implicit declaration of function ‘ev_default_loop’
stud.c:1536: error: ‘EVFLAG_AUTO’ undeclared (first use in this function)
stud.c:1538: error: ‘ev_timer’ undeclared (first use in this function)
stud.c:1538: error: expected ‘;’ before ‘timer_ppid_check’
stud.c:1539: warning: implicit declaration of function ‘ev_timer_init’
stud.c:1539: error: ‘timer_ppid_check’ undeclared (first use in this function)
stud.c:1540: warning: implicit declaration of function ‘ev_timer_start’
stud.c:1542: error: ‘listener’ undeclared (first use in this function)
stud.c:1542: error: ‘EV_READ’ undeclared (first use in this function)
stud.c:1546: warning: implicit declaration of function ‘ev_loop’
make: *** [stud.o] Error 1

@Radagaisus
Copy link

duplicate of #141

@earthgecko
Copy link

See #133 for the workaround

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

No branches or pull requests

3 participants