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]

 



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: [email protected]

-
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