Has anyone tried or had success statically linking Asterisk?  I'd like
to do this to deploy to smaller boxes that don't have the toolchain
and libraries to build the thing.

I've tried using statifier (at sf.net) which claims to take a dynamic
executable and transform it into a static executable. It seemed to
work on my box, but when I tried it on the target box it did this:
[EMAIL PROTECTED] /]# asterisk 
Illegal instruction
[EMAIL PROTECTED] /]# 

I've also tried messing with the Makefile.  Specifically I did this:
#ASTLINK=-Wl,-E 
#SOLINK=-shared -Xlinker -x
ASTLINK=-Wl,-E 
SOLINK=-static -Xlinker -x

I also tried leaving the ASTLINK line blank.  Both attempts were
unsuccessful and I got unresolved symbol errors.

Thanks,

Ben
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to