<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Paweł Gołaszewski wrote:<br>
<blockquote type="cite"
cite="midPine.LNX.4.51L.0305131008510.19444@piorun.ds.pg.gda.pl">
<pre wrap="">Who will tell me why there was -lpt_linux_x86_r and -lh323_linux_x86_r ??
</pre>
</blockquote>
[<tt>root@psycho lib]# pwd<br>
/usr/src/openh323/lib<br>
[root@psycho lib]# ll<br>
total 26664<br>
-rw-r--r-- 1 root root 17591194 Apr 4 15:08 libh323_linux_x86_r_s.a<br>
lrwxrwxrwx 1 root root 29 Apr 4 15:09 libh323_linux_x86_r.so
-> libh323_linux_x86_r.so.1.11.8<br>
lrwxrwxrwx 1 root root 29 Apr 4 15:09
libh323_linux_x86_r.so.1 -> libh323_linux_x86_r.so.1.11.8<br>
lrwxrwxrwx 1 root root 29 Apr 4 15:09
libh323_linux_x86_r.so.1.11 -> libh323_linux_x86_r.so.1.11.8<br>
-rwxr-xr-x 1 root root 9661248 Apr 4 15:09
libh323_linux_x86_r.so.1.11.8<br>
drwxr-xr-x 2 root root 4096 Mar 24 07:11 obj_linux_x86_d<br>
drwxr-xr-x 2 root root 4096 Apr 4 15:08 obj_linux_x86_r</tt><br>
<tt><br>
[root@psycho lib]# ll </tt><tt>/usr/src/pwlib/lib<br>
total 11672<br>
-rw-r--r-- 1 root root 5782748 Apr 4 13:21
libpt_linux_x86_r_s.a<br>
lrwxrwxrwx 1 root root 27 Apr 4 13:21
libpt_linux_x86_r.so -> libpt_linux_x86_r.so.1.4.12<br>
lrwxrwxrwx 1 root root 27 Apr 4 13:21
libpt_linux_x86_r.so.1 -> libpt_linux_x86_r.so.1.4.12<br>
lrwxrwxrwx 1 root root 27 Apr 4 13:21
libpt_linux_x86_r.so.1.4 -> libpt_linux_x86_r.so.1.4.12<br>
-rwxr-xr-x 1 root root 2894736 Apr 4 13:21
libpt_linux_x86_r.so.1.4.12<br>
-rwxr-xr-x 1 root root 3240056 Jan 16 23:37
libpt_linux_x86_r.so.1.4.9<br>
drwxr-xr-x 2 root root 4096 Apr 4 12:44 obj_linux_x86_d<br>
drwxr-xr-x 2 root root 4096 Apr 4 13:21 obj_linux_x86_r<br>
<br>
</tt><br>
<blockquote type="cite"
cite="midPine.LNX.4.51L.0305131008510.19444@piorun.ds.pg.gda.pl">
<pre wrap="">
</pre>
<pre wrap="">
<hr width="90%" size="4">
--- ./channels/h323/Makefile.org        Tue May 13 09:53:16 2003
+++ ./channels/h323/Makefile        Tue May 13 09:55:26 2003
@@ -24,7 +24,8 @@
CFLAGS += -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
CFLAGS += -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
CFLAGS += -I$(PWLIBDIR)/include/ptlib/unix -I$(PWLIBDIR)/include
-CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes -Wno-missing-declarations
+CFLAGS += -I$(OPENH323DIR)/include -I/usr/include/openh323
+CFLAGS += -Wno-missing-prototypes -Wno-missing-declarations
all: chan_h323.so
@@ -61,13 +62,13 @@
        g++ -g -c -o $@ $(CFLAGS) $<
chan_h323.so:        chan_h323.o ast_h323.o
-        g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r -L$(OPENH323DIR)/lib -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
+        g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
chan_h323_d.so:        chan_h323.o ast_h323.o
-        g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_d -L$(OPENH323DIR)/lib -lh323_linux_x86_d -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
+        g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
chan_h323_s.so:        chan_h323.o ast_h323.o
-        g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r_s -L$(OPENH323DIR)/lib -lh323_linux_x86_r_s -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
+        g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
clean:
        rm -f *.o *.so core.*
</pre>
</blockquote>
<br>
</body>
</html>