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

From: Nikolay N. Ivanov
Date: Sat Jan 28 2006 - 00:11:36 EST


Hello!

---
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)
net/core/net-sysfs.c:434: error: (Each undeclared identifier is reported only once
net/core/net-sysfs.c:434: error: for each function it appears in.)
net/core/net-sysfs.c:434: error: `attr' undeclared (first use in this function)
make[2]: *** [net/core/net-sysfs.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2
[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)
net/core/net-sysfs.c:434: error: (Each undeclared identifier is reported only once
net/core/net-sysfs.c:434: error: for each function it appears in.)
make[2]: *** [net/core/net-sysfs.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2
---

--
Nikolay N. Ivanov
mailto: nn@xxxxxxxx

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