Mailing List Archive

Issue 138 in cherokee: cherokee 0.10.0b2105 + windows 2000 + mingw 5.1.4 - compilation problem
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
Re: Issue 138 in cherokee: cherokee 0.10.0b2105 + windows 2000 + mingw 5.1.4 - compilation problem [ In reply to ]
Comment #4 on issue 138 by sahulhm: cherokee 0.10.0b2105 + windows 2000 +
mingw 5.1.4 - compilation problem
http://code.google.com/p/cherokee/issues/detail?id=138

I have hit this problem. Could any body please help me out.

[ 17%] Building C object src/CMakeFiles/min-cscope.dir/main.c.obj
cd D:\Development\min-cscope\build\src && C:\MinGW\bin\gcc.exe
-DUSE_SORTLIB -
DWIN32 -DNSTATS -O3 -DNDEBUG -ID:\Development\min-cscope\src
-ID:\Development\min-
cscope\build\src -ID:\Development\min-cscope\src\..\sort -o
CMakeFiles\min-
cscope.dir\main.c.obj -c D:\Development\min-cscope\src\main.c
D:\Development\min-cscope\src\main.c:136: error: syntax error
before "siginfo_t"
D:\Development\min-cscope\src\main.c: In function `sigwinch_handler':
D:\Development\min-cscope\src\main.c:138: error: `sig' undeclared (first
use in this
function)
D:\Development\min-cscope\src\main.c:138: error: (Each undeclared
identifier is
reported only once
D:\Development\min-cscope\src\main.c:138: error: for each function it
appears in.)
D:\Development\min-cscope\src\main.c:139: error: `info' undeclared (first
use in
this function)
D:\Development\min-cscope\src\main.c:140: error: `unused' undeclared (first
use in
this function)
D:\Development\min-cscope\src\main.c: In function `main':
D:\Development\min-cscope\src\main.c:159: error: storage size
of 'winch_action'
isn't known
D:\Development\min-cscope\src\main.c:456: error: `SA_SIGINFO' undeclared
(first use
in this function)
D:\Development\min-cscope\src\main.c:457: error: `SIGWINCH' undeclared
(first use in
this function)
mingw32-make[2]: *** [src/CMakeFiles/min-cscope.dir/main.c.obj] Error 1
mingw32-make[2]: Leaving directory `d:/Development/min-cscope/build'
mingw32-make[1]: *** [src/CMakeFiles/min-cscope.dir/all] Error 2
mingw32-make[1]: Leaving directory `d:/Development/min-cscope/build'
mingw32-make: *** [all] Error 2

--
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
Re: Issue 138 in cherokee: cherokee 0.10.0b2105 + windows 2000 + mingw 5.1.4 - compilation problem [ In reply to ]
Updates:
Status: WontFix

Comment #5 on issue 138 by ste...@konink.de: cherokee 0.10.0b2105 + windows
2000 + mingw 5.1.4 - compilation problem
http://code.google.com/p/cherokee/issues/detail?id=138

We decided to drop Win32 support.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev