That fixed that part of the build. Which brings us to the next build glitch,
this time in c2s/authreg.c
----------------------------------------------------------------------
Making all in c2s
cc -DHAVE_CONFIG_H -I. -I.. -DCONFIG_DIR=\"/usr/local/etc\"
-DLIBRARY_DIR=\"/usr/local/lib/jabberd\" -I/usr/local/include/mysql
-I/usr/local/include -pipe -g -MT c2s-authreg.o -MD -MP -MF
.deps/c2s-authreg.Tpo -c -o c2s-authreg.o `test -f 'authreg.c' || echo
'./'`authreg.c
authreg.c: In function `authreg_init':
authreg.c:36: error: `PATH_MAX' undeclared (first use in this function)
authreg.c:36: error: (Each undeclared identifier is reported only once
authreg.c:36: error: for each function it appears in.)
----------------------------------------------------------------------
We're getting closer. Let me know if you have any ideas on what to do with
this one.
Tomasz Sterna wrote:
> Dnia 10-05-2007, Cz o godzinie 21:34 -0700, Michael Collette napisaĆ(a):
>> strndup.c:6: error: syntax error before "size_t"
>
> Please try changing subst/strndup.c to:
>
>
> #ifndef HAVE_STRNDUP
>
> #ifdef HAVE_CONFIG_H
> # include "config.h"
> #endif
> #include <stddef.h>
>
> char *strndup(char *str, size_t len)
> {
> char *dup = (char *)malloc(len+1);
> if (dup) {
> strncpy(dup,str,len);
> dup[len]= '\0';
> }
> return dup;
> }
> #endif
>
>
> --
> Tomasz Sterna
> Xiaoka Grp. http://www.xiaoka.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jabberd2 mailing list
> [email protected]
> http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com
--
"In theory, there is no difference between theory and practice.
In practice, there is."
- Yogi Berra
_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com