I2C, compile error: via686a_attach_adapter()

I2C, compile error: via686a_attach_adapter()

Post by Ivan Gyurdie » Sun, 13 Apr 2003 00:00:12



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall
- -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
- -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default
- -fomit-frame-pointer -nostdinc -iwithprefix include    
- -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o init/.tmp_version.o
init/version.c
   ld -m elf_i386  -r -o init/built-in.o init/main.o init/version.o
init/mounts.o init/initramfs.o
        ld -m elf_i386  -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o
arch/i386/kernel/init_task.o   init/built-in.o --start-group  usr/built-in.o  
arch/i386/kernel/built-in.o  arch/i386/mm/built-in.o  
arch/i386/mach-default/built-in.o  kernel/built-in.o  mm/built-in.o  
fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  
lib/lib.a  arch/i386/lib/lib.a  drivers/built-in.o  sound/built-in.o  
arch/i386/pci/built-in.o  net/built-in.o --end-group  -o .tmp_vmlinux1
drivers/built-in.o(.text+0xa641b): In function `via686a_attach_adapter':
: undefined reference to `i2c_detect'

Bitkeeper with relevant config:
I2C, I2C_CHARDEV, SENSORS_VIA686A  = Y

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+lzjKXQ/AjixQzHcRAv63AKCXgDEl3zKx4q4QE5czQzdAKXf5GgCgj5ak
5dqVlRa+Q87L+VvypgBXLoE=
=vzDE
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

I2C, compile error: via686a_attach_adapter()

Post by Greg K » Sun, 13 Apr 2003 00:00:17



> : undefined reference to `i2c_detect'

Build the driver as a module, or apply the patch to
drivers/i2c/chips/Kconfig that I've posted to the list in the past few
days.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. New: Error during compiling kernel (i2c.o)

           Summary: Error during compiling kernel (i2c.o)
    Kernel Version: 2.5
            Status: NEW
          Severity: blocking


Distribution:
i2c-pcf-epp.o(.data+0x14): multiple definition of `irq_driver_lock'
i2c-elektor.o(.data+0x8): first defined here
make[3]: *** [i2c.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/drivers/i2c'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/drivers/i2c'
make[1]: *** [_subdir_i2c] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/drivers'
make: *** [_dir_drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. build special files

3. Four new i2c drivers and __init/__exit cleanup to i2c

4. Modems

5. i2c #1/3: listify i2c core

6. Usage of find ....

7. 2.5.36 i2c new adapter i2c-pport driver

8. Mouse disappears on edge of laptop screen

9. Four new i2c drivers and __init/__exit cleanup to i2c

10. [I2C] fix unsafe usage of list_for_each in i2c-core

11. Four new i2c drivers and __init/__exit cleanup to i2c