Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Compile error with libpri 1.4.15


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
geisj at pagestation.com
Guest





PostPosted: Tue Feb 02, 2016 9:58 am    Post subject: [asterisk-users] Compile error with libpri 1.4.15 Reply with quote

I am getting this:
make
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pritest.o -MF .pritest.o.d -MP -c -o pritest.o pritest.c
pritest.c:50:28: fatal error: dahdi/tonezone.h: No such file or directory
 #include <dahdi/tonezone.h>



I am using dahdi-linux-complete-2.11.0+2.11.0 


I did "find . | grep timezone.h" from the dahdi root and its not there.


LIBPRI is 1.4.15
DAHDI version is mentioned above


What might I be missing?
Thanks,


Jerry
Back to top
tony at softins.co.uk
Guest





PostPosted: Tue Feb 02, 2016 10:27 am    Post subject: [asterisk-users] Compile error with libpri 1.4.15 Reply with quote

In article <CABr8-B7WK0X7KTtE9992mnD1Ss4RWXrrUCnTJSeM154U1xr9Yw@mail.gmail.com>,
Jerry Geis <geisj@pagestation.com> wrote:
Quote:

I am getting this:

make
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2
-MD -MT pritest.o -MF .pritest.o.d -MP -c -o pritest.o pritest.c
pritest.c:50:28: fatal error: dahdi/tonezone.h: No such file or directory
#include <dahdi/tonezone.h>

I am using dahdi-linux-complete-2.11.0+2.11.0

I did "find . | grep timezone.h" from the dahdi root and its not there.

It's tonezone.h, not timezone.h

And it is being looked for in /usr/include/dahdi/tonezone.h, not in
the dahdi source directory.

You need to have installed DAHDI before compiling libpri or asterisk.

Cheers
Tony
--
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
geisj at pagestation.com
Guest





PostPosted: Tue Feb 02, 2016 10:38 am    Post subject: [asterisk-users] Compile error with libpri 1.4.15 Reply with quote

Quote:
You need to have installed DAHDI before compiling libpri or asterisk


Thanks Tony,


in fact I have compiled DAHDI complete 2.11.0+2.11.0 - It did not show any errors.

I did make; make install on the DAHDI source 


crazy typo... Smile   in fact I do have tonezone.h in the dahdi source tree. but not in /usr/include
find /usr/include/dahdi/
/usr/include/dahdi/
/usr/include/dahdi/kernel.h
/usr/include/dahdi/user.h
/usr/include/dahdi/fasthdlc.h
/usr/include/dahdi/wctdm_user.h
/usr/include/dahdi/dahdi_config.h



What up? 


jerry
Back to top
tony at softins.co.uk
Guest





PostPosted: Tue Feb 02, 2016 11:33 am    Post subject: [asterisk-users] Compile error with libpri 1.4.15 Reply with quote

In article <CABr8-B53t6+HhdnQmd4im+P=9-3_JGUOUMLCKdSnS4mV-HqEZg@mail.gmail.com>,
Jerry Geis <geisj@pagestation.com> wrote:
Quote:

Quote:
You need to have installed DAHDI before compiling libpri or asterisk

Thanks Tony,

in fact I have compiled DAHDI complete 2.11.0+2.11.0 - It did not show any
errors.
I did make; make install on the DAHDI source

crazy typo... Smile in fact I do have tonezone.h in the dahdi source tree.
but not in /usr/include
find /usr/include/dahdi/
/usr/include/dahdi/
/usr/include/dahdi/kernel.h
/usr/include/dahdi/user.h
/usr/include/dahdi/fasthdlc.h
/usr/include/dahdi/wctdm_user.h
/usr/include/dahdi/dahdi_config.h

What up?

Maybe it didn't install properly? Try doing "make install" in DAHDI again
(as root, of course) and watch it closely. I haven't tried 2.11.0. On my
boxes with 2.10.0.1, /usr/include/dahdi/tonezone.h does exist.

Cheers
Tony
--
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
geisj at pagestation.com
Guest





PostPosted: Tue Feb 02, 2016 11:57 am    Post subject: [asterisk-users] Compile error with libpri 1.4.15 Reply with quote

I am getting an error on DAHDI


The make seems OK, its the make install that shows issues.


make install | grep tools




WARNING: could not find /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
(cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux)
make -C tools all
make[1]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[2]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/doc'
make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/doc'
make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug'
make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug'
make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[2]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[1]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
WARNING: could not find /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
build_tools/uninstall-modules dahdi 3.10.0-327.3.1.el7.x86_64
### dahdi-tools.

make -C tools install
make[1]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make[2]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules'
make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
/usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory
/usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or directory
/usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory
make[4]: *** [install-man8] Error 1
make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools'
make: *** [install] Error 2



This always worked before....


I grabbed dahdi-linux-complete-2.10.0+2.10.0 and did the make and make install 
and I get NO errors and I get the tonezone.h file also...


Is this something I am doing wrong or some issue with 2.11.0  ?


Thanks,




jerry
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Wed Feb 03, 2016 6:58 am    Post subject: [asterisk-users] Compile error with libpri 1.4.15 Reply with quote

On Tue, Feb 02, 2016 at 11:57:08AM -0500, Jerry Geis wrote:

Quote:
make[4]: Entering directory
`/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp'
/usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or
directory
/usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory
/usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory
/usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory
/usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or
directory
/usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory

Those should have been generated by pod2man. Look for '%.8: %' in
xpp/Makefile.am .

So it seems that a check for pod2man needs to be added to the configure
script. For now, generate a dummy pod2man binary somewhere in your path.
Or just install perl-doc or whatever it is called.

For instance:

ln -s /bun/true /usr/local/bin/pod2man # Results in empty man pages

I stress that this is a TEMPORARY WORKAROUND until the configure script
is adapted.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services