Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

building the 5.1 kernel

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  XFree86 -- next step?  
Author Message
Andrew

External


Since: Sep 01, 2004
Posts: 1



(Msg. 1) Posted: Wed Sep 01, 2004 7:37 pm
Post subject: building the 5.1 kernel
Archived from groups: mailing>freebsd>questions (more info?)

I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a
guide.

I am running freebsd 5.1 and as fyi have been building suse and redhat
kernels for a while without problems. But this is my first time
building the freebsd kernel)

This is what I did.

cd /sys/i386/conf
config GENERIC <-- no changes to the file then per the results of config

cd ../compile/GENERIC
then

make depend

then

make

the following errors were reported. Why? What did I do incorrectly.

A

Log follows

MiniBSD /sys/i386/compile/GENERIC #: make
cc -c -x assembler-with-cpp -DLOCORE -O -pipe -march=i486 -Wall
-Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
-I../../.. -I../../../dev
-I../../../contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL
-include opt_global.h
-fno-common -mno-align-long-strings -mpreferred-stack-boundary=2
-ffreestanding
-Werror ../../../i386/i386/locore.s
{standard input}: Assembler messages:
{standard input}:546: Error: suffix or operands invalid for `shr'
{standard input}:547: Error: suffix or operands invalid for `shr'
{standard input}:547: Error: suffix or operands invalid for `shl'
{standard input}:556: Error: suffix or operands invalid for `shr'
{standard input}:557: Error: suffix or operands invalid for `shr'
{standard input}:557: Error: suffix or operands invalid for `shl'
{standard input}:561: Error: suffix or operands invalid for `shr'
{standard input}:561: Error: suffix or operands invalid for `shl'
{standard input}:566: Error: suffix or operands invalid for `shr'
{standard input}:566: Error: suffix or operands invalid for `shl'
{standard input}:571: Error: suffix or operands invalid for `shr'
{standard input}:571: Error: suffix or operands invalid for `shl'
{standard input}:576: Error: suffix or operands invalid for `shr'
{standard input}:576: Error: suffix or operands invalid for `shl'
{standard input}:581: Error: suffix or operands invalid for `shr'
{standard input}:581: Error: suffix or operands invalid for `shl'
{standard input}:587: Error: suffix or operands invalid for `shl'
{standard input}:593: Error: suffix or operands invalid for `shl'
{standard input}:598: Error: suffix or operands invalid for `shl'
{standard input}:604: Error: suffix or operands invalid for `shl'
{standard input}:610: Error: suffix or operands invalid for `shl'
*** Error code 1

Stop in /usr/src/sys/i386/compile/GENERIC.
MiniBSD /sys/i386/compile/GENERIC #:

_______________________________________________
freebsd-questions.DeleteThis@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

 >> Stay informed about: building the 5.1 kernel 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
kernel - Hii!! In the chapter "9.3 Building and installing a custom kernel" of the freebsd handbook it's written that MYKERNEL is an example but I don't know how I can find that. In fact I don't know what MYKERNEL represents. Thanks for your help. XAV...

Kernel Panic - After some years without problems, last week I had finally the possibility to upgrade my wireless network from WEP to WPA. I've followed the instuctions in the FreeBSD Handbook: 1) /etc/rc.conf ifconfig_ath0="WPA DHCP" 2) /etc/wpa_supplicant...

Nvidia kernel module - Hello, After some bad experiences with Linux (it was definitely me, not the software), I decided to move back to FreeBSD 4.10, where I feel the most comfortable. At this point, I have a full desktop setup and it works superbly. It is the only..

FreeBSD Kernel Recompile, Does not exclude modules - Hey, Reading from the FreeBSD Handbook I have compiled a new kernel that works fine. In my config file I commented out a few things I don't need eg USB etc. But for some reason when it booted back up into the new kernel, from ps aux it shows....

Installation & fdisk partitioning (slices) - I picked up a copy of the "FreeBSD Handbook 2nd Ed" the other day, it came with a installation disk for version 5.1 Current and that is what I am trying to install. This is my first attempt to do anything with FreeBSD. First let me describe my...
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]