Problem compiling on Debian.

I've installed ejabberd a couple of times now, both from packages and source, this time I failed horribly though.

configure runs fine, but when I run make all I get is this:

Quote:

gcc -Wall -g -O2 \
expat_erl.c \
-lexpat \
-L/usr/lib/erlang/lib/erl_interface-3.5.5.2/lib -lerl_interface -lei -I/usr/lib/erlang/lib/erl_interface-3.5.5.2/include -I/usr/lib/erlang/usr/include \
-o expat_erl.so -fpic -shared
expat_erl.c: In function `ei_x_encode_string_len_fixed':
expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'
/usr/lib/erlang/lib/erl_interface-3.5.5.2/lib/libei.a(ei_x_encode.o)(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [expat_erl.so] Error 1

On Debian Sarge, kernel 2.4.27-3

Any ideas?
I'm totally stuck.

Did you installed libexpat

Did you installed libexpat (also devel packages)? Can you verify if you can compile a very old ejabberd version?

--
sander

Yes, I've installed

Yes, I've installed eveything. I have no problem compiling other things, and I did follow the instructions on this website, so everything is installed.

Syndicate content