Date: Thu, 21 Oct 1999 16:27:21 -0600 From: "Jeff Lush" <jeff@nerdpower.com> To: "John Baldwin" <jobaldwi@vt.edu> Cc: <freebsd-small@freebsd.org> Subject: PicoBSD v0.445 Compilation Problems WAS: PicoBSD Network version and NAT Message-ID: <NDBBKIMGBBOBEOPLFCHIGEEBCCAA.jeff@nerdpower.com> In-Reply-To: <199910211727.NAA50336@server.baldwin.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello again,
I have grabbed the latest PicoBSD source via CVSup (version 0.445 I believe)
and have come across some more interesting errors.
I cd into /usr/src/release/picobsd/build/ and run the build script. A nice
interface prompts me to make my selections, and I choose NET, then I edit
the PICOBSD file for net and comment out unnecessary ethernet entries. I
exit and then choose "build it" Here are the errors I get:
PicoBSD build -- Current parameters:
1. Type: net
2. MFS size: 2400 kB
3. Language: en
4. Site-info:
-> We'll use the sources living in /usr/src
-> I hope you have checked the ../net/PICOBSD config file...
-> Checking if we have to build the PICOBSD kernel...
cat PICOBSD | grep -v "MFS_ROOT" > /usr/src/sys/i386/conf/PICOBSD-N
echo "options MFS_ROOT" >> /usr/src/sys/i386/conf/PICOBSD-N
(cd /usr/src/sys/i386/conf; config PICOBSD-N; cd
/usr/src/sys/compile/PICOBSD-N; make depend
all)
config: line 5: Unknown machine type
config: line 5: syntax error
config: line 6: syntax error
config: line 7: syntax error
config: line 8: syntax error
config: line 9: syntax error
config: line 20: syntax error
config: line 21: syntax error
Specify machine type, e.g. ``machine vax''
*** Error code 1
Stop.
I believe these errors are stating that I have problems with the PICOBSD
file (for the sake of completeness, I'll include it below); however, I have
checked the file over and over and cannot see any errors. Once again, the
system I am building is FreeBSD 3.1 if that matters.
If anyone can lend any advice at all to help me out I would greatly
appreciate it as I cannot make heads or tails of these problems.
Thanks again,
Jeff Lush
PICOBSD file:
#
# $FreeBSD: src/release/picobsd/net/PICOBSD,v 1.3 1999/08/28 01:33:38 peter
Exp $
#
machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident PICOBSD
maxusers 10
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep
this!]
options NFS #Network Filesystem
options MFS #Memory Filesystem
options MFS_ROOT #MFS as root
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP
THIS!]
options USERCONFIG #boot -c editor
options INTRO_USERCONFIG #imply -c and parse info
area
options VISUAL_USERCONFIG #visual boot -c editor
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options PCI_QUIET
#options DEVFS
# Support for bridging and bandwidth limiting
#options DUMMYNET
#options BRIDGE
controller isa0
controller pci0
controller fdc0 at isa? port IO_FD1 irq 6 drq 2
disk fd0 at fdc0 drive 0
#disk fd1 at fdc0 drive 1
controller wdc0 at isa? port IO_WD1 irq 14
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port IO_WD2 irq 15
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
device wcd0 #IDE CD-ROM
# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1
device vga0 at isa? port ? conflicts
# syscons is the default console driver, resembling an SCO console
device sc0 at isa?
device npx0 at nexus? port IO_NPX irq 13
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
device sio2 at isa? disable port IO_COM3 irq 5
device sio3 at isa? disable port IO_COM4 irq 9
device ppc0 at isa? port? flags 0x40 irq 7
controller ppbus0
device lpt0 at ppbus?
device plip0 at ppbus?
device ppi0 at ppbus?
#
# The following Ethernet NICs are all PCI devices.
#
device de0 # DEC/Intel DC21x4x (``Tulip'')
device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device ed0 at isa? port 0x280 irq 5 iomem 0xd8000
#device ed1 at isa? port 0x300 irq 10 iomem 0xd0000
device ep0 at isa? port 0x300 irq 10
device ep1 at isa? port 0x280 irq 7
#device ie0 at isa? port 0x300 irq 5 iomem 0xd0000
#device ie1 at isa? port 0x360 irq 7 iomem 0xd0000
pseudo-device loop
pseudo-device ether
pseudo-device tun 2
#pseudo-device vn
pseudo-device pty 16
#pseudo-device gzip # Exec gzipped a.out's
-----Original Message-----
From: John Baldwin [mailto:jobaldwi@vt.edu]
Sent: Thursday, October 21, 1999 11:28 AM
To: Jeff Lush
Cc: freebsd-small@freebsd.org
Subject: RE: PicoBSD Network version and NAT
On 21-Oct-99 Jeff Lush wrote:
> Hello again,
>
> More problems. I grabbed the latest picobsd.tgz, unpacked it, checked
> the
> PICOBSD file in net/conf/ for the entries:
Your picobsd.tgz is way old. Use cvsup to grab
/usr/src/release/picobsd, which contains the stuff that will work.
> options IPFIREWALL
> options IPDIVERT
>
> These entries are already in the PICOBSD script, so I run the ./build
> script, choose net and tell it to go. A few minutes in, I get an
> error and
> the build stops. Here's a snippet of the error:
>
> syscons.o: In function `set_mode':
> syscons.o(.text+0x5805): undefined reference to `vidsw'
> syscons.o(.text+0x583f): undefined reference to `vidsw'
> syscons.o(.text+0x58ca): undefined reference to `vidsw'
> syscons.o(.text+0x5927): undefined reference to `vidsw'
> syscons.o: In function `set_border':
> syscons.o(.text+0x5957): undefined reference to `vidsw'
> syscons.o(.text+0x5a98): more undefined references to `vidsw' follow
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
It wants the "new" sc0 config devices, such as vga0, atkbdc0, etc.
Look in GENERIC to see what that looks like. You are better off
getting a more up-to-date version of pico via cvsup however.
---
John Baldwin <jobaldwi@vt.edu> -- http://www.cslab.vt.edu/~jobaldwi/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKIMGBBOBEOPLFCHIGEEBCCAA.jeff>
