<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>ahhhhh.. sure...<br><br>If you wanna "go where do man has gone before" (or not many, actually),<br>I have included a very minimal patch set which will "fix" DAHDI so that<br>it actually works, and you can try using DAHDI instead...<br><br>Jim<br><br><div>> Date: Thu, 4 Jul 2013 15:11:08 -0500<br>> From: robert@n5qm.com<br>> CC: app_rpt-users@ohnosec.org<br>> Subject: Re: [App_rpt-users] Compile Errors<br>> <br>> I guess I should have researched that before I tried huh?  lol<br>> <br>> Robert<br>> N5QM<br>> <br>> On Thu, Jul 4, 2013 at 2:37 PM, Jim Duuuude <telesistant@hotmail.com> wrote:<br>> > I guess that's not GIGANTICALLY surprising, since Zaptel isn't even<br>> > CAPABLE of being compiled under a 3.X kernel, since there was a<br>> > major change in the ioctl() functionality in the driver stuff.<br>> ><br>> > Jim<br>> ><br>> >> Date: Thu, 4 Jul 2013 11:58:44 -0500<br>> >> From: robert@n5qm.com<br>> >> To: app_rpt-users@ohnosec.org<br>> >> Subject: Re: [App_rpt-users] Compile Errors<br>> ><br>> >><br>> >> This appears to be an issue trying to compile against the 3.2 kernel.<br>> >> I tried on a 2.6 kernel and the issues were gone.<br>> >><br>> >> Robert<br>> >> N5QM<br>> >><br>> >> On Sun, Jun 30, 2013 at 6:05 PM, Robert Garcia <robert@n5qm.com> wrote:<br>> >> > Guys,<br>> >> ><br>> >> > I am working on compiling app_rpt for another platform using the<br>> >> > sources from svn and following the makefile. It looks like I am going<br>> >> > to need some help as I am already stuck at configuring zaptel. lol<br>> >> ><br>> >> > gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o<br>> >> > mxml/libmxml.a mxml/libmxml.a<br>> >> > make[2]: Leaving directory `/home/tc/zaptel/menuselect'<br>> >> > make[1]: Leaving directory `/home/tc/zaptel/menuselect'<br>> >> ><br>> >> > ***********************************************************<br>> >> > The existing menuselect.makeopts file did not specify<br>> >> > that 'zttool' should not be included. However, either some<br>> >> > dependencies for this module were not found or a<br>> >> > conflict exists.<br>> >> ><br>> >> > Either run 'make menuselect' or remove the existing<br>> >> > menuselect.makeopts file to resolve this issue.<br>> >> > ***********************************************************<br>> >> ><br>> >> > make: *** [menuselect.makeopts] Error 255<br>> >> ><br>> >> > I then nuked the menuselect.makeopts per the error and tried again, I<br>> >> > get a little further before receiving this error.<br>> >> ><br>> >> > make -C /lib/modules/3.0.21-tinycore/build ARCH=i386<br>> >> > SUBDIRS=/usr/src/zaptel/kernel HOTPLUG_FIRMWARE=yes<br>> >> > KBUILD_OBJ_M="zaptel.o ztdummy.o ztdynamic.o zttranscode.o " modules<br>> >> > make[2]: Entering directory<br>> >> > `/usr/local/src/linux-headers-3.0.21-tinycore'<br>> >> > CC [M] /usr/src/zaptel/kernel/zaptel-base.o<br>> >> > In file included from /usr/src/zaptel/kernel/zaptel-base.c:37:0:<br>> >> > /usr/src/zaptel/kernel/zconfig.h:26:28: fatal error: linux/autoconf.h:<br>> >> > No such file or directory<br>> >> > compilation terminated.<br>> >> > make[3]: *** [/usr/src/zaptel/kernel/zaptel-base.o] Error 1<br>> >> > make[2]: *** [_module_/usr/src/zaptel/kernel] Error 2<br>> >> > make[2]: Leaving directory<br>> >> > `/usr/local/src/linux-headers-3.0.21-tinycore'<br>> >> > make[1]: *** [modules] Error 2<br>> >> > make[1]: Leaving directory `/usr/src/zaptel'<br>> >> > make: *** [all] Error 2<br>> >> > make: Leaving directory `/usr/src/zaptel'<br>> >> ><br>> >> > Oddly, the linux/autoconf.h file is there, so I'm not sure what path<br>> >> > is the base. I "fixed" that by providing an absolute path to the<br>> >> > autoconf.h file. Then I tried again and received this.<br>> >> ><br>> >> > make -C /lib/modules/3.0.21-tinycore/build ARCH=i386<br>> >> > SUBDIRS=/usr/src/zaptel/kernel HOTPLUG_FIRMWARE=yes<br>> >> > KBUILD_OBJ_M="zaptel.o ztdummy.o ztdynamic.o zttranscode.o " modules<br>> >> > make[2]: Entering directory<br>> >> > `/usr/local/src/linux-headers-3.0.21-tinycore'<br>> >> > CC [M] /usr/src/zaptel/kernel/zaptel-base.o<br>> >> > /usr/src/zaptel/kernel/zaptel-base.c: In function 'zt_rbs_sethook':<br>> >> > /usr/src/zaptel/kernel/zaptel-base.c:2160:2: warning: suggest<br>> >> > parentheses around operand of '!' or change '&' to '&&' or '!' to '~'<br>> >> > [-Wparentheses]<br>> >> > /usr/src/zaptel/kernel/zaptel-base.c: At top level:<br>> >> > /usr/src/zaptel/kernel/zaptel-base.c:7650:2: error: unknown field<br>> >> > 'ioctl' specified in initializer<br>> >> > /usr/src/zaptel/kernel/zaptel-base.c:7650:2: warning: initialization<br>> >> > from incompatible pointer type [enabled by default]<br>> >> > /usr/src/zaptel/kernel/zaptel-base.c:7650:2: warning: (near<br>> >> > initialization for 'zt_fops.fsync') [enabled by default]<br>> >> > make[3]: *** [/usr/src/zaptel/kernel/zaptel-base.o] Error 1<br>> >> > make[2]: *** [_module_/usr/src/zaptel/kernel] Error 2<br>> >> > make[2]: Leaving directory<br>> >> > `/usr/local/src/linux-headers-3.0.21-tinycore'<br>> >> > make[1]: *** [modules] Error 2<br>> >> > make[1]: Leaving directory `/usr/src/zaptel'<br>> >> > make: *** [all] Error 2<br>> >> > make: Leaving directory `/usr/src/zaptel'<br>> >> ><br>> >> > Any ideas on how I can get past this?<br>> >> ><br>> >> > Robert<br>> >> > N5QM<br>> >> _______________________________________________<br>> >> App_rpt-users mailing list<br>> >> App_rpt-users@ohnosec.org<br>> >> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users<br>> _______________________________________________<br>> App_rpt-users mailing list<br>> App_rpt-users@ohnosec.org<br>> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users<br></div>                                           </div></body>
</html>