[root@brvoice libpri]# make clean<br>rm -f *.o *.so *.lo *.so.1.4<br>rm -f testprilib libpri.a libpri.so.1.4<br>rm -f pritest pridump<br>rm -f .depend<br>[root@brvoice libpri]# make<br>CC=&quot;gcc&quot; ./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; `ls *.c`<br>
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp;&nbsp;&nbsp; -c -o copy_string.o copy_string.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp;&nbsp;&nbsp; -c -o pri.o pri.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp;&nbsp;&nbsp; -c -o q921.o q921.c<br>
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp;&nbsp;&nbsp; -c -o prisched.o prisched.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp;&nbsp;&nbsp; -c -o q931.o q931.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp;&nbsp;&nbsp; -c -o pri_facility.o pri_facility.c<br>
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp;&nbsp;&nbsp; -c -o version.o version.c<br>ar rcs libpri.a copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o version.o<br>ranlib libpri.a<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; -o copy_string.lo -c copy_string.c<br>
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; -o pri.lo -c pri.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; -o q921.lo -c q921.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; -o prisched.lo -c prisched.c<br>
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; -o q931.lo -c q931.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; -o pri_facility.lo -c pri_facility.c<br>gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC&nbsp;&nbsp; -o version.lo -c version.c<br>
gcc -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo version.lo<br>/sbin/ldconfig -n .<br>ln -sf libpri.so.1.4 libpri.so<br>[root@brvoice libpri]#<br><br><br><br clear="all">
<br>-- <br>Consultor Técnico em Tecnologia<br>Marcus A. Queiroz<br><a href="http://www.ctcip.com.br">www.ctcip.com.br</a><br><br>Fone: 81-9928 9162<br>Msn/emal: <a href="mailto:queiroz.marcus@gmail.com">queiroz.marcus@gmail.com</a><br>