[asterisk-dev] Compile Asterisk with OH323 problem

Philipp Kempgen philipp.kempgen at amooma.de
Wed Apr 25 23:28:06 MST 2007


William wrote:
> William wrote:
>> I'm new to asterisk.

Welcome to Asterisk!

>> This few days I was trying to compile asterisk with OH323. Because I 
>> want my SoftPhone > Asterisk IP PBX  > Quintum A800 H323 > ISDN.
>>
>> But during compiling OH323 I faced the following problem.

Please ask again on the asterisk-users list. Although I'm not
really in a position to tell you that, someone who is will tell
you about the same.

I'm not familiar with all that H323 stuff but there's currently
some discussion on the -users list. No idea if this is related or
not:

---cut---
Bill Wrote:
> > On Wed, 25 Apr 2007 12:18:10 -0500, The Asterisk Development Team
wrote
>> >>  The Asterisk.org development team has released Asterisk-addons
version
>> >>  1.4.1.
> >

> > When I run make install I get:

> > [root at phone1 asterisk-ooh323c]# make install
> > cp .libs/libchan_h323.so.1.0.1
/usr/lib/asterisk/modules/chan_ooh323.so
> > cp: cannot stat `.libs/libchan_h323.so.1.0.1': No such file or
directory
> > make: *** [install] Error 1

> > [root at phone1 asterisk-ooh323c]# ls -la .libs/
> > total 4164
> > drwxr-xr-x 2 root root    4096 Apr 26 10:26 .
> > drwxr-xr-x 8 root root    4096 Apr 26 10:26 ..
> > lrwxrwxrwx 1 root root      18 Apr 26 10:26 libchan_h323 ->
libchan_h323.1.0.1
> > lrwxrwxrwx 1 root root      18 Apr 26 10:26 libchan_h323.1 ->
libchan_h323.1.0.1
> > -rwxr-xr-x 1 root root 2043862 Apr 26 10:26 libchan_h323.1.0.1
> > -rw-r--r-- 1 root root 2197238 Apr 26 10:26 libchan_h323.a
> > lrwxrwxrwx 1 root root      18 Apr 26 10:26 libchan_h323.la ->
../libchan_h323.la
> > -rw-r--r-- 1 root root     807 Apr 26 10:26 libchan_h323.lai

> > Have I done something wrong? Or is there a bug?

Isn't it fun when old bugs come back?  This is a Makefile issue
where the compiled file has the wrong name.  The 'make install'
is looking for .libs/libchan_h323.so.1.0.1, but the compile
produced  .libs/libchan_h323.1.0.1

You can copy the file manually and it will work fine:
cp .libs/libchan_h323.1.0.1 /usr/lib/asterisk/modules/chan_ooh323.so

With luck Asterisk-Addons 1.4.2 will address this once again....

Dan
---cut---


Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
     Let's use IT to solve problems and not to create new ones.
           Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998


More information about the asterisk-dev mailing list