bug-grub
[Top][All Lists]
Advanced

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

Build problem, grub 0.90


From: summer
Subject: Build problem, grub 0.90
Date: Sat, 24 Nov 2001 20:42:50 +0800

I want to build support for a few NICs into grub. To do this I 
downloaded the RHL 7.2 rpm and tried to ./configure (in the rpm spec 
file) it then build it (rpm -ba ...).

That failed, so I disabled all the RH patches, and it still fails.


Here are the most relevant fragments from the rpm spec file:
%prep
%setup -q 
#%patch0 -p1 -b .vga16
#%patch1 -p1 -b .raid
#%patch2 -p1 -b .mem
#%patch3 -p1 -b .config
#%patch4 -p1 -b .clearonkey
#%patch5 -p1 -b .password
#%patch6 -p1 -b .install
#%patch7 -p1 -b .copyonly
#%patch8 -p1 -b .serial
#%patch9 -p1 -b .static
#%patch10 -p1 -b .md5crypt
#%patch11 -p1 -b .mktemp
#%patch12 -p1 -b .menulst
#

%build
autoconf
CFLAGS="-ggdb" ; export CFLAGS
%configure --sbindir=/sbin --enable-diskless \
        --enable-eepro100 \
        --enable-epic100 \
        --enable-tulip \
        --enable-ne \
        --enable-rtl8139 
        
make



The result of this is:
../netboot/libdrivers.a(ne.o):/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:2
36: more undefined references to `__outb' follow
../netboot/libdrivers.a(ne.o): In function `ns8390_poll':
/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:473: undefined reference to 
`__inb'
/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:478: undefined reference to 
`__inb'
/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:480: undefined reference to 
`__inb'
/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:482: undefined reference to 
`__outb'
/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:483: undefined reference to 
`__inb'
/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:484: undefined reference to 
`__outb'
/tmp/BuildRPM/grub-0.90/netboot/ns8390.c:559: undefined reference to 
`__outb'

in most, possibly all, the network drivers I enabled.


I'm already using the etherboot stuff (in an experimental way) and that 
works for the hardware I've tried.

What I was hoping was a floppy that would give me a choice of what to 
boot.

If someone has a patch or pointer to get me going, I'll be all smiles;-)



-- 
Cheers
John Summerfield

Microsoft's most solid OS: http://www.geocities.com/rcwoolley/

Note: mail delivered to me is deemed to be intended for me, for my 
disposition.






reply via email to

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