[ejabberd] Re: I need help again to install ejabberd

Magnus Henoch mange at freemail.hu
Thu Mar 31 14:03:51 MSD 2005


María Isabel López Sánchez-Huete <marisa at ugr.es> writes:

> 	After executing "configure", it say a great number of lines (330), but 
> in the main part they are only warnings. I reproduce the last 20 lines
>
> expat_erl.c:237: warning: excess elements in scalar initializer
> expat_erl.c:237: warning: (near initialization for `expat_driver_entry')
> expat_erl.c:238: warning: excess elements in scalar initializer
> expat_erl.c:238: warning: (near initialization for `expat_driver_entry')
> expat_erl.c:239: warning: excess elements in scalar initializer
> expat_erl.c:239: warning: (near initialization for `expat_driver_entry')
> expat_erl.c:240: warning: excess elements in scalar initializer
> expat_erl.c:240: warning: (near initialization for `expat_driver_entry')
> expat_erl.c:241: warning: excess elements in scalar initializer
> expat_erl.c:241: warning: (near initialization for `expat_driver_entry')
> expat_erl.c:242: warning: excess elements in scalar initializer
> expat_erl.c:242: warning: (near initialization for `expat_driver_entry')
> expat_erl.c:244: warning: excess elements in scalar initializer
> expat_erl.c:244: warning: (near initialization for `expat_driver_entry')
> expat_erl.c:244: warning: data definition has no type or storage class
> expat_erl.c:247: warning: return type defaults to `int'
> expat_erl.c: In function `DRIVER_INIT':
> expat_erl.c:248: warning: return makes integer from pointer without a cast
> make: *** [expat_erl.so] Error 1

These warnings seem to be mere consequences of an earlier error.  Are
there error messages further up?

In particular, I'd guess that the compiler can't find erl_driver.h.
You might need to add the Erlang include and library paths to CPPFLAGS
and LDFLAGS, respectively (though the configure script really should
do that for you).

Magnus



More information about the ejabberd mailing list