2.6: ISDN_DIVAS link error: multiple "errno"

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 09/16/03

  • Next message: Junio C Hamano: "Re: 2.6.0-test5 vs. Japanese keyboards [3]"
    Date:	Tue, 16 Sep 2003 19:56:53 +0200
    To: mac@melware.de, info@melware.de
    
    

    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@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Junio C Hamano: "Re: 2.6.0-test5 vs. Japanese keyboards [3]"

    Relevant Pages

    • 2.6.9-mm1: timer_event multiple definition
      ... : multiple definition of `timer_event' ... ld: Warning: size of symbol `timer_event' changed from 157 in ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.13-rc6-rt9: compile errors
      ... : multiple definition of `pi_init' ... ld: Warning: type of symbol `pi_init' changed from 1 to 2 in drivers/built-in.o ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.4-rc1-mm1: multiple definitions of `debug
      ... drivers/built-in.o: multiple definition of `debug' ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.10-rc1-mm3: drm_ati_pcigart_{init,cleanup} multiple definition
      ... This causes the following compile error: ... : multiple definition of `drm_ati_pcigart_cleanup' ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] drivers/pnp/: possible cleanups
      ... modular code will use any of them, ... Modular ISAPnP might be interesting in some cases, ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)