As I'm getting a Trac-Python Traceback when submitting a new ticket in Trac, 
I'm posting it here.

Compiling of current HEAD (718) fails at make on:

> ./.libs/libcherokee-base.a(util.o): In function 
> `cherokee_readdir':C:/msys/1.0/home/Administrator/cherokee_svn/cherokee/util.c:438:
>  undefined reference to `readdir_r'
> collect2: ld returned 1 exit status
> make[2]: *** [cherokee_logrotate.exe] Error 1
> make[2]: Leaving directory `/home/Administrator/cherokee_svn/cherokee'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Administrator/cherokee_svn'
> make: *** [all] Error 2


I'm absolutely not into c, but I guess those changes to util.c fix it - at 
least it compiles now. Normally I am a Python/PHP programmer, so I could only 
guess what to do in util.c.


> $ diff util_new.c util.c 
> 430c430
> < #elif defined(HAVE_READDIR_H)
> ---
> > #else
> 448c448
> < # elif defined(HAVE_READDIR_R_3) 
> ---
> > # elif defined(HAVE_READDIR_R_3)
> 450,451c450
> < # endif
> < #else
> ---
> > # else
> 469a469
> > # endif



I hope this helps in any way.




-------

Read this topic online here:
http://www.cherokee-project.com/forum/viewtopic.php?p=265#265

-------


_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to