Displaying 2 results from an estimated 2 matches for "astlink".
Did you mean:
fastlink
2005 May 27
1
static linking
...ake 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:
[root@0060ef21765a /]# asterisk
Illegal instruction
[root@0060ef21765a /]#
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
2004 May 17
0
openbsd compilation fails for recent checkout of v1-0_stable
...include <sys/endian.h>
Change this to be:
#if defined( __FreeBSD__ ) || defined( __OpenBSD__ )
# include <machine/types.h>
# include <machine/endian.h>
And -E is an invalid linker option, so the Makefile needs to be changed:
ifeq (${OSARCH},Darwin)
OBJS+=poll.o dlfcn.o
ASTLINK=-Wl,-dynamic
SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
+else
+ifeq (${OSARCH},OpenBSD)
+ASTLINK=-Wl
+SOLINK=-shared -Xlinker -x
else
ASTLINK=-Wl,-E
SOLINK=-shared -Xlinker -x
endif
+endif
Also, for OpenBSD, asterisk's use of gethostbyname_r doesn&...