Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 17:41:50 +0400
From:      Dima <dima@mmc.net.ge>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   /usr/src/sys/i386/boot/netboot problem during compile
Message-ID:  <379F089E.57DC7E59@mmc.net.ge>

next in thread | raw e-mail | index | archive | help
I have a problem compiling of files needed for network boot on a FreeBSD
3.2-Release.
As it was writen in handbook, I have to compile nb8390.com, nb3c509.com,
nb8390.rom, nb3c509.rom files to perform boot over network. But during
compile a I get the following error:

/usr/src/sys/i386/boot/netboot > make
Warning: Object directory not changed from original
/usr/src/sys/i386/boot/netboot
ln -s /usr/src/sys/i386/boot/netboot/../../include
/usr/src/sys/i386/boot/netboot/machine
cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DPCI -DPCI_VENDOR=0x10ec
-DPCI_DEVICE=0x8029 -DPCI_CLASS=0x02,0x00,0x00 -DASK_BOOT -aout
-I/usr/src/sys/i386/boot/
netboot/../../.. -I/usr/src/sys/i386/boot/netboot   -DROMSIZE=16384
-static -o
makerom  /usr/src/sys/i386/boot/netboot/makerom.c
ld: scrt0.o: No such file or directory
*** Error code 1

as I understand I need this file (scrt0.o) because netboot makes *com
files only from a.out files, not from ELF. In sources I found where is
this file compiled - /usr/src/lib/csu. But it will only compile if I
manually set flag FREEBSD_AOUT. And even after this, compiling netboot
gives me:
ld: /usr/lib/scrt0.o: malformed input file (not rel or archive)
*** Error code 1

Please write me what I am doing wrong, and how can I get this *.com and
*.rom files neede for network boot?????



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?379F089E.57DC7E59>