|
compiling drama
ok compiling kernel 2.6 using the defult setting but add ntfs read support and changed the processors type to P4
i do these command:
1) # make xconfig
2) # make bzImage
3) # make modules
# make modules_install
4) # make install
1) make xconfig:
all went fine i added ntfs support (as a module)
i also changed the processors type to Pentium 4
others using default settings.
2) make bzImage:
all went fine and no error
3) make modules and make modules_install: i got the warning/error message as below
CC [M] drivers/cdrom/cdrom.o
CC [M] drivers/char/esp.o
drivers/char/esp.c: In function `autoconfig':
drivers/char/esp.c:2382: warning: `check_region' is deprecated (declared at include/linux/ioport.h:119)
CC [M] drivers/char/rocket.o
CC [M] drivers/char/cyclades.o
CC [M] drivers/char/stallion.o
CC [M] drivers/char/istallion.o
drivers/char/istallion.c: In function `istallion_module_exit':
drivers/char/istallion.c:850: warning: too few arguments for format
CC [M] drivers/char/epca.o
drivers/char/epca.c: In function `do_softint':
drivers/char/epca.c:3316: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:494)
CC [M] drivers/char/specialix.o
drivers/char/specialix.c: In function `sx_check_io_range':
drivers/char/specialix.c:289: warning: `check_region' is deprecated (declared at include/linux/ioport.h:119)
CC [M] drivers/char/moxa.o
CC [M] drivers/char/mxser.o
CC [M] drivers/char/ip2.o
CC [M] drivers/char/ip2main.o
drivers/char/ip2/i2cmd.c:142: warning: `ct89' defined but not used
CC [M] drivers/char/riscom8.o
CC [M] drivers/char/isicom.o
drivers/char/isicom.c: In function `ISILoad_ioctl':
drivers/char/isicom.c:155: warning: comparison of distinct pointer types lacks a cast
drivers/char/isicom.c:160: warning: comparison of distinct pointer types lacks a cast
drivers/char/isicom.c: In function `unregister_drivers':
drivers/char/isicom.c:1677: warning: `error' might be used uninitialized in this function
CC [M] drivers/char/synclink.o
CC [M] drivers/char/n_hdlc.o
CC [M] drivers/char/sx.o
LD [M] drivers/char/drm/i830.o
LD [M] drivers/char/drm/sis.o
CC [M] drivers/char/ftape/compressor/zftape-compress.o
drivers/char/ftape/compressor/zftape-compress.c: In function `zftc_lock':
drivers/char/ftape/compressor/zftape-compress.c:271: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:482)
drivers/char/ftape/compressor/zftape-compress.c: In function `zftc_write':
drivers/char/ftape/compressor/zftape-compress.c:559: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:482)
drivers/char/ftape/compressor/zftape-compress.c: In function `zftc_read':
drivers/char/ftape/compressor/zftape-compress.c:680: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:482)
drivers/char/ftape/compressor/zftape-compress.c: In function `zftc_seek':
drivers/char/ftape/compressor/zftape-compress.c:804: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:482)
CC [M] drivers/char/ftape/compressor/lzrw3.o
LD [M] drivers/char/ftape/compressor/zft-compressor.o
CC [M] drivers/char/ftape/lowlevel/ftape-init.o
(I GOT WHOLE LOT MORE OF WARNING AND THE ABOVE IS JUST SOME OF IT)
4) make install: i got the warning/error message as below
depmod: agp_generic_free_by_type
depmod: agp_generic_remove_memory
depmod: agp_bridge
depmod: agp_put_bridge
depmod: global_cache_flush
depmod: agp_add_bridge
depmod: agp_generic_alloc_by_type
depmod: *** Unresolved symbols in /lib/modules/2.6.0/kernel/drivers/char/agp/sis-agp.ko
depmod: agp_remove_bridge
depmod: agp_generic_free_gatt_table
depmod: agp_generic_enable
depmod: agp_generic_mask_memory
depmod: agp_alloc_bridge
depmod: agp_generic_insert_memory
depmod: agp_generic_create_gatt_table
depmod: agp_generic_alloc_page
depmod: agp_generic_destroy_page
depmod: agp_generic_free_by_type
depmod: agp_generic_remove_memory
depmod: agp_bridge
depmod: agp_put_bridge
depmod: global_cache_flush
depmod: agp_add_bridge
depmod: agp_generic_alloc_by_type
depmod: *** Unresolved symbols in /lib/modules/2.6.0/kernel/drivers/char/agp/sworks-agp.ko
depmod: agp_remove_bridge
depmod: agp_generic_mask_memory
depmod: agp_alloc_bridge
depmod: agp_collect_device_status
depmod: agp_generic_alloc_page
ok! what is going on here.
previously i compilation aslo have many warning/error incommon but after reformat my RH9 and compile the kernel still have those problems.
what might be wrong?
|