Re: 2.6: ISDN_DIVAS link error: multiple "errno"

From: Armin Schindler
Date: Wed Sep 17 2003 - 03:27:19 EST


Hi Adrian,

thanks for pointing out. I will create a patch.

Armin


On Tue, 16 Sep 2003, Adrian Bunk wrote:

> I got the following link error in 2.6.0-test5-mm2 (it desn't seem to be
> specific to -mm) with CONFIG_ISDN_DIVAS=y :
>
> <-- snip -->
>
> ...
> LD .tmp_vmlinux1
> drivers/built-in.o(.bss+0x123d60): multiple definition of `errno'
> lib/lib.a(errno.o)(.bss+0x0): first defined here
>
> <-- snip -->
>
>
> drivers/isdn/hardware/eicon/divasmain.c has a non-static variable errno
> (on a first sight it doesn't seem to be really used) that conflicts
> with the variable in lib/errno.c .
>
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/