|
[Dxr3-devel] Trouble compiling adv717x.c with 2.4.29, i2c 2.9.0
From: Eric Jorgensen <alhaz@xm...> - 2005-02-19 21:45
|
I had the modules compiling just fine before i upgraded the i2c stack to fix lm_sensors. Running debian/sarge, 2.4.29 from kernel.org sources, i2c 2.9.0 patched into kernel. I have set the kernel source In the makefile I've set KERNEL_LOCATION=/usr/src/linux and I2C_LOCATION=/usr/src/i2c-2.9.0/kernel -- also tried I2C_LOCATION=/usr/src/i2c-2.9.0 Dies here: cc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -g -I ../include -I /usr/src/linux/include/ -O2 -fomit-frame-pointer -Wall -DEM8300_VIDEOMODE_DEFAULT=EM8300_VIDEOMODE_PAL -DEM8300_AUDIOMODE_DEFAULT=EM8300_AUDIOMODE_ANALOG -DEM8300_VERSION=\""0.14.0"\" -DCONFIG_ADV717X_PIXELPORT16BIT -DCONFIG_ADV717X_PIXELPORTPAL -DCONFIG_EM8300_DICOMPAL -DCONFIG_EM8300_DICOMFIX -DCONFIG_EM8300_DICOMCTRL -I/usr/src/i2c-2.9.0 -DCONFIG_I2C_ALGOBIT -c -o adv717x.o adv717x.c In file included from /usr/src/linux/include/linux/spinlock.h:6, from /usr/src/linux/include/linux/module.h:12, from adv717x.c:21: /usr/src/linux/include/asm/system.h: In function `__set_64bit_var': /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules adv717x.c: At top level: adv717x.c:126: error: unknown field `owner' specified in initializer adv717x.c:126: warning: missing braces around initializer adv717x.c:126: warning: (near initialization for `adv717x_driver.name') adv717x.c:126: warning: initialization makes integer from pointer without a cast adv717x.c:126: error: initializer element is not computable at load time adv717x.c:126: error: (near initialization for `adv717x_driver.name[0]') adv717x.c:128: error: initializer element is not constant adv717x.c:128: error: (near initialization for `adv717x_driver.name') make: *** [adv717x.o] Error 1 |
| Thread | Author | Date | |
|---|---|---|---|
| [Dxr3-devel] Trouble compiling adv717x.c with 2.4.29, i2c 2.9.0 | Eric Jorgensen <alhaz@xm...> |
|
|