On Mon, Nov 15, 2010 at 11:09 AM, Alvaro Lopez Ortega
<[email protected]>wrote:

> Hello Diego,
>
> On 15/11/2010, at 14:47, Diego Schulz wrote:
>
> I'm working to get an updated FreeBSD port for 1.0.9 but so far it wasn't
> able to even build this release.
>
> ./.libs/libcherokee-base.so: undefined reference to `WEXITSTATUS'
> ./.libs/libcherokee-base.so: undefined reference to `WIFEXITED'
>
> Any clues?
>
>
> Hopefully it's fixed upstream now. Could you please give it a try?
>
>   http://svn.cherokee-project.com/changeset/5770
>
>
>
Hi again,
Thanks to all for the responses.
I applied the changeset 5770 cleanly but the linker it's still complaining
:(


# make extract
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for cherokee-1.0.8
===>  Extracting for cherokee-1.0.9
=> SHA256 Checksum OK for cherokee-1.0.9.tar.gz.

# cat files/patch-cherokee-main_admin.c
--- cherokee/main_admin.c-orig  2010-10-29 07:11:18.000000000 -0300
+++ cherokee/main_admin.c       2010-11-15 16:56:39.000000000 -0300
@@ -35,6 +35,10 @@
 #include "server-protected.h"
 #include "util.h"

+#ifdef HAVE_SYS_WAIT_H
+# include <sys/wait.h>
+#endif
+
 #ifdef HAVE_GETOPT_LONG
 # include <getopt.h>
 #else

# make patch
===>  Patching for cherokee-1.0.9
===>  Applying FreeBSD patches for cherokee-1.0.9
[r...@monesvol /usr/ports/www/cherokee-new]# grep -H2 'sys/wait'
work/cherokee-1.0.9/cherokee/main_admin.c
work/cherokee-1.0.9/cherokee/main_admin.c-
work/cherokee-1.0.9/cherokee/main_admin.c-#ifdef HAVE_SYS_WAIT_H
work/cherokee-1.0.9/cherokee/main_admin.c:# include <sys/wait.h>
work/cherokee-1.0.9/cherokee/main_admin.c-#endif
work/cherokee-1.0.9/cherokee/main_admin.c-

I also tried including <sys/wait.h> unconditionally in main_admin.c and
main_worker.c, but no luck so far.

I'll continue trying to solve this. Any input welcomed.

Thanks,

diego
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to