2.6: ISDN_DIVAS link error: multiple "errno"
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
Signature · 4 lines
"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 SeedHi Adrian,
thanks for pointing out. I will create a patch.
Armin
Quoted 27 lines · Adrian Bunk
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.chas a non-static variable errno (on a first sight it doesn't seem to be really used) that conflicts with the variable inlib/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