Bug#368145: pciradio.c:1810: error: syntax error before string constant

Stephan Seitz nur-ab-sal at gmx.de
Sat May 20 11:08:55 UTC 2006


On Fri, May 19, 2006 at 05:02:44PM -0700, ms419 at freezone.co.uk wrote:
>/home/jablko/src/modules/zaptel/pciradio.c:1810: error: syntax error  before string constant
>/home/jablko/src/modules/zaptel/pciradio.c:1810: warning: type defaults  to 'int' in declaration of 'MODULE_PARM'
>/home/jablko/src/modules/zaptel/pciradio.c:1810: warning: function declaration isn't a prototype
>/home/jablko/src/modules/zaptel/pciradio.c:1810: warning: data definition has no type or storage class

>make[4]: Leaving directory >`/home/jablko/src/kernel/linux-2.6.17-rc3-mm1-tor-200605030'
						      ^^^^^^^^^^^^^^^^^

Since 2.6.17 the old MODULE_PARM parameter doesn’t exist anymore. You 
have to use a new function defined in moduleparam.h (I think it is called 
moduleparam(<name>, <type>, <default>), e.g. moduleparam(debug, int, 0);).
Patch the zaptel source, wait for someone else to do it or use 2.6.16 
kernel.

Shade and sweet water!

	Stephan

-- 
| Stephan Seitz                    E-Mail: Nur-Ab-Sal at gmx.de |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20060520/61bf1889/attachment-0001.pgp


More information about the Pkg-voip-maintainers mailing list