esl/ejabberd — comment on commit 9b3823c298e39f9e7d87cffebc7c2daf8d97b8c5
File:  line 0
By jbothma:

With this revision I get the following when I "./rebar compile". I haven't tried other versions and haven't tried more stable versions of ubuntu. Is this something you're familiar with or should I debug it myself further?

I regularly compile the original ejabberd 2.1.9 source on the same machine.

jdb@jd:/tmp/esl_ejabberd/ejabberd$ ./rebar compile
==> ejabberd (compile)
cc: error: unrecognized option ‘-avoid-version’
ERROR: cc c_src/tls_drv.o -module -avoid-version -lssl -lz -lpam -lcrypto -lexpat -liconv -shared -L/usr/local/lib/erlang/lib/erl_interface-3.7.4/lib -lerl_interface -lei -o priv/lib/tls_drv.so failed with error: 1

cc version

jdb@jd:/tmp/esl_ejabberd/ejabberd$ cc --version
cc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

uname -a

jdb@jd:/tmp/esl_ejabberd/ejabberd$ uname -a
Linux jd.pcs 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

jdb@jd:/tmp/esl_ejabberd/ejabberd$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"