[Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
Johannes van Hulst
Han.vanHulst at Terra.com.br
Tue Aug 17 10:45:48 MST 2004
Suse 9.1 keeps being unstable.
When I compile asterisk I get on random positions segmentation fault.
gcc -shared -Xlinker -x -o app_playback.so app_playback.o
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-HEAD-08/14/04-22:05:38\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -fPIC
-c -o app_voicemail.o app_voicemail.c
app_voicemail.c: In function `vm_options':
app_voicemail.c:3412: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.suse.de/feedback> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[1]: *** [app_voicemail.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/apps'
make: *** [subdirs] Error 1
US040814:/usr/src/asterisk #
Who has the same experience with suse linux or who can help me with
resolving this problem
_____
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Johannes van
Hulst
Sent: Tuesday, August 17, 2004 1:56 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1
(follow-up of subject: What is the best Linux for asterisk)
Trevor thanks,
I think this solved the problem.
The only think where I am not happy with is that I got one internal
segmentation error when I compiled Asterisk.
At this moment everything is working and I am now testing the stability.
And I made an additional softlink
/usr/src/linux-2.6 to /lib/modules/2.6.5-7.104-default/build
Greetings Han
_____
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Trevor G.
Hammonds
Sent: Monday, August 16, 2004 8:28 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1
(follow-up of subject: What is the best Linux for asterisk)
First off, ensure you have the following packages installed (using YAST or
otherwise):
CVSup (installed)
kernel-sources (installed)
kernel-syms (was not installed)
ncurses (installed)
ncurses-devel (installed)
openssl (installed)
openssl-devel (installed)
bison (installed)
doxygen (installed)
Next, ensure you symlink /usr/src/linux to the current linux source (e.g.
/usr/src/linux-2.6.5-7.104).
Finally, do the following:
#cd /usr/src/linux
#make cloneconfig && make dep
This worked for me. As usual, however, YMMV. Let me know if this works for
you.
Sincerely,
Trevor Hammonds
_____
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Johannes van
Hulst
Sent: Monday, August 16, 2004 9:30 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up
of subject: What is the best Linux for asterisk)
Have anybody experience with the following error on a linux system. The
system is for the rest running perfect without problems.
The system was full installed with Suse 9.1 and updated.
Following uname is my kernel 2.6.5-7.104-default
Greatings Han
Suse 9.1 professional
AMD Atlhon XP 2200
Asus A7V600-X bios 1005
1Gb memory 400Mhz
Geforce MX 4000 64MB
40 GB Harddisk
US040814:/usr/src # ln -s /lib/modules/2.6.5-7.104-default/build linux-2.6
US040814:/usr/src # cd zaptel
US040814:/usr/src/zaptel # make clean
rm -f torisatool makefw tor2fw.h
rm -f zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f core
US040814:/usr/src/zaptel # make linux26
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o
gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA makefw.c
-o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o
ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA
-DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o -lm -L. libtonezone.a
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o
torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o
ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -c ztspeed.c
cc -o ztspeed ztspeed.o
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'
make -C ../../../linux-2.6.5-7.104 O=../linux-2.6.5-7.104-obj/i386/default
modules
WARNING: Symbol version dump
/usr/src/linux-2.6.5-7.104-obj/i386/default/Module.symvers is missing,
modules will have CONFIG_MODVERSIONS disabled.
CC [M] /usr/src/zaptel/zaptel.o
CC [M] /usr/src/zaptel/tor2.o
CC [M] /usr/src/zaptel/torisa.o
/usr/src/zaptel/torisa.c:1139: warning: `set_tor_base' defined but not used
CC [M] /usr/src/zaptel/wcusb.o
CC [M] /usr/src/zaptel/wcfxo.o
CC [M] /usr/src/zaptel/wcfxs.o
/usr/src/zaptel/wcfxs.c: In function `wcfxs_interrupt':
/usr/src/zaptel/wcfxs.c:813: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.suse.de/feedback> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[4]: *** [/usr/src/zaptel/wcfxs.o] Error 1
make[3]: *** [_module_/usr/src/zaptel] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'
make: *** [linux26] Error 2
US040814:/usr/src/zaptel #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040817/6491ea12/attachment.htm
More information about the asterisk-users
mailing list