Line 1:
Line 1:
= Compiling AllStarLink =
= Compiling AllStarLink =
−
The following commands will allow you to compile AllStarLink's ASL 1.01 release.
+
The following commands will allow you to compile AllStarLink's ASL 1.01+ release.
These instructions assume you are already familiar with compiling and installing software on Linux.
These instructions assume you are already familiar with compiling and installing software on Linux.
Line 17:
Line 17:
== Install requirements for building ==
== Install requirements for building ==
−
apt-get install -y git build-essential linux-headers-$(uname -r) linux-source-4.9 libss7-dev wget apt-utils dahdi-source dahdi-linux aptitude tcsh gawk libusb-dev vim
+
apt-get install -y git build-essential linux-headers-$(uname -r) linux-source-4.9 libss7-dev wget apt-utils dahdi-source dahdi-linux aptitude tcsh gawk libusb-dev vim '''libblkid-dev'''
== Get DAHDI source files ==
== Get DAHDI source files ==
Line 61:
Line 61:
make config
make config
−
== Install GCC 4.9 to compile ASL 1.01 ==
+
== Install GCC 4.9 to compile ASL 1.01+ ==
echo "deb http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
echo "deb http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
echo "deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
echo "deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
Line 70:
Line 70:
cd Asterisk/asterisk
cd Asterisk/asterisk
+
'''./bootstrap.sh'''
make distclean
make distclean
./configure CXX=g++-4.9 CC=gcc-4.9 <code>LDFLAGS="-zmuldefs -lasound" CFLAGS="-Wno-unused -Wno-all -Wno-int-conversion"</code>
./configure CXX=g++-4.9 CC=gcc-4.9 <code>LDFLAGS="-zmuldefs -lasound" CFLAGS="-Wno-unused -Wno-all -Wno-int-conversion"</code>