Hi all.
Im having trouble installing asterisk and i could use a little help..well ok, a lot of help, but ill start off simple.
Following the install guide at asterisk guru...
| Quote: |
Compiling Asterisk on most Linux distributions
Accomplish this by opening the folder in which the source codes were extracted (if you are using tarball files), or go to the /usr/src/asterisk folder (if using CVS server) to get the required packages.
To go to this directory, see example:
#cd /usr/src/asterisk
Once here, the final step is to compile:
Important: Follow this installation order: libpri, zaptel, asterisk
-Installing libpri
#cd /usr/src/asterisk/libpri
#make clean
#make
#make install |
..i run into this error and im not sure what it means or what to do. Thanks for any and all help.
root@ubuntu:/usr/src/libpri-1.4.3# make clean
rm -f *.o *.so *.lo *.so.1 *.so.1.0
rm -f testprilib libpri.a libpri.so.1.0
rm -f pritest pridump
rm -f .depend
root@ubuntu:/usr/src/libpri-1.4.3# make
CC="gcc" ./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC `ls *.c`
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o copy_string.o copy_string.c
copy_string.c:25:20: error: string.h: No such file or directory
copy_string.c:26:20: error: unistd.h: No such file or directory
copy_string.c:27:20: error: stdlib.h: No such file or directory
In file included from copy_string.c:31:
pri_internal.h:29:22: error: sys/time.h: No such file or directory
In file included from copy_string.c:31:
pri_internal.h:35: error: field ‘when’ has incomplete type
pri_internal.h:92: error: field ‘tv’ has incomplete type
make: *** [copy_string.o] Error 1