I do 'make pridump' from the libpri source directory and receive the following: # make pridump cc -o pridump pridump.o -L. -lpri -lzap -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g /usr/bin/ld: cannot find -lzap collect2: ld returned 1 exit status make: *** [pridump] Error 1 I am new to all of this, so I am sure I am missing something obvious, any help will be appreciated. I am using libpri verision 1.0.4 with Fedora Core version 2.6.5-1.358. Note: Asterisk and the kernel modules compiled fine, I would just like to try out this utility. Thanks, -Arlen Raasch
Martijn van Oosterhout
2005-Feb-18 04:43 UTC
[Asterisk-Users] Problems compiling pridump utility
"-lzap" means it's looking more libzap, presumably the zaptel library. Have you got it somewhere where the makefile will find it? Hope this helps, On Thu, Feb 17, 2005 at 05:54:42PM -0500, Arlen Raasch wrote:> I do 'make pridump' from the libpri source directory and receive the > following: > > # make pridump > cc -o pridump pridump.o -L. -lpri -lzap -Wall -Werror > -Wstrict-prototypes -Wmissing-prototypes -g > /usr/bin/ld: cannot find -lzap > collect2: ld returned 1 exit status > make: *** [pridump] Error 1 > > I am new to all of this, so I am sure I am missing something obvious, > any help will be appreciated. > > I am using libpri verision 1.0.4 with Fedora Core version 2.6.5-1.358. > > Note: Asterisk and the kernel modules compiled fine, I would just like > to try out this utility. > > Thanks, > > -Arlen Raasch-- Martijn van Oosterhout