From: Jaswinder S. <jas...@ya...> - 2001-02-11 04:36:10
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I say no for "CONFIG_VT" in config and i replace (in arch/sh/vmlinux.lds.S) :- OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux") with OUTPUT_FORMAT("elf32-sh", "elf32-sh", "elf32-sh") in arch/sh/vmlinux.lds.S i got vmlinux. and one more thing i also replaced (in arch/sh/Makefile):- ifdef CONFIG_CPU_SH4 CFLAGS += -m4-nofpu AFLAGS += -m4-nofpu endif with ifdef CONFIG_CPU_SH4 CFLAGS += -m4 AFLAGS += -m4 endif 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/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 > === message truncated === > ATTACHMENT part 2 application/octet-stream name=checksum.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |