Re: PROBLEM: kernel bug at net/core/net-sysfs.c:434 - kernel 2.6.16rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 28, 2006 at 11:03:28AM +0300, Nikolay N. Ivanov wrote:

> Hello!

Hi Nikolay!

> CC      net/core/net-sysfs.o
> net/core/net-sysfs.c: In function `netdev_register_sysfs':
> net/core/net-sysfs.c:434: error: `i' undeclared (first use in this function)
>...
> [nn@ linux-2.6.16-rc1]$ gcc --version
> gcc (GCC) 3.3.4
> ---
> 
> After adding:
> 
> int i;
> 
> new errors appeared:
> 
> ---
> CC      net/core/net-sysfs.o
> net/core/net-sysfs.c: In function `netdev_register_sysfs':
> net/core/net-sysfs.c:434: error: `attr' undeclared (first use in this 
> function)
>...

Your errors don't fit in any way with what I see in line 434 of this 
file.

The following should work:
- unpack an unmodified 2.6.15 kernel source from ftp.kernel.org
- apply the 2.6.16-rc1 patch from ftp.kernel.org

> Nikolay N. Ivanov

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux