RE: [Asterisk-Users] Re: zaptel make problems

2005-07-22 Thread Dave Cotton
On Fri, 2005-07-22 at 08:31 +0100, Lee Archer wrote:
> On a different note using Fedora Core 3 I get

> 
> When building the stable or head zaptel with kernel  linux-2.6.11-1.35_FC3.  
> The module compiles but it never used to give this message on FC2.
> 
> Anyone got any ideas?

compiler upgrade between FC2 and FC3?

Latest version of gcc et al is more picky than before, Kevin and co. are
working on it. (Well I hope so ;-) )

Just an aside, the kernel also gets some of these types of messages.

-- 
Dave Cotton <[EMAIL PROTECTED]>

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


RE: [Asterisk-Users] Re: zaptel make problems

2005-07-22 Thread Lee Archer
On a different note using Fedora Core 3 I get

  CC [M]  /usr/src/zaptel/zaptel.o
/usr/src/zaptel/zaptel.c: In function `zt_chan_write':
/usr/src/zaptel/zaptel.c:1745: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c: In function `ioctl_load_zone':
/usr/src/zaptel/zaptel.c:2392: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c: In function `zt_common_ioctl':
/usr/src/zaptel/zaptel.c:2744: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2804: warning: ignoring return value of 
`copy_to_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2807: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2889: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2919: warning: ignoring return value of 
`copy_to_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c: In function `zt_chanandpseudo_ioctl':
/usr/src/zaptel/zaptel.c:3641: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3651: warning: ignoring return value of 
`copy_to_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3654: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3713: warning: ignoring return value of 
`copy_to_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3717: warning: ignoring return value of 
`copy_from_user', declared with attribute warn_unused_result
/usr/src/zaptel/zaptel.c: At top level:
/usr/src/zaptel/zaptel.c:176: warning: 'fcstab' defined but not used

When building the stable or head zaptel with kernel  linux-2.6.11-1.35_FC3.  
The module compiles but it never used to give this message on FC2.

Anyone got any ideas?

Regards

Lee

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cotton
Sent: 22 July 2005 08:10
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: zaptel make problems

On Fri, 2005-07-22 at 07:59 +0200, Aldo Bergamini wrote:
> [EMAIL PROTECTED] is believed to have said: 
> 
> >
> >and watch linus himself rant about how this is incorrect to do (yet 
> >all the distros do it)  :P
> >
> 
> Well, this is reassuring for a newbie like me.
> 
> Even the pros (as anybody building a distro ought to be, and most of 
> the times, really is) can do obvious errors...

Who said it's an error, Linus just does not like it and thinks says it's 
incorrect, it causes no errors, and when you have multiple kernel sources on 
the same machine it makes life much easier.

I would agree that going through multiple symlinks is bad practice, this could 
also be Linus' argument, or maybe it's multiple times through the same symlink 
in the case of a kernel compile.

 
--
Dave Cotton <[EMAIL PROTECTED]>

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


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/55 - Release Date: 21/07/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/55 - Release Date: 21/07/2005
 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: zaptel make problems

2005-07-22 Thread Dave Cotton
On Fri, 2005-07-22 at 07:59 +0200, Aldo Bergamini wrote:
> [EMAIL PROTECTED] is believed to have said: 
> 
> >
> >and watch linus himself rant about how this is incorrect to do (yet all
> >the distros do it)  :P
> >
> 
> Well, this is reassuring for a newbie like me.
> 
> Even the pros (as anybody building a distro ought to be, and most of the
> times, really is) can do obvious errors...

Who said it's an error, Linus just does not like it and thinks says it's
incorrect, it causes no errors, and when you have multiple kernel
sources on the same machine it makes life much easier.

I would agree that going through multiple symlinks is bad practice, this
could also be Linus' argument, or maybe it's multiple times through the
same symlink in the case of a kernel compile.

 
-- 
Dave Cotton <[EMAIL PROTECTED]>

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