kernel compilation errors on aluminium powerbook
Hi,
I have downloaded linux-2.6.3-rc3 from www.kernel.org and executed make
config. I have an Aluminium PowerBook G4 with radeon 9600
(http://pubwww.fhzh.ch/~mgloor/powerbook.html and
http://www.gnome-de.org/~herzi/pbook/).
1. In order to use the integrated network card I must switch on sun gem
in network->ethernet10/100 during make config. I wonder if this can be
automatically switched on.
2. I have added sctp as module and I obtain compilation errors:
CC arch/ppc/syslib/todc_time.o
arch/ppc/syslib/todc_time.c: In function `todc_m48txx_read_val':
arch/ppc/syslib/todc_time.c:99: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c:100: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c:101: warning: passing arg 1 of `inb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c: In function `todc_m48txx_write_val':
arch/ppc/syslib/todc_time.c:107: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c:108: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c:109: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c: In function `todc_mc146818_read_val':
arch/ppc/syslib/todc_time.c:117: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c:118: warning: passing arg 1 of `inb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c: In function `todc_mc146818_write_val':
arch/ppc/syslib/todc_time.c:124: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
arch/ppc/syslib/todc_time.c:125: warning: passing arg 2 of `outb' makes
integer from pointer without a cast
-------------
drivers/scsi/advansys.c:11855: warning: comparison is always false due
to limited range of data type
---------
LD .tmp_vmlinux1
drivers/built-in.o(.text+0xd1668): In function `radeon_setup_i2c_bus':
: undefined reference to `i2c_bit_add_bus'
drivers/built-in.o(.text+0xd17c8): In function `radeon_delete_i2c_busses':
: undefined reference to `i2c_bit_del_bus'
drivers/built-in.o(.text+0xd17d0): In function `radeon_delete_i2c_busses':
: undefined reference to `i2c_bit_del_bus'
drivers/built-in.o(.text+0xd17d8): In function `radeon_delete_i2c_busses':
: undefined reference to `i2c_bit_del_bus'
drivers/built-in.o(.text+0xd17e0): In function `radeon_delete_i2c_busses':
: undefined reference to `i2c_bit_del_bus'
drivers/built-in.o(.text+0xd1870): In function `radeon_do_probe_i2c_edid':
: undefined reference to `i2c_transfer'
There are also "defined, but unused variable" warnings.
3. BTW, where can I find benh kernel patches? I have searched on
Internet (google "benh kernel" etc.) but without success... Also. at
http://www.kernel.org/pub/linux/kernel/people/benh/ there are no patches
for 2.6...
Eugen
Reply to: