Hi Joseph and Tzafrir.
Thank you for your suggestions, feedbacks.

For Joseph: yes. I had the same warning messages and I solved with the
trick I suggested. Now oslec seems working (or at least and I can set it
through the dahdi_cfg command ;-) ).

For Tzafrir: here are the steps I did:
1. Taken the svn revision 5366 into my temporary folder
/home/marco/Install/dahdi-linux
2. Taken the linux-2.6.27 kernel sources baseline and placed in my
temporary folder /home/marco/install/linux-2.6.27
3. Taken the Linux kernel patch-2.6.28-rc6.gz, unzipped and applied to
the baseline kernel 2.6.27. This generates the folder
...linux-2.6.27/drivers/staging/echo
4. Copied the folder /staging/echo into
/home/marco/Install/dahdi-linux/drivers
5. Uncommented the oslec related two lines in the file Kbuild
6. From the folder /home/marco/install/dahdi-linx I've issued the
command make

The compiler starts and seems not able to compile what's present in the
folder /home/marco/Install/dahdi-linux/drivers/staging/echo. This
produces the warning already reported by Joseph and the inability to run
the oslec module.
I've had better results modifying the line:

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

with

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


in the Kbuild file.
I don't know if could be helpful, but I'm running these stuffs on
OpenSuse 11.

Thank you and best regards,
Marco Signorini.



Joseph L. Casale wrote:
>> Have you copied there the files from the directory drivers/staging/echo
>> in a recent (that is: >= 2.6.28-rc1) kernel tree?
>>     
>
> Tzafrir,
> Thank you for following up on this. I don't have a quick command for only
> the three files, I just grabbed the tar ball. But like the OP, the only
> difference was that he used 2.6.28-rc6 and I used 2.6.28-rc5. I am pretty
> sure we had the same errors which I posted:
> http://lists.digium.com/pipermail/asterisk-users/2008-November/222063.html
>
> Thanks for any pointers!
> jlc
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> Return-Path: <[EMAIL PROTECTED]>
> Received: from mailrelay07.libero.it (192.168.32.94) by ims67c.libero.it 
> (8.0.019)
>         id 489AF14B0071194C for [EMAIL PROTECTED]; Mon, 24 Nov 2008 00:45:09 
> +0100
> X-IronPort-Anti-Spam-Filtered: true
> X-IronPort-Anti-Spam-Result: 
> AkgAABB6KUnYz/URlGdsb2JhbACBbZFvAQEBAQkLCAkRBLlNgnyBVA
> X-IronPort-AV: E=Sophos;i="4.33,655,1220227200"; 
>    d="scan'208";a="576251938"
> Received: from lists.digium.com ([216.207.245.17])
>   by mailrelay07.libero.it with ESMTP; 23 Nov 2008 23:45:08 +0000
> Received: from localhost ([127.0.0.1] helo=INXS.digium.internal)
>       by lists.digium.com with esmtp (Exim 4.63)
>       (envelope-from <[EMAIL PROTECTED]>)
>       id 1L4OY6-0007qt-UX; Sun, 23 Nov 2008 17:39:31 -0600
> Received: from idcmail-mo2no.shaw.ca ([64.59.134.9])
>       by lists.digium.com with esmtp (Exim 4.63)
>       (envelope-from <[EMAIL PROTECTED]>) id 1L4OXy-0007qj-L3
>       for [email protected]; Sun, 23 Nov 2008 17:39:22 -0600
> Received: from pd6ml1no-ssvc.prod.shaw.ca ([10.0.153.160])
>       by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 23 Nov 2008 16:39:17 -0700
> X-Cloudmark-SP-Filtered: true
> X-Cloudmark-SP-Result: v=1.0 c=0 a=Kd8dHRvaAAAA:8 a=OvmmjL8WYY_iC51gqwYA:9
>       a=pC6ppZV0J0nBJUWzJgg687EU0CoA:4 a=YPYbZooERpMA:10
>       a=AKRigw6aElYA:10
> Received: from s0106001e8c610de2.cg.shawcable.net (HELO
>       mail.activenetwerx.com) ([68.144.97.215])
>       by pd6ml1no-dmz.prod.shaw.ca with ESMTP; 23 Nov 2008 16:39:16 -0700
> Received: from exchange.activenetwerx.com (mail.activenetwerx.com [127.0.0.1])
>       by mail.activenetwerx.com (Postfix) with ESMTP id 6EC8768136
>       for <[email protected]>;
>       Sun, 23 Nov 2008 16:39:24 -0700 (MST)
> Received: from exchange.activenetwerx.com ([192.168.0.3]
>       helo=exchange.activenetwerx.com)
>       by mail.activenetwerx.com; 23 Nov 2008 16:39:24 -0700
> Received: from Mail.activenetwerx.int ([::1]) by Mail.activenetwerx.int
>       ([::1]) with mapi; Sun, 23 Nov 2008 16:39:15 -0700
> From: "Joseph L. Casale" <[EMAIL PROTECTED]>
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
>       <[email protected]>
> Date: Sun, 23 Nov 2008 16:39:14 -0700
> Thread-Topic: [asterisk-users] Problem with DAHDI and OSLEC integration.
> Thread-Index: AclNwtn/mA/EFuLiQUqEGjb+9HhEWQAABJlg
> Message-ID: <[EMAIL PROTECTED]>
> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> In-Reply-To: <[EMAIL PROTECTED]>
> Accept-Language: en-US
> Content-Language: en-US
> X-MS-Has-Attach: 
> X-MS-TNEF-Correlator: 
> acceptlanguage: en-US
> MIME-Version: 1.0
> Subject: Re: [asterisk-users] Problem with DAHDI and OSLEC integration.
> X-BeenThere: [email protected]
> X-Mailman-Version: 2.1.9
> Precedence: list
> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
>       <[email protected]>
> List-Id: Asterisk Users Mailing List - Non-Commercial Discussion
>       <asterisk-users.lists.digium.com>
> List-Unsubscribe: <http://lists.digium.com/mailman/listinfo/asterisk-users>,
>       <mailto:[EMAIL PROTECTED]>
> List-Archive: <http://lists.digium.com/pipermail/asterisk-users>
> List-Post: <mailto:[email protected]>
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Subscribe: <http://lists.digium.com/mailman/listinfo/asterisk-users>,
>       <mailto:[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> Sender: [EMAIL PROTECTED]
> Errors-To: [EMAIL PROTECTED]
>
>   
>> Have you copied there the files from the directory drivers/staging/echo
>> in a recent (that is: >= 2.6.28-rc1) kernel tree?
>>     
>
> Tzafrir,
> Thank you for following up on this. I don't have a quick command for only
> the three files, I just grabbed the tar ball. But like the OP, the only
> difference was that he used 2.6.28-rc6 and I used 2.6.28-rc5. I am pretty
> sure we had the same errors which I posted:
> http://lists.digium.com/pipermail/asterisk-users/2008-November/222063.html
>
> Thanks for any pointers!
> jlc
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>   

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to