LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-26-2002, 01:48 PM   #1
Enforcer
LQ Newbie
 
Registered: Apr 2002
Location: Sweden
Distribution: FBSD 4.10, FBSD 5.2.1 , OBSD 3.4
Posts: 27

Rep: Reputation: 15
Compiling FreeBSD 4.5


Hi!

I'm forced to compile my own version of FreeBSD's kernel, cuz I want to view *.avi movies. With the extra option: "options USER_LDT".

I surfed in and looked at freebsd.org and viewed the handbook of how to config and compile the kernel.. didn't seem to be that hard.. and it wasn't..

..but when I had logged in as single user and started the process, it suddenly stopped and gave me this error..

mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/ENFORCER.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# exit

I thought thats not much to go on, so I restarted the process, but this time I started "script kernel.out" before.

You can view this file at my homepage:

http://bart.sm.luth.se/~mikhar-1/kernel.out

Please give me a hint..

Thanks!
 
Old 05-27-2002, 10:40 PM   #2
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
missing header files in a kernel point to unselected options. apparently you chose something that needs something else, which would be great if the kernel told you that, but the majority of them don't. i haven't used FreeBSD, nor have i tried to compile the kernel, but my guess would be that you didn't enable pci, usb, isa, and a few other bus options. once again, this is just speculation, but it seems that pci_if.c/pci_if.h would be the kernel's pci bus interface, and same with the others (usb_if.*, isa_if.*, etc). just go through it again and make sure you have everything you need

verigoth
 
Old 07-15-2002, 01:33 PM   #3
Dan Angelescu
RoFreeSBIE
 
Registered: Oct 2001
Posts: 81

Rep: Reputation: 15
What have you exactly done?
go to /sys/i386/conf/and edit GENERIC adding what you want
and save the kernel configuration as another file ex MyKernel.
/usr/sbin/config MyKernel
cd /sys/compile/MyKernel
make depend
make
make install
.If it doesn't work maybe the kernel source is bad
Good luck!
use only the default gcc 2.95.3
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Compiling pftpfxp-mew on FreeBSD (AMD64) SupaDupa *BSD 1 12-17-2005 05:11 PM
As a FreeBSD user, what is the best things you like about FreeBSD? t3gah *BSD 6 06-10-2005 02:38 PM
Mplayer compiling error FreeBSD 4.10 agarfors *BSD 8 09-28-2004 05:30 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
compiling linux kernel on FreeBSD sakeeb *BSD 1 08-28-2002 05:39 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration