Johannes van Hulst
2004-Aug-16 09:29 UTC
[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/20040816/5323a5dc/attachment.htm
Trevor G. Hammonds
2004-Aug-16 16:27 UTC
[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 kernel-sources kernel-syms ncurses ncurses-devel openssl openssl-devel bison doxygen 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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Johannes van Hulst Sent: Monday, August 16, 2004 9:30 AM To: asterisk-users@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/20040816/05090e04/attachment.htm