On 1/1/07, Giulio Bottazzi <[EMAIL PROTECTED]> wrote: > On Sun, 31 Dec 2006 18:56:11 -0500 > "Jon Smirl" <[EMAIL PROTECTED]> wrote: > > > Patch to make the vendor driver, ZD1211LnxDrv_2_16_0_0, build on > > 2.6.20-rc20. It also fixes what looks to be some definite problems > > with uninitialized variables. > > Hi Jon, > I tried to compile with your patch. The situation seems improved (the > original driver did not work) but I still get an error: > > zd1211.c:1846:33: error: macro "INIT_WORK" requires 3 arguments, but only 2 > given > zd1211.c: In function 'zd1211_InitSetup': > zd1211.c:1846: error: 'INIT_WORK' undeclared (first use in this function) > zd1211.c:1846: error: (Each undeclared identifier is reported only once > zd1211.c:1846: error: for each function it appears in.) > zd1211.c:1847:51: error: macro "INIT_WORK" requires 3 arguments, but only 2 > given
The INIT work changes went into 2.6.20+, they aren't in 2.6.18. It shouldn't be too hard to fix up the code to work on both releases. You just need to remove the INIT work changes and revert to the prior code. > plus I'm flooded by a number of "cast from pointer to integer of different > size" > warnings. My spec: I am using gcc 4.1.2. The code compiles clean with 2.6.20-rc2. > > kernel 2.6.18 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux > gcc version 4.1.1 (Gentoo 4.1.1-r1) > libc ver 2.4 > > Best, > Giulio. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Zd1211-devs mailing list - http://zd1211.ath.cx/ > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs > -- Jon Smirl [EMAIL PROTECTED] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
