[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel source and gcc-4.0



Hello,



Elimar Riesebieter wrote:
On Wed, 31 Aug 2005 the mental interface of
Jerome BENOIT told:


Hello,

I get:

test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make  EXTRAVERSION=-bi8k  ARCH=i386 \
                   bzImage
make[1]: Entering directory `/usr/local/src/kernel-source-2.6.11-bi8k'
CHK     include/linux/version.h
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK     include/linux/compile.h
CHK     usr/initramfs_list
CC      drivers/video/aty/radeon_base.o
In file included from drivers/video/aty/radeon_base.c:73:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:197: error: array type has incomplete element type
make[4]: *** [drivers/video/aty/radeon_base.o] Error 1
make[3]: *** [drivers/video/aty] Error 2
make[2]: *** [drivers/video] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/local/src/kernel-source-2.6.11-bi8k'
make: *** [stamp-build] Error 2




To compile the new radeon framebuffers you need to set
CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=y


As a matter of fact, I had swich them off to avoid errors:
for the stream, I have just checked them back and tried to build: I get

Please ignore the warning about overriding and ignoring targets above.
These are harmless. They are only invoked in a part of the process
that tries to snarf variable values for the conf.vars file.
echo done >  stamp-configure
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make  EXTRAVERSION=-bi8k  ARCH=i386 \
                    bzImage
make[1]: Entering directory `/usr/local/src/kernel-source-2.6.11-bi8k'
 CHK     include/linux/version.h
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
 CHK     include/linux/compile.h
 CHK     usr/initramfs_list
 CC      drivers/i2c/i2c-core.o
In file included from drivers/i2c/i2c-core.c:29:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:197: error: array type has incomplete element type
drivers/i2c/i2c-core.c: In function 'i2c_transfer':
drivers/i2c/i2c-core.c:594: error: type of formal parameter 2 is incomplete
drivers/i2c/i2c-core.c: In function 'i2c_master_send':
drivers/i2c/i2c-core.c:620: error: type of formal parameter 2 is incomplete
drivers/i2c/i2c-core.c: In function 'i2c_master_recv':
drivers/i2c/i2c-core.c:649: error: type of formal parameter 2 is incomplete
make[3]: *** [drivers/i2c/i2c-core.o] Error 1
make[2]: *** [drivers/i2c] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/local/src/kernel-source-2.6.11-bi8k'
make: *** [stamp-build] Error 2

hth,
Jerome







Reply to: