ejabberd osx

Joel Reymont <>
Wed Apr 26 13:37:12 CEST 2006


Has anyone successfully compiled ejabberd 1.1 on OSX? I get

bigdaddy:/tmp/ejabberd-1.1.0/src joelr$ make
gcc -Wall -g -O2   \
                 expat_erl.c \
                 -lexpat  \
                 -L/opt/local/lib/erlang/lib/erl_interface-3.5.4/lib - 
lerl_interface -lei -I/opt/local/lib/erlang/lib/erl_interface-3.5.4/ 
include -I/opt/local/lib/erlang/usr/include \
                 -o expat_erl.so -fpic -shared
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-shared'
expat_erl.c:1: warning: -fpic is not supported; -fPIC assumed
expat_erl.c: In function 'ei_x_encode_string_len_fixed':
expat_erl.c:81: warning: implicit declaration of function 'x_fix_buff'
/usr/bin/ld: Undefined symbols:
_main
_driver_alloc
_driver_alloc_binary
_driver_free
_set_port_control_flags
collect2: ld returned 1 exit status
make: *** [expat_erl.so] Error 1

--
http://wagerlabs.com/








More information about the erlang-questions mailing list