On Mon, 15 Jun 2009, Frank Dauer wrote: > I am using ixgbe-2.0.34.3, kernel 2.4.36, glibc-2.2.5 and gcc 2.96. > > When I build ixgbe I get the following error: > > ixgbe_param.c: In function `ixgbe_check_options': > ixgbe_param.c:950: parse error before `char' > ixgbe_param.c:956: `pstring' undeclared (first use in this function) > ixgbe_param.c:956: (Each undeclared identifier is reported only once > ixgbe_param.c:956: for each function it appears in.) > > This seems to come from the "char" declaration in line 950 which is not > always at the top of the function (depending on module_param_array) and > this therefore does not conform to C style coding. (In C++ this would be > okay.) > > Following patch corrects the error by moving the declaration to the top.
Hi Frank! Thanks for the patch, I applied it to our internal development tree and we'll have it in the next release of the driver. Thanks again! Please let us know if you have other issues. Jesse ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel