bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlan support


From: summer
Subject: tlan support
Date: Mon, 23 Jun 2003 09:55:48 +0800 (WST)

On seeing the tlan driver in the source, I made this change to support
it:
address@hidden:~/cvs/grub$ cvs -q diff
? netboot/.tlan.c.swp
Index: configure
===================================================================
RCS file: /cvsroot/grub/grub/configure,v
retrieving revision 1.105
diff -r1.105 configure
1a2
> set -x
878a880
>   --enable-tlan           enable Thunderlan driver
5009a5012,5021
> # Check whether --enable-tlan or --disable-tlan was given.
> if test "${enable_tlan+set}" = set; then
>   enableval="$enable_tlan"
>
> fi;
> if test "x$enable_tlan" = xyes; then
>   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_TLAN=1"
>   NETBOOT_DRIVERS="$NETBOOT_DRIVERS tlan.o"
> fi
>
5019d5030
<
address@hidden:~/cvs/grub$


However, building fails:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1
-malign-functions=1 -Wundef -Os -fno-builtin -nostdi
nc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1
-DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1
-DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=
1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -c -o pre_stage2_exec-tparm.o `test
-f tparm.c || echo './'`tparm.c
gcc  -g   -o pre_stage2.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,8200
pre_stage2_exec-asm.o pre_stage2_exec-bios.o pre_stage2_exec-boot.o
pre_stage2_exec-builtins.o pre_stage2_exec-char_io.o pre_
stage2_exec-cmdline.o pre_stage2_exec-common.o pre_stage2_exec-console.o
pre_stage2_exec-disk_io.o pre_stage2_exec-fsys_ext2fs.o
pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stag
e2_exec-fsys_jfs.o pre_stage2_exec-fsys_minix.o
pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-fsys_vstafs.o
pre_stage2_exec-fsys_xfs.o pre_stage2_exec-gunzip.o
pre_stage2_exec-hercules.o pr
e_stage2_exec-md5.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o
pre_stage2_exec-stage2.o pre_stage2_exec-terminfo.o pre_stage2_exec-tparm.o
../netboot/libdrivers.a 
../netboot/libdrivers.a(tlan.o)(.text+0x32): In function `TLan_DioRead8':
/tmp/Grub/BUILD/grub/netboot/tlan.c:333: undefined reference to `__outwc'
../netboot/libdrivers.a(tlan.o)(.text+0x4b):/tmp/Grub/BUILD/grub/netboot/tlan.c:333:
undefined reference to `__outw'
../netboot/libdrivers.a(tlan.o)(.text+0x7e):/tmp/Grub/BUILD/grub/netboot/tlan.c:334:
undefined reference to `__inbc'
../netboot/libdrivers.a(tlan.o)(.text+0xa3):/tmp/Grub/BUILD/grub/netboot/tlan.c:334:
undefined reference to `__inb'
../netboot/libdrivers.a(tlan.o)(.text+0xf2): In function `TLan_DioRead16':
/tmp/Grub/BUILD/grub/netboot/tlan.c:340: undefined reference to `__outwc'
../netboot/libdrivers.a(tlan.o)(.text+0x10b):/tmp/Grub/BUILD/grub/netboot/tlan.c:340:
undefined reference to `__outw'
../netboot/libdrivers.a(tlan.o)(.text+0x13e):/tmp/Grub/BUILD/grub/netboot/tlan.c:341:
undefined reference to `__inwc'
../netboot/libdrivers.a(tlan.o)(.text+0x163):/tmp/Grub/BUILD/grub/netboot/tlan.c:341:
undefined reference to `__inw'
../netboot/libdrivers.a(tlan.o)(.text+0x1b2): In function `TLan_DioRead32':

<and lots more>

What must I do?


-- 


Cheers
John.

Join the "Linux Support by Small Businesses" list at 
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb






reply via email to

[Prev in Thread] Current Thread [Next in Thread]