Hello all,
I had problems compiling the latest Rivendell release (2.1.3). When
getting to compile 'cae', I would get this error:
http://pastebin.com/dNCQNNB5 (undefined reference to symbol
'pthread_create@@GLIBC_2.2.5')
I managed to make it compile by adding '-lpthread' to the command
line. Then I ran make again and everything went ok. However, I am
working on an installation script, and obviously, I cannot ask the
user to type this command manually.
I don't know enough of autotools and I would like to know if somebody
could help me or give some pointers as to how I could fix that.
I thought of a couple of ways:
> Running ./configure, then through shell scripting, add -lpthread to the LIBS
> array in cae/Makefile, then run make.
Pros: quick and dirty
Cons: hackish, fragile
> Adding -lpthread to configure.in substitutions and then adding @PTHREAD@ to
> cae/Makefile.
I feel this is the right way to do it (could be wrong, I am still
not sure how autotools works) but I would like to know Fred Gleason's
advice on this. I figure that if it's not already there, then there
must be something different about my system...
I am running configure with options "--libexecdir=/srv/http/rd-bin
--prefix=/usr".
Thanks!
--
Sébastien Leblanc
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev