Thus for the moment, the simplest way to build OSLEC with dahdi is: 1. Copy the directory drivers/staging/echo from a recent kernel tree (at least 2.6.28-rc1) to the a subdirectory with the same name in the dahdi-linux tree. 2. Edit drivers/dahdi/Kbuild and uncomment the two lines related to OSLEC. After doing that, you'll see the following when building (running make) #cd /usr/src #wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 #tar xjf linux-2.6.28.tar.bz2 #mkdir /usr/src/dahdi/linux/drivers/staging #cp -fR /usr/src/linux-2.6.28/drivers/staging/echo /usr/src/dahdi/linux/drivers/staging #sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi/linux/drivers/dahdi/Kbuild #sed -i "s|#obj-m += ../staging/echo/|obj-m += ../staging/echo/|" /usr/src/dahdi/linux/drivers/dahdi/Kbuild #echo 'obj-m += echo.o' > /usr/src/dahdi/linux/drivers/staging/echo/Kbuild #cd /usr/src/dahdi/linux #make #make install