kernel-2.6 cvs patches

Taily <[email protected]>
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
Yesterday when compiling on a 2.6.7 kernel i got this:

  CC      drivers/i2c/busses/i2c-xbox.o
drivers/i2c/busses/i2c-xbox.c:141: error: `I2C_ADAP_CLASS_SMBUS' 
undeclared here (not in a function)
drivers/i2c/busses/i2c-xbox.c:141: error: initializer element is not 
constant
drivers/i2c/busses/i2c-xbox.c:141: error: (near initialization for 
`xbox_adapter.class')
make[3]: *** [drivers/i2c/busses/i2c-xbox.o] Error 1
make[2]: *** [drivers/i2c/busses] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2

Today an update was released, and i still got this:

  CC      drivers/i2c/busses/i2c-xbox.o
drivers/i2c/busses/i2c-xbox.c:141: error: `I2C_CLASSES_HWMON' undeclared 
here (not in a function)
drivers/i2c/busses/i2c-xbox.c:141: error: initializer element is not 
constant
drivers/i2c/busses/i2c-xbox.c:141: error: (near initialization for 
`xbox_adapter.class')
make[3]: *** [drivers/i2c/busses/i2c-xbox.o] Error 1
make[2]: *** [drivers/i2c/busses] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2

I changed I2C_CLASSES_HWMON to I2C_CLASS_HWMON (which was spcified in 
include/linux/i2c.h)

After this when it comes to compile vmlinux or something i get lots of 
these kinds of errors

drivers/built-in.o(.text+0x4d8b8): In function `riva_load_video_mode':
: undefined reference to `__floatsidf'
drivers/built-in.o(.text+0x53f49): In function `fabs':
: undefined reference to `__gtdf2'
drivers/built-in.o(.text+0x54257): In function `conexant_calc_mode':
: undefined reference to `__floatsidf'
drivers/built-in.o(.text+0x5480e): In function `conexant_calc_mode_params':
: undefined reference to `__floatsidf'

etc, etc.. Here are only a few errors..
all errors can be found here
http://koti.mbnet.fi/taily/errors

(My compiler is gcc-3.3.3-r6)

Thanks,
~Taily


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.