linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: kernel bug at net/core/net-sysfs.c:434 - kernel 2.6.16rc1
@ 2006-01-28  8:03 Nikolay N. Ivanov
  2006-02-02  1:07 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolay N. Ivanov @ 2006-01-28  8:03 UTC (permalink / raw)
  To: LKML

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@nndl.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PROBLEM: kernel bug at net/core/net-sysfs.c:434 - kernel 2.6.16rc1
  2006-01-28  8:03 PROBLEM: kernel bug at net/core/net-sysfs.c:434 - kernel 2.6.16rc1 Nikolay N. Ivanov
@ 2006-02-02  1:07 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-02-02  1:07 UTC (permalink / raw)
  To: Nikolay N. Ivanov; +Cc: LKML

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-02  1:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-28  8:03 PROBLEM: kernel bug at net/core/net-sysfs.c:434 - kernel 2.6.16rc1 Nikolay N. Ivanov
2006-02-02  1:07 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).