From: Jaswinder S. <jas...@ya...> - 2001-02-11 04:20:35
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I made some changes in arch/sh/lib/checksum.S old errors get resolved but now i am getting new errors :- sh-linux-gnu-ld -EL -T arch/sh/vmlinux.lds -e _stext arch/sh/kernel/head.o arch/sh/kernel/init_task.o init/main.o init/version.o \ --start-group \ arch/sh/kernel/kernel.o arch/sh/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/video/video.o \ net/network.o \ /home/jsrsh/linux/arch/sh/lib/lib.a /home/jsrsh/linux/lib/lib.a /home/jsrsh/linux/arch/sh/lib/lib.a /opt/hardhat/devkit/sh/sh4/lib/gcc-lib/sh-linux-gnu/2.95.2/libgcc.a \ --end-group \ -o vmlinux drivers/char/char.o: In function `tty_open': drivers/char/char.o(.text+0x19ac): undefined reference to `fg_console' drivers/char/char.o: In function `tty_ioctl': drivers/char/char.o(.text+0x27a4): undefined reference to `tioclinux' drivers/char/char.o: In function `vt_ioctl': drivers/char/char.o(.text+0xa360): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xa924): undefined reference to `fg_console' drivers/char/char.o(.text+0xa928): undefined reference to `unblank_screen' drivers/char/char.o(.text+0xa92c): undefined reference to `do_blank_screen' drivers/char/char.o(.text+0xabf0): undefined reference to `key_maps' drivers/char/char.o(.text+0xac00): undefined reference to `keymap_count' drivers/char/char.o(.text+0xae84): undefined reference to `func_table' drivers/char/char.o(.text+0xae88): undefined reference to `funcbufsize' drivers/char/char.o(.text+0xae8c): undefined reference to `funcbufleft' drivers/char/char.o(.text+0xae90): undefined reference to `funcbufptr' drivers/char/char.o(.text+0xb00c): undefined reference to `funcbufleft' drivers/char/char.o(.text+0xb014): undefined reference to `func_table' drivers/char/char.o(.text+0xb018): undefined reference to `funcbufsize' drivers/char/char.o(.text+0xb020): undefined reference to `funcbufptr' drivers/char/char.o(.text+0xb024): undefined reference to `func_buf' drivers/char/char.o(.text+0xb238): undefined reference to `accent_table_size' drivers/char/char.o(.text+0xb23c): undefined reference to `accent_table' drivers/char/char.o(.text+0xb478): undefined reference to `fg_console' drivers/char/char.o(.text+0xb47c): undefined reference to `console_driver' drivers/char/char.o(.text+0xb5d0): undefined reference to `vc_allocate' drivers/char/char.o(.text+0xb5d4): undefined reference to `want_console' drivers/char/char.o(.text+0xb5d8): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xb6e4): undefined reference to `console_driver' drivers/char/char.o(.text+0xb6e8): undefined reference to `fg_console' drivers/char/char.o(.text+0xb6f0): undefined reference to `vc_disallocate' drivers/char/char.o(.text+0xb6f4): undefined reference to `vc_resize' drivers/char/char.o(.text+0xb9b4): undefined reference to `vc_resize' drivers/char/char.o(.text+0xb9c0): undefined reference to `fg_console' drivers/char/char.o(.text+0xb9c4): undefined reference to `con_font_op' drivers/char/char.o(.text+0xb9c8): undefined reference to `con_set_cmap' drivers/char/char.o(.text+0xb9cc): undefined reference to `con_get_cmap' drivers/char/char.o(.text+0xbacc): undefined reference to `fg_console' drivers/char/char.o(.text+0xbad0): undefined reference to `con_font_op' drivers/char/char.o(.text+0xbda0): undefined reference to `con_font_op' drivers/char/char.o(.text+0xbdb4): undefined reference to `fg_console' drivers/char/char.o: In function `vt_waitactive': drivers/char/char.o(.text+0xbeb0): undefined reference to `fg_console' drivers/char/char.o: In function `reset_vc': drivers/char/char.o(.text+0xbf20): undefined reference to `reset_palette' drivers/char/char.o: In function `complete_change_console': drivers/char/char.o(.text+0xbfdc): undefined reference to `last_console' drivers/char/char.o(.text+0xbfe0): undefined reference to `fg_console' drivers/char/char.o(.text+0xbfe8): undefined reference to `redraw_screen' drivers/char/char.o(.text+0xbff4): undefined reference to `unblank_screen' drivers/char/char.o(.text+0xbff8): undefined reference to `do_blank_screen' drivers/char/char.o: In function `change_console': drivers/char/char.o(.text+0xc09c): undefined reference to `fg_console' drivers/char/char.o(.text+0xc0a4): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `vcs_size': drivers/char/char.o(.text+0xc118): undefined reference to `fg_console' drivers/char/char.o(.text+0xc11c): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xc120): undefined reference to `vc_cons' drivers/char/char.o: In function `vcs_read': drivers/char/char.o(.text+0xc3d4): undefined reference to `con_buf_sem' drivers/char/char.o(.text+0xc3dc): undefined reference to `fg_console' drivers/char/char.o(.text+0xc3e0): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xc3e4): undefined reference to `con_buf' drivers/char/char.o(.text+0xc3e8): undefined reference to `vc_cons' drivers/char/char.o(.text+0xc3ec): undefined reference to `screen_pos' drivers/char/char.o(.text+0xc3f4): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xc3f8): undefined reference to `getconsxy' drivers/char/char.o(.text+0xc5c4): undefined reference to `screen_pos' drivers/char/char.o(.text+0xc5c8): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xc5d0): undefined reference to `con_buf_sem' drivers/char/char.o: In function `vcs_write': drivers/char/char.o(.text+0xc704): undefined reference to `con_buf_sem' drivers/char/char.o(.text+0xc70c): undefined reference to `fg_console' drivers/char/char.o(.text+0xc710): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xc718): undefined reference to `con_buf' drivers/char/char.o(.text+0xc7dc): undefined reference to `vc_cons' drivers/char/char.o(.text+0xc7e0): undefined reference to `screen_pos' drivers/char/char.o(.text+0xc7e8): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xc7ec): undefined reference to `vcs_scr_writew' drivers/char/char.o(.text+0xca08): undefined reference to `getconsxy' drivers/char/char.o(.text+0xca0c): undefined reference to `putconsxy' drivers/char/char.o(.text+0xca10): undefined reference to `screen_pos' drivers/char/char.o(.text+0xca14): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xca18): undefined reference to `vcs_scr_writew' drivers/char/char.o(.text+0xca20): undefined reference to `update_region' drivers/char/char.o(.text+0xca24): undefined reference to `con_buf_sem' drivers/char/char.o: In function `vcs_open': drivers/char/char.o(.text+0xca64): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `update_user_maps': drivers/char/char.o(.text+0xcc3c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xcc44): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `con_get_trans_old': drivers/char/char.o(.text+0xcd3c): undefined reference to `fg_console' drivers/char/char.o(.text+0xcd48): undefined reference to `vc_cons' drivers/char/char.o: In function `con_free_unimap': drivers/char/char.o(.text+0xcefc): undefined reference to `vc_cons' drivers/char/char.o: In function `con_unify_unimap': drivers/char/char.o(.text+0xd04c): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xd050): undefined reference to `vc_cons' drivers/char/char.o: In function `con_clear_unimap': drivers/char/char.o(.text+0xd1c8): undefined reference to `vc_cons' drivers/char/char.o: In function `con_set_unimap': drivers/char/char.o(.text+0xd328): undefined reference to `vc_cons' drivers/char/char.o: In function `con_set_default_unimap': drivers/char/char.o(.text+0xd4dc): undefined reference to `vc_cons' drivers/char/char.o: In function `con_copy_unimap': drivers/char/char.o(.text+0xd58c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xd590): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `con_get_unimap': drivers/char/char.o(.text+0xd664): undefined reference to `vc_cons' drivers/char/char.o: In function `con_protect_unimap': drivers/char/char.o(.text+0xd69c): undefined reference to `vc_cons' drivers/char/char.o: In function `sel_pos': drivers/char/char.o(.text+0xd78c): undefined reference to `screen_glyph' drivers/char/char.o(.text+0xd790): undefined reference to `vc_cons' drivers/char/char.o: In function `clear_selection': drivers/char/char.o(.text+0xd7d8): undefined reference to `complement_pos' drivers/char/char.o(.text+0xd7e8): undefined reference to `invert_screen' drivers/char/char.o: In function `set_selection': drivers/char/char.o(.text+0xdb00): undefined reference to `unblank_screen' drivers/char/char.o(.text+0xdb04): undefined reference to `fg_console' drivers/char/char.o(.text+0xdb08): undefined reference to `poke_blanked_console' drivers/char/char.o(.text+0xdb0c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xdb14): undefined reference to `mouse_reporting' drivers/char/char.o(.text+0xdb18): undefined reference to `mouse_report' drivers/char/char.o(.text+0xdb20): undefined reference to `complement_pos' drivers/char/char.o(.text+0xde6c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xde74): undefined reference to `complement_pos' drivers/char/char.o(.text+0xde88): undefined reference to `invert_screen' drivers/char/char.o: In function `paste_selection': drivers/char/char.o(.text+0xdfb4): undefined reference to `poke_blanked_console' drivers/char/char.o: In function `handle_scancode': drivers/char/char.o(.text+0xe224): undefined reference to `do_poke_blanked_console' drivers/char/char.o(.text+0xe228): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xe240): undefined reference to `fg_console' drivers/char/char.o(.text+0xe3fc): undefined reference to `key_maps' drivers/char/char.o: In function `put_queue': drivers/char/char.o(.text+0xe53c): undefined reference to `con_task_queue' drivers/char/char.o(.text+0xe540): undefined reference to `console_tasklet' drivers/char/char.o: In function `puts_queue': drivers/char/char.o(.text+0xe694): undefined reference to `con_task_queue' drivers/char/char.o(.text+0xe698): undefined reference to `console_tasklet' drivers/char/char.o: In function `lastcons': drivers/char/char.o(.text+0xe950): undefined reference to `last_console' drivers/char/char.o(.text+0xe954): undefined reference to `want_console' drivers/char/char.o(.text+0xe958): undefined reference to `console_tasklet' drivers/char/char.o: In function `decr_console': drivers/char/char.o(.text+0xea2c): undefined reference to `fg_console' drivers/char/char.o(.text+0xea30): undefined reference to `want_console' drivers/char/char.o(.text+0xea34): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xea38): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `incr_console': drivers/char/char.o(.text+0xeb0c): undefined reference to `fg_console' drivers/char/char.o(.text+0xeb10): undefined reference to `want_console' drivers/char/char.o(.text+0xeb14): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xeb18): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `send_intr': drivers/char/char.o(.text+0xec44): undefined reference to `con_task_queue' drivers/char/char.o(.text+0xec48): undefined reference to `console_tasklet' drivers/char/char.o: In function `scroll_forw': drivers/char/char.o(.text+0xec70): undefined reference to `scrollfront' drivers/char/char.o: In function `scroll_back': drivers/char/char.o(.text+0xec90): undefined reference to `scrollback' drivers/char/char.o: In function `SAK': drivers/char/char.o(.text+0xed44): undefined reference to `fg_console' drivers/char/char.o: In function `handle_diacr': drivers/char/char.o(.text+0xef74): undefined reference to `accent_table_size' drivers/char/char.o(.text+0xef78): undefined reference to `accent_table' drivers/char/char.o: In function `do_cons': drivers/char/char.o(.text+0xeff4): undefined reference to `want_console' drivers/char/char.o(.text+0xeff8): undefined reference to `console_tasklet' drivers/char/char.o: In function `do_fn': drivers/char/char.o(.text+0xf040): undefined reference to `func_table' drivers/char/char.o: In function `compute_shiftstate': drivers/char/char.o(.text+0xf4c4): undefined reference to `plain_map' drivers/char/char.o: In function `do_slock': drivers/char/char.o(.text+0xf62c): undefined reference to `key_maps' drivers/char/char.o: In function `kbd_bh': drivers/char/char.o(.text+0xf808): undefined reference to `fg_console' drivers/char/char.o: In function `console_init': drivers/char/char.o(.text.init+0x84): undefined reference to `con_init' drivers/char/char.o: In function `tty_init': drivers/char/char.o(.text.init+0x1cc): undefined reference to `con_init_devfs' drivers/char/char.o: In function `console_map_init': drivers/char/char.o(.text.init+0x6ec): undefined reference to `vc_cons' drivers/char/char.o(.text.init+0x6f4): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `kbd_init': drivers/char/char.o(.text.init+0x81c): undefined reference to `console_driver' make: *** [vmlinux] Error 1 Thanks , Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list, > > I made some changes in arch/sh/lib/memmove.S > > old errors get resolved but now i am getting new > errors :- > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > -I/home/jsrsh/linux/include -ml -m4 -c -o > checksum.o > checksum.S > checksum.S:73: unterminated character constant > checksum.S:121: unterminated character constant > checksum.S:166: warning: invalid character in macro > parameter name > checksum.S:166: badly punctuated parameter list in > `#define' > checksum.S:172: warning: invalid character in macro > parameter name > checksum.S:172: badly punctuated parameter list in > `#define' > make[2]: *** [checksum.o] Error 1 > make[2]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make[1]: *** [first_rule] Error 2 > make[1]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make: *** [_dir_arch/sh/lib] Error 2 > > Thanks , > > Jaswinder. > > --- Jaswinder Singh <jas...@ya...> > wrote: > > Dear niibe-san , linux-sh and linuxsh-dev mailing > > list, > > > > I made some changes in arch/sh/lib/memset.S > > > > old errors get resolved but now i am getting new > > errors :- > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > memmove.o > > memmove.S > > memmove.S:32: unterminated character constant > > make[2]: *** [memmove.o] Error 1 > > make[2]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make[1]: *** [first_rule] Error 2 > > make[1]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make: *** [_dir_arch/sh/lib] Error 2 > > > > Thanks , > > > > Jaswinder. > > > > --- Jaswinder Singh <jas...@ya...> > > wrote: > > > Dear niibe-san , linux-sh and linuxsh-dev > mailing > > > list, > > > > > > I made some changes in arch/sh/lib/memcpy.S > > > > > > old errors get resolved but now i am getting new > > > errors :- > > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > memset.o > > > memset.S > > > memset.S:21: unterminated character constant > > > memset.S:25: unterminated character constant > > > make[2]: *** [memset.o] Error 1 > > > make[2]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/lib' > > > make[1]: *** [first_rule] Error 2 > > > make[1]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/lib' > > > make: *** [_dir_arch/sh/lib] Error 2 > > > > > > Thanks, > > > > > > Jaswinder. > > > > > > --- Jaswinder Singh <jas...@ya...> > > > wrote: > > > > Dear niibe-san , linux-sh and linuxsh-dev > > mailing > > > > list, > > > > > > > > I made some changes in include/asm-sh/rtc.h > and > > > > arch/sh/kernel/time.c > > > > > > > > old errors get resolved but now i am getting > new > > > > errors :- > > > > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > > memcpy.o > > > > memcpy.S > > > > memcpy.S:23: unterminated character constant > > > > make[2]: *** [memcpy.o] Error 1 > > > > make[2]: Leaving directory > > > > `/home/jsrsh/linux/arch/sh/lib' > > > > make[1]: *** [first_rule] Error 2 > > > > make[1]: Leaving directory > > > > `/home/jsrsh/linux/arch/sh/lib' > > > > make: *** [_dir_arch/sh/lib] Error 2 > > > > > > > > Thanks , > > > > > > > > Jaswinder. > > > > > > > > > > > > > > > > > > > > --- Jaswinder Singh > <jas...@ya...> > > > > wrote: > > > > > Dear niibe-san , linux-sh and linuxsh-dev > > > mailing > > > > > list > > > > > :) > > > > > > > > > > By commenting comments in entry.S old errors > > are > > > > > resolved ,but now i am getting new errors :- > > > > > > > > > > sh-linux-gnu-gcc -D__KERNEL__ > > > > > -I/home/jsrsh/linux/include -Wall > > > > > -Wstrict-prototypes > > > > > -O2 -fomit-frame-pointer > -fno-strict-aliasing > > > -ml > > > > > -m4 > > > > > -pipe -c -o time.o time.c > > > > > In file included from > > > > > /home/jsrsh/linux/include/linux/fs.h:632, > > > > > from > > > > > > > /home/jsrsh/linux/include/linux/capability.h:17, > > > > > from > > > > > /home/jsrsh/linux/include/linux/binfmts.h:5, > > > > > from > > > > > /home/jsrsh/linux/include/linux/sched.h:9, > > > > > from time.c:14: > > > > > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:21: > > > > > warning: ignoring pragma: pack > > > > > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:76: > > > > > warning: ignoring pragma: pack > > > > > time.c: In function `do_timer_interrupt': > > > > > time.c:194: structure has no member named > > > > > `mv_rtc_settimeofday' > > > > > time.c: In function `get_timer_frequency': > > > > > time.c:243: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > time.c:246: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > time.c:253: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > time.c: In function `time_init': > > > > > time.c:294: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > make[1]: *** [time.o] Error 1 > > > > > make[1]: Leaving directory > > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > > > > > > > I am enclosing my changed entry.S > > > > > > > > > > Thanks for your help , > > > > > > > > > > Best Regards, > > > > > > > > > > Jaswinder. > > > > > > > > > > --- Jaswinder Singh > > <jas...@ya...> > > > > > wrote: > > > > > > Dear Niibe-san , linux-sh and linuxsh-dev, > > > > > > > > > > > > I am trying to build linux-2.4.1 kernel > with > > > > > > sh-linux-gnu toolchain . > > > > > > > > > > > > But i am getting followings errors :- > > > > > > > > > > > > make[1]: Entering directory > > > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ > -D__KERNEL__ > === message truncated === > ATTACHMENT part 2 application/octet-stream name=memmove.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |