<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2> Installed 1.4.0 libpri and 1.4.0
zaptel and everything went smoothly. I configured asterisk 1.4.0 with no
problems (./configure), but when I compile it (make), it fails with this
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> [LD] res_snmp.o snmp/agent.o ->
res_snmp.so<BR>/usr/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC<BR>/usr/local/lib/libz.a: could not read symbols:
Bad value<BR>collect2: ld returned 1 exit status<BR>make[1]: *** [res_snmp.so]
Error 1<BR>make: *** [res] Error 2<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>How do I recompile with -fPIC?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- Gabriel</FONT></DIV></FONT></DIV></BODY></HTML>