From: Hugo V. <hvw...@ya...> - 2006-01-04 23:43:09
|
--- "Frederick W. Koehler" <fko...@co...> wrote: > I believe Aivils reply to my post on 11/15/05 (Re: > faketty-0.04 w/ > fedora rawhide...) contains the needed patch. > I thought there was more to it. The compiler complains about the 1st parm also, that is the class structure. The added NULL parameter is the 2nd parameter and that is the reason for the other warnings. Hugo > > Hugo Vanwoerkom wrote: > > >Hi, > > > >I get a compile error for Faketty in kernel 2.6.15: > > > >make[1]: Entering directory `/usr/src/linux-2.6.15' > > CC [M] /faketty-0.01/faketty.o > >/faketty-0.01/faketty.c: In function > `ftty_connect': > >/faketty-0.01/faketty.c:810: error: incompatible > type > >for argument 1 of `class_device_create' > >/faketty-0.01/faketty.c:810: warning: passing arg 2 > of > >`class_device_create' makes pointer from integer > >without a$ > >/faketty-0.01/faketty.c:810: warning: passing arg 3 > of > >`class_device_create' makes integer from pointer > >without a$ > >/faketty-0.01/faketty.c:810: warning: passing arg 4 > of > >`class_device_create' from incompatible pointer > type > >/faketty-0.01/faketty.c:810: warning: passing arg 5 > of > >`class_device_create' makes pointer from integer > >without a$ > >/faketty-0.01/faketty.c: In function > >`ftty_disconnect': > >/faketty-0.01/faketty.c:825: error: incompatible > type > >for argument 1 of `class_device_destroy' > >make[2]: *** [/faketty-0.01/faketty.o] Error 1 > >make[1]: *** [_module_/faketty-0.01] Error 2 > >make[1]: Leaving directory `/usr/src/linux-2.6.15' > >make: *** [module] Error 2 > > > >Regards, > > > >Hugo > > > > > > > > > >__________________________________________ > >Yahoo! DSL Something to write home about. > >Just $16.99/mo. or less. > >dsl.yahoo.com > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > >for problems? Stop! Download the new AJAX search > engine that makes > >searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > >_______________________________________________ > >Linuxconsole-dev mailing list > >Lin...@li... > >https://lists.sourceforge.net/lists/listinfo/linuxconsole-dev > > > > > > > __________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com |