[Asterisk-Users] Can´t compile the source!

Hannes Bischof maruu at gmx.de
Tue Apr 27 08:03:07 MST 2004


Hi

tody I tried to compile the source an downloaded the two folders
asterisk and libpri from the CVS tree into /usr/src.
Then I changed the path to the libpri and made make clean; make install.
Everything worked fine.
After that I changed the path to /usr/src/asterisk and made also make clean
and make install.
After some time I got an error:

.....
SYDETECT_MARTIN     -DNEW_PRI_HANGUP    -c -o say.o say.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarat
ions
 -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i586   -D
ASTE
RISK_VERSION=\"CVS-06/18/22-13:55:06\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/
etc/
asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/aster
isk\
" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOG
DIR=
\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMOD
DIR=
\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     
-DBU
SYDETECT_MARTIN     -DNEW_PRI_HANGUP    -c -o pbx.o pbx.c
pbx.c: In function `ast_extension_match':
pbx.c:589: warning: comparison between signed and unsigned
pbx.c: In function `extension_close':
pbx.c:608: warning: comparison between signed and unsigned
pbx.c: In function `pbx_substitute_variables_temp':
pbx.c:806: warning: comparison between signed and unsigned
pbx.c:859: warning: comparison between signed and unsigned
pbx.c: In function `__ast_context_destroy':
pbx.c:4152: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [pbx.o] Error 1

I don´t know what´s my fault. I compiled it on an P166Mhz Kernel 2.4.20-4GB
precompiled SuSE kernel on SuSE8.2 with 32MB Ram.
What´s the reason for the error, do I need other hardware?? Or any sorce
file or package??

Greets

Maruu




More information about the asterisk-users mailing list