Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 18:04:11 -0500
From:      "Larry Kramer" <lkramer@rogers.com>
To:        <freebsd-questions@FreeBSD.org>
Subject:   Cannot Make Kernel
Message-ID:  <000701c1b675$146421e0$6501a8c0@larrykramer.ca>

next in thread | raw e-mail | index | archive | help
To Whom This May Concern:

Whenever I try to build a custom kernel in FreeBSD 4.5-RELEASE, make fails
with the following errors:

cc -c -x
assembler-with-cpp -DLOCORE -O -pipe  -Wall -Wredundant-decls -Wnested-exter
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast
-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include -
I../../contrib/ipfilter  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/exception.s
{standard input}: Assembler messages:
{standard input}:1275: Error: suffix or operands invalid for `mov'
{standard input}:1276: Error: suffix or operands invalid for `mov'
{standard input}:1329: Error: suffix or operands invalid for `mov'
{standard input}:1330: Error: suffix or operands invalid for `mov'
{standard input}:1375: Error: suffix or operands invalid for `mov'
{standard input}:1376: Error: suffix or operands invalid for `mov'
{standard input}:1415: Error: suffix or operands invalid for `mov'
{standard input}:1416: Error: suffix or operands invalid for `mov'
{standard input}:2226: Error: suffix or operands invalid for `mov'
{standard input}:2226: Error: suffix or operands invalid for `mov'
{standard input}:2227: Error: suffix or operands invalid for `mov'
{standard input}:2227: Error: suffix or operands invalid for `mov'
{standard input}:2228: Error: suffix or operands invalid for `mov'
{standard input}:2228: Error: suffix or operands invalid for `mov'
{standard input}:2229: Error: suffix or operands invalid for `mov'
{standard input}:2229: Error: suffix or operands invalid for `mov'
{standard input}:2230: Error: suffix or operands invalid for `mov'
{standard input}:2230: Error: suffix or operands invalid for `mov'
{standard input}:2231: Error: suffix or operands invalid for `mov'
{standard input}:2231: Error: suffix or operands invalid for `mov'
{standard input}:2232: Error: suffix or operands invalid for `mov'
{standard input}:2232: Error: suffix or operands invalid for `mov'
{standard input}:2233: Error: suffix or operands invalid for `mov'
{standard input}:2233: Error: suffix or operands invalid for `mov'
{standard input}:2234: Error: suffix or operands invalid for `mov'
{standard input}:2234: Error: suffix or operands invalid for `mov'
{standard input}:2235: Error: suffix or operands invalid for `mov'
{standard input}:2235: Error: suffix or operands invalid for `mov'
{standard input}:2236: Error: suffix or operands invalid for `mov'
{standard input}:2236: Error: suffix or operands invalid for `mov'
{standard input}:2237: Error: suffix or operands invalid for `mov'
{standard input}:2237: Error: suffix or operands invalid for `mov'
{standard input}:2238: Error: suffix or operands invalid for `mov'
{standard input}:2238: Error: suffix or operands invalid for `mov'
{standard input}:2239: Error: suffix or operands invalid for `mov'
{standard input}:2239: Error: suffix or operands invalid for `mov'
{standard input}:2240: Error: suffix or operands invalid for `mov'
{standard input}:2240: Error: suffix or operands invalid for `mov'
{standard input}:2241: Error: suffix or operands invalid for `mov'
{standard input}:2241: Error: suffix or operands invalid for `mov'
{standard input}:2243: Error: suffix or operands invalid for `mov'
{standard input}:2243: Error: suffix or operands invalid for `mov'
{standard input}:2244: Error: suffix or operands invalid for `mov'
{standard input}:2244: Error: suffix or operands invalid for `mov'
{standard input}:2245: Error: suffix or operands invalid for `mov'
{standard input}:2245: Error: suffix or operands invalid for `mov'
{standard input}:2246: Error: suffix or operands invalid for `mov'
{standard input}:2246: Error: suffix or operands invalid for `mov'
{standard input}:2247: Error: suffix or operands invalid for `mov'
{standard input}:2247: Error: suffix or operands invalid for `mov'
{standard input}:2248: Error: suffix or operands invalid for `mov'
{standard input}:2248: Error: suffix or operands invalid for `mov'
{standard input}:2249: Error: suffix or operands invalid for `mov'
{standard input}:2249: Error: suffix or operands invalid for `mov'
{standard input}:2250: Error: suffix or operands invalid for `mov'
{standard input}:2250: Error: suffix or operands invalid for `mov'
{standard input}:2251: Error: suffix or operands invalid for `mov'
{standard input}:2251: Error: suffix or operands invalid for `mov'
{standard input}:2252: Error: suffix or operands invalid for `mov'
{standard input}:2252: Error: suffix or operands invalid for `mov'
{standard input}:2253: Error: suffix or operands invalid for `mov'
{standard input}:2253: Error: suffix or operands invalid for `mov'
{standard input}:2254: Error: suffix or operands invalid for `mov'
{standard input}:2254: Error: suffix or operands invalid for `mov'
{standard input}:2255: Error: suffix or operands invalid for `mov'
{standard input}:2255: Error: suffix or operands invalid for `mov'
{standard input}:2256: Error: suffix or operands invalid for `mov'
{standard input}:2256: Error: suffix or operands invalid for `mov'
{standard input}:2257: Error: suffix or operands invalid for `mov'
{standard input}:2257: Error: suffix or operands invalid for `mov'
{standard input}:2258: Error: suffix or operands invalid for `mov'
{standard input}:2258: Error: suffix or operands invalid for `mov'
*** Error code 1

Stop in /usr/src/sys/compile/vmunix.


Here is my kernel configuration:

machine i386
cpu I686_CPU
ident vmunix
maxusers 0

options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options NFS_NOSERVER #Disables NFS-server code
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=1 #Delay (in ms) before probing SCSI
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev

device isa
device eisa
device pci

# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0

# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
options ATA_STATIC_ID #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12

device vga0 at isa?

# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100

# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13

# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4

# PCI Ethernet NICs.
device lnc0 # PCNet/PCNet-II

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device pty 4 # Pseudo-ttys (telnet etc)


Larry Kramer
lkramer@rogers.com



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?000701c1b675$146421e0$6501a8c0>