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
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
>