On 04/21/2012 12:00 PM, Shaun Ruffell wrote:
On Sat, Apr 21, 2012 at 10:26:30AM -0400, sean darcy wrote:
On 04/20/2012 02:05 PM, Asterisk Development Team wrote:
The Asterisk Development Team has announced the releases of:
   DAHDI-Linux 2.6.1
   DAHDI-Linux 2.5.1
   DAHDI-Tools 2.6.1
   DAHDI-Tools 2.5.1
   DAHDI-Linux-Complete 2.6.1+2.6.1
   DAHDI-Linux-Complete 2.5.1+2.5.1

<snip>

How do we build dahdi with oslec? At least on Fedora 16, the kernel
sources no longer include the oslec source in staging/echo:

ls -l /usr/src/kernels/3.3.2-1.fc16.x86_64/drivers/staging/echo
total 8
-rw-r--r--. 1 root root 251 Apr 13 20:49 Kconfig
-rw-r--r--. 1 root root  29 Apr 13 20:49 Makefile

It's still in the staging tree in the mainline kernel [1] so must be
something Fedora 16 specific.

[1] 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=drivers/staging/echo


When I did copy over oslec files from a previous build, I got this warning:

...........
   Building modules, stage 2.
   MODPOST 32 modules
WARNING: "oslec_create" 
[/home/asterisk/build/dahdi/dahdi-linux-2.6.1/drivers/dahdi/dahdi_echocan_oslec.ko]
undefined!
WARNING: "oslec_free" 
[/home/asterisk/build/dahdi/dahdi-linux-2.6.1/drivers/dahdi/dahdi_echocan_oslec.ko]
undefined!
WARNING: "oslec_update" 
[/home/asterisk/build/dahdi/dahdi-linux-2.6.1/drivers/dahdi/dahdi_echocan_oslec.ko]
undefined!
.......

I don't have time to figure out what changed in the kernel build
system which breaks this but it looks like the "Makefile" is no
longer processed by default.

In drivers/dahdi/Kbuild change:
obj-m += ../staging/echo/

  to:

obj-m += ../staging/echo/echo.o

And you should be back in business.

Cheers,
Shaun

Worked For Me.

Thanks for the quick response.

sean



--
_____________________________________________________________________
-- 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

Reply via email to