Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 1999 11:06:36 -0700 (PDT)
From:      "Gregory A. Carter" <omni@dynmc.net>
To:        freebsd-questions@freebsd.org
Subject:   make fails in 3.2-RELEASE for netboot 
Message-ID:  <Pine.BSF.4.10.9907151106210.44680-100000@ns1.dynmc.net>

next in thread | raw e-mail | index | archive | help


Been trying to get nb8390.com compiled under /usr/sys/i386/boot/netboot
and every time it does this:

(ns2)[6]:/usr/src/sys/i386/boot/netboot# make
Warning: Object directory not changed from original
/usr/src/sys/i386/boot/netboot
cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DPCI -DPCI_VENDOR=0x10ec
-DPCI_DEVICE=0x8029 -DPCI_CLASS=0x02,0x00,0x00 -aout -nostdinc
-I/usr/src/sys/i386/boot/netboot/../../../../include
-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

Stop.

Now being the resourcful kinda guy I am I looked on another one of my box
and it worked fine.  On that box I have upgraded all the way from 2.7 so
I'm assuming that might have something to do with it.  The file scrt0.c
does not exist so in a make buildworld it's not created on the new box.
The source is fresh as it's a new install so I'm curious as to why the
file is missing, and why this was released with netboot as stable is it
doesn't compile.

Second thing I'm noticing is that, I compiled nb8390.com on the older box
and attempted to run it on a machine from boot time.  tftp worked great
and it attempts to load the kernel from my new box (doesn't matter if I
use the new boxes kernel or the old boxes kernel for the client it still
fails), I get the following error message:  Bad kernel not a
valid executable!

Of course that is a rough message as I'm at work and the box I'm using it
on is at home but that's the important part.  It's seeing the kernel file
however it's not running it.  Now justa long shot but I'm guessing
nb8390.com is expecting an aout kernel and it's getting an elf kernel.  My
last question is why did this program get released with 3.x yet not
recognize elf kernels if this is the case?

Greg

+(Omni@Dynmc.Net)------------------------------------------------------+
| Dynamic Networking Solutions                     InterX Technologies |
| Senior Network Administrator                bits/keyID 1024/7DF9C285 |
| omni@interx.net omni@itstudio.net omni@undernet.org omni@webpop3.com |
+--------[  DC 50 57 59 C3 76 46 E8 EB 75 A8 94 FE 96 9E D3 ]----------+




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907151106210.44680-100000>