<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR><o:SmartTagType 
name="place" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
PRE {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
color=#0000ff size=2>First off, ensure you have the following packages installed 
(using YAST or otherwise):</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV dir=ltr align=left><SPAN class=071271923-16082004><SPAN 
  class=150272109-12082004><FONT face=Arial color=#0000ff 
  size=2>CVSup<BR>kernel-sources<BR>kernel-syms<BR>ncurses<BR>ncurses-devel<BR>openssl<BR>openssl-devel<BR>bison<BR>doxygen</FONT></SPAN></SPAN></DIV></BLOCKQUOTE>
<DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
color=#0000ff size=2>Next,&nbsp;ensure you symlink /usr/src/linux to the current 
linux source (e.g. /usr/src/linux-2.6.5-7.104).&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
color=#0000ff size=2>Finally,&nbsp;do the following:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
  color=#0000ff size=2>#cd /usr/src/linux</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=071271923-16082004><FONT face=Arial 
  color=#0000ff size=2>#make cloneconfig &amp;&amp; make 
dep</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=071271923-16082004></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>T<SPAN class=071271923-16082004>his worked for 
me.&nbsp; As usual, however, YMMV.&nbsp; Let me know if this works for 
you.&nbsp; </SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=071271923-16082004></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=071271923-16082004>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Sincerely,</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=071271923-16082004>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Trevor 
Hammonds</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=071271923-16082004></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-admin@lists.digium.com 
[mailto:asterisk-users-admin@lists.digium.com] <B>On Behalf Of </B>Johannes van 
Hulst<BR><B>Sent:</B> Monday, August 16, 2004 9:30 AM<BR><B>To:</B> 
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] Compile 
error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for 
asterisk)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">Have anybody experience with the 
following error on a linux system. The system is for the rest running perfect 
without problems.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">The system was full installed with 
Suse 9.1 and updated. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">Following uname is my kernel 
2.6.5-7.104-default<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">Greatings 
Han<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Suse 9.1 
professional<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">AMD Atlhon XP 
2200<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Asus A7V600-X bios 
1005<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">1Gb memory 
400Mhz<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Geforce MX 4000 
64MB<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">40 GB 
Harddisk<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">US040814:/usr/src # ln -s /lib/modules/2.6.5-7.104-default/build linux-2.6<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">US040814:/usr/src # cd zaptel<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">US040814:/usr/src/zaptel # make clean<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f torisatool makefw tor2fw.h<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f zttool<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f *.o ztcfg tzdriver sethdlc sethdlc-new<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f *.ko *.mod.c .*o.cmd<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f gendigits tones.h<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f libtonezone*<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f tor2ee<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">rm -f core<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">US040814:/usr/src/zaptel # make linux26<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -<st1:place w:st="on">I.</st1:place> -O4 -g -Wall -DBUILDING_TONEZONE&nbsp;&nbsp;&nbsp; -DSTANDALONE_ZAPATA&nbsp;&nbsp; -c -o gendigits.o gendigits.c<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -o gendigits gendigits.o -lm<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">./gendigits<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -<st1:place w:st="on">I.</st1:place> -O4 -g -Wall -DBUILDING_TONEZONE&nbsp;&nbsp;&nbsp; -DSTANDALONE_ZAPATA&nbsp;&nbsp;&nbsp; makefw.c&nbsp;&nbsp; -o makefw<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">./makefw tormenta2.rbt tor2fw &gt; tor2fw.h<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Loaded 69900 bytes from file<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -<st1:place w:st="on">I.</st1:place> -O4 -g -Wall -DBUILDING_TONEZONE&nbsp;&nbsp;&nbsp; -DSTANDALONE_ZAPATA&nbsp;&nbsp; -c -o ztcfg.o ztcfg.c<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -c -fPIC -<st1:place w:st="on">I.</st1:place> -O4 -g -Wall -DBUILDING_TONEZONE&nbsp;&nbsp;&nbsp; -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o zonedata.lo zonedata.c<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -c -fPIC -<st1:place w:st="on">I.</st1:place> -O4 -g -Wall -DBUILDING_TONEZONE&nbsp;&nbsp;&nbsp; -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o tonezone.lo tonezone.c<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">ar rcs libtonezone.a zonedata.lo tonezone.lo<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -o ztcfg ztcfg.o -lm -L. libtonezone.a<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -<st1:place w:st="on">I.</st1:place> -O4 -g -Wall -DBUILDING_TONEZONE&nbsp;&nbsp;&nbsp; -DSTANDALONE_ZAPATA&nbsp;&nbsp; -c -o torisatool.o torisatool.c<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -o torisatool torisatool.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -<st1:place w:st="on">I.</st1:place> -O4 -g -Wall -DBUILDING_TONEZONE&nbsp;&nbsp;&nbsp; -DSTANDALONE_ZAPATA&nbsp;&nbsp; -c -o ztmonitor.o ztmonitor.c<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -o ztmonitor ztmonitor.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -c ztspeed.c<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">cc -o ztspeed ztspeed.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make[1]: Entering directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make -C ../../../linux-2.6.5-7.104 O=../linux-2.6.5-7.104-obj/i386/default modules<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">WARNING: Symbol version dump /usr/src/linux-2.6.5-7.104-obj/i386/default/Module.symvers is&nbsp; missing, modules will have CONFIG_MODVERSIONS disabled.<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"><o:p>&nbsp;</o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">&nbsp; CC [M]&nbsp; /usr/src/zaptel/zaptel.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">&nbsp; CC [M]&nbsp; /usr/src/zaptel/tor2.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">&nbsp; CC [M]&nbsp; /usr/src/zaptel/torisa.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">/usr/src/zaptel/torisa.c:1139: warning: `set_tor_base' defined but not used<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">&nbsp; CC [M]&nbsp; /usr/src/zaptel/wcusb.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">&nbsp; CC [M]&nbsp; /usr/src/zaptel/wcfxo.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">&nbsp; CC [M]&nbsp; /usr/src/zaptel/wcfxs.o<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">/usr/src/zaptel/wcfxs.c: In function `wcfxs_interrupt':<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">/usr/src/zaptel/wcfxs.c:813: internal compiler error: Segmentation fault<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Please submit a full bug report,<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">with preprocessed source if appropriate.<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">See &lt;URL:http://www.suse.de/feedback&gt; for instructions.<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">The bug is not reproduceable, so it is likely a hardware or OS problem<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make[4]: *** [/usr/src/zaptel/wcfxs.o] Error 1<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make[3]: *** [_module_/usr/src/zaptel] Error 2<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make[2]: *** [modules] Error 2<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make[1]: *** [modules] Error 2<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">make: *** [linux26] Error 2<o:p></o:p></SPAN></FONT></PRE>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">US040814:/usr/src/zaptel #</SPAN></FONT><FONT face=Arial 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P></DIV></BODY></HTML>