Issue 138: cherokee 0.10.0b2105 + windows 2000 + mingw 5.1.4 - compilation
problem
http://code.google.com/p/cherokee/issues/detail?id=138
New issue report by pio...@rubypulse.com:
My list of problems (and solutions):
PROBLEM_1: no "libpthread.a" library in lib directory
SOLUTION_1: need copy from cygwin latest package
PROBLEM_2: socket.c:549: error: 're' undeclared
SOLUTION_2: need declaration in "cherokee_socket_close" function - "int
re;" (correctly??)
PROBLEM_3. socket.c: In function `cherokee_socket_connect':
socket.c:1789: error: `EISCONN' undeclared (first use in this
function)
socket.c:1789: error: (Each undeclared identifier is reported
only once
socket.c:1789: error: for each function it appears in.)
socket.c:1794: error: `EADDRNOTAVAIL' undeclared (first use in this
function
socket.c:1799: error: `EALREADY' undeclared (first use in this
function)
socket.c:1800: error: `EINPROGRESS' undeclared (first use in this
function)
SOLUTION_3: include directives into "socket.h"
#define EINPROGRESS 119
#define EALREADY 120
#define EADDRNOTAVAIL 125
#define EISCONN 127
PROBLEM_4: util.h:128: error: syntax error before "uint16_t"
util.h:131: error: syntax error before "uint16_t"
SOLUTION_4: include directive into "util.h"
#include <stdint.h>
PROBLEM_5: main_worker.c:30:22: sys/wait.h: No such file or directory
main_worker.c: In function `wait_process':
main_worker.c:96: warning: implicit declaration of function `waitpid'
main_worker.c: At top level:
main_worker.c:111: error: syntax error before "siginfo_t"
main_worker.c: In function `signals_handler':
main_worker.c:113: error: `context' undeclared (first use in this
function)
main_worker.c:113: error: (Each undeclared identifier is reported only
once
main_worker.c:113: error: for each function it appears in.)
main_worker.c:115: error: `sig' undeclared (first use in this function)
main_worker.c:116: error: `SIGHUP' undeclared (first use in this function)
main_worker.c:121: error: `SIGUSR2' undeclared (first use in this
function)
main_worker.c:132: error: `SIGCHLD' undeclared (first use in this
function)
main_worker.c:133: error: `si' undeclared (first use in this function)
main_worker.c: In function `common_server_initialization':
main_worker.c:167: error: storage size of 'act' isn't known
main_worker.c:175: warning: implicit declaration of function `sigaction'
main_worker.c:175: error: `SIGPIPE' undeclared (first use in this
function)
main_worker.c:179: error: `SA_SIGINFO' undeclared (first use in this
function
main_worker.c:181: error: `SIGHUP' undeclared (first use in this function)
main_worker.c:182: error: `SIGUSR2' undeclared (first use in this
function)
main_worker.c:186: error: `SIGCHLD' undeclared (first use in this
function)
SOLUTION_5: I DON'T HAVE IDEA !
I don't know if my propositions of changes are correct - i'm sorry, i'm
not c/c++ programmer
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev
problem
http://code.google.com/p/cherokee/issues/detail?id=138
New issue report by pio...@rubypulse.com:
My list of problems (and solutions):
PROBLEM_1: no "libpthread.a" library in lib directory
SOLUTION_1: need copy from cygwin latest package
PROBLEM_2: socket.c:549: error: 're' undeclared
SOLUTION_2: need declaration in "cherokee_socket_close" function - "int
re;" (correctly??)
PROBLEM_3. socket.c: In function `cherokee_socket_connect':
socket.c:1789: error: `EISCONN' undeclared (first use in this
function)
socket.c:1789: error: (Each undeclared identifier is reported
only once
socket.c:1789: error: for each function it appears in.)
socket.c:1794: error: `EADDRNOTAVAIL' undeclared (first use in this
function
socket.c:1799: error: `EALREADY' undeclared (first use in this
function)
socket.c:1800: error: `EINPROGRESS' undeclared (first use in this
function)
SOLUTION_3: include directives into "socket.h"
#define EINPROGRESS 119
#define EALREADY 120
#define EADDRNOTAVAIL 125
#define EISCONN 127
PROBLEM_4: util.h:128: error: syntax error before "uint16_t"
util.h:131: error: syntax error before "uint16_t"
SOLUTION_4: include directive into "util.h"
#include <stdint.h>
PROBLEM_5: main_worker.c:30:22: sys/wait.h: No such file or directory
main_worker.c: In function `wait_process':
main_worker.c:96: warning: implicit declaration of function `waitpid'
main_worker.c: At top level:
main_worker.c:111: error: syntax error before "siginfo_t"
main_worker.c: In function `signals_handler':
main_worker.c:113: error: `context' undeclared (first use in this
function)
main_worker.c:113: error: (Each undeclared identifier is reported only
once
main_worker.c:113: error: for each function it appears in.)
main_worker.c:115: error: `sig' undeclared (first use in this function)
main_worker.c:116: error: `SIGHUP' undeclared (first use in this function)
main_worker.c:121: error: `SIGUSR2' undeclared (first use in this
function)
main_worker.c:132: error: `SIGCHLD' undeclared (first use in this
function)
main_worker.c:133: error: `si' undeclared (first use in this function)
main_worker.c: In function `common_server_initialization':
main_worker.c:167: error: storage size of 'act' isn't known
main_worker.c:175: warning: implicit declaration of function `sigaction'
main_worker.c:175: error: `SIGPIPE' undeclared (first use in this
function)
main_worker.c:179: error: `SA_SIGINFO' undeclared (first use in this
function
main_worker.c:181: error: `SIGHUP' undeclared (first use in this function)
main_worker.c:182: error: `SIGUSR2' undeclared (first use in this
function)
main_worker.c:186: error: `SIGCHLD' undeclared (first use in this
function)
SOLUTION_5: I DON'T HAVE IDEA !
I don't know if my propositions of changes are correct - i'm sorry, i'm
not c/c++ programmer
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev