--- On Wed, 12/21/11, Shaun Ruffell <[email protected]> wrote:
> From: Shaun Ruffell <[email protected]> > Subject: Re: [asterisk-users] dahdi: Unknown symbol kasprintf > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <[email protected]> > Date: Wednesday, December 21, 2011, 12:08 PM > On Wed, Dec 21, 2011 at 08:45:32AM > -0800, Vieri wrote: > > > > --- On Wed, 12/21/11, Russ Meyerriecks <[email protected]> > wrote: > > > > > > When I compile dahdi I see these warnings: > > > > > > > > WARNING: "kasprintf" > [dahdi-linux-2.5.0.2/drivers/dahdi/wctdm24xxp/wctdm24xxp.ko] > undefined! > > > > WARNING: "kasprintf" > [dahdi-linux-2.5.0.2/drivers/dahdi/dahdi.ko] undefined! > > > > > > > > And "modinfo dahdi" shows that the driver > was built for a > > > > 2.6.17 kernel, SMP mod_unload 586 4KSTACKS > gcc-4.1 > > > > > > What distro are you running? > > > > A somewhat outdated Gentoo box. I couldn't wait longer > so I'm in > > the process of doing a new, clean system > installation. > > > > Thanks anyway for replying. > > > > I just hope that dahdi and asterisk will compile and > run fine with gcc 4.5 and kernel 3.0. > > I know this is too late for you but... > > Looks like kasprintf was first added to the kernel in > 2.6.18, not > prior to 2.6.12 like DAHDI currently believes. The > following > command on a checkout of the current trunk of DAHDI should > allow you > to build against the 2.6.17 kernel. > > $ curl "https://github.com/sruffell/dahdi-linux/commit/cbd536aea83.patch" > | patch -p1 Thanks for the information. It will be useful for other systems I need to upgrade. Vieri -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
