[jadmin] making jabber14-1.6.0 under FreeBSD: errors in expat files

Matthias Wimmer m at tthias.eu
Tue Jan 23 05:17:18 CST 2007


Hi Daniel!

Daniel Vartanov schrieb:
> (I tried expat-2.0.0.0 and expat-1.95.8)
>  
> gcc version 2.95.4 20020320 [FreeBSD]

It is caused by your old compiler. I have not tried to use a pre-3.0 
compiler for a long time, so I had not seen this.

The xmlnode.c file seems to require a C99 compliant compiler - 2.95.4 is 
not compliant with this international standard for the C programming 
language.

I have made a patch for this file, to contain work-arounds for older 
compilers at this place. Please try it. But there might be more 
occurences where your compiler fails with the same problem. If you tell 
me the locations, I may add workarounds there as well.

The patch is available at 
http://download.jabberd.org/jabberd14/jabberd14-1.6.0-older-compilers.diff


Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/



More information about the JAdmin mailing list