[Asterisk-Users] still can't load oh323 - Are we not supporting H.323 any more?
ruixun wu
ruixunwu at yahoo.ca
Tue Jul 27 07:09:25 MST 2004
--- Alexey Gusev <ifax at esp.spb.ru> wrote: >
> Please check /usr/local/lib
>
> I have in this dir the next
>
> libonh323wrap.so
> libonh323wrap.so.1
> libonh323wrap.so.1.1
>
> Alexey
>
Hi Alexey,
Yes, that three files are in dir /usr/local/lib.
I have modified the Makefile. Following I will show
my Makefile, is my Makefile correct?
Thanks a lot
The Makefile:
# Export all variables to child processes
.EXPORT_ALL_VARIABLES:
DESTDIR=
PWLIBDIR=/usr/src/pwlib
OPENH323DIR=/usr/src/openh323
ASTERISKINCDIR=/usr/src/asterisk/include
ASTERISKMODDIR=/usr/lib/asterisk/modules
ASTERISKETCDIR=/etc/asterisk
OH323WRAPLIBDIR=/usr/local/lib
SSLINCDIR=/usr/include/openssl
SSLLIBDIR=/usr/lib
WRAPTRACING=1
WRAPSTAT=0
SHELL:= /bin/sh
SUBDIRS=wrapper asterisk-driver
.PHONY: subdirs_all subdir_install subdir_clean rpm
rpm_clean $(SUBDIRS)
CC=gcc
CPP=g++
MAKE=make
INSTALL=install
TOUCH=touch
AR=ar
OH323WRAPINCLUDE= \
-I$(PWLIBDIR)/include/ptlib \
-I$(PWLIBDIR)/include \
-I$(OPENH323DIR)/include \
-I$(OPENH323DIR)/include/openh323 \
-I../asterisk-driver
OPENH323USERFLAGS=
ifdef NOVIDEO
OPENH323USERFLAGS += NOVIDEO=1
endif
ifdef NOAUDIOCODECS
OPENH323USERFLAGS += NOAUDIOCODECS=1
endif
ifdef NOSPEEX
OPENH323USERFLAGS += NO_SPEEX=1
endif
ifdef NOTRACE
OPENH323USERFLAGS += NOTRACE=1
endif
ifdef NO_IPv6
OPENH323USERFLAGS += NO_IPv6=1
endif
ifdef P_PTHREADS
OPENH323USERFLAGS += P_PTHREADS=1
endif
OPENH323FLAGS=$(shell make $(OPENH323USERFLAGS)
--no-print-directory -s \
-C $(OPENH323DIR) \
PWLIBDIR=$(PWLIBDIR) OPENH323DIR=$(OPENH323DIR)
ccflags)
CPPFLAGS=$(OPENH323FLAGS) -Wall -x c++ -Os
ASTERISKINCLUDE=-I$(ASTERISKINCDIR) -I../wrapper
CFLAGS=-Wall
ifdef HAS_OH323MODS
CPPFLAGS += -DHAS_OH323MODS
CFLAGS += -DHAS_OH323MODS
endif
ifdef DEBUG_THREADS
CFLAGS += -DDEBUG_THREADS
ifdef DO_CRASH
CFLAGS += -DDO_CRASH
endif
endif
#
# Rules
#
all: subdirs_all
install: all subdirs_install
clean: subdirs_clean rpm_clean
opt: all
subdirs_all:
for x in $(SUBDIRS); do $(MAKE) -C $$x all || exit 1
; done
subdirs_install:
for x in $(SUBDIRS); do $(MAKE) -C $$x install ||
exit 1 ; done
subdirs_clean:
for x in $(SUBDIRS); do $(MAKE) -C $$x clean || exit
1 ; done
rpm:
$(MAKE) -C rpm rpm
rpm_clean:
$(MAKE) -C rpm rpm_clean
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
More information about the asterisk-users
mailing list