Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jul 1999 09:26:37 +0700
From:      Ping Onn Cheng <ping@malaysia-mall.com>
To:        "Andrew Johns" <A_Johns@TurnAround.com.au>, freebsd-questions@freebsd.org
Subject:   RE: Kernel recompile problem - File not found
Message-ID:  <3.0.5.32.19990707092637.00842bc0@relay28.jaring.my>
In-Reply-To: <000801bec77e$77d05020$4001a8c0@tasajohns.turnaround.com.au >
References:  <3.0.5.32.19990706145014.007d05a0@malaysia-mall.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Even after I installed *all* source and binaries at sysinstall.  
And do "/usr/sbin/config" "make depend" and "make" again.

The problem still persists.

At 05:09 PM 7/6/99 +1000, you wrote:
>Looks as though you didn't add the kernel source when you installed the
>system.  Run sysinstall and add the kernel sources (you may want to add
>the X Programmers Header files as well if you plan on compiling a bit of
>stuff on the box in future).
>
>Cheers
>
>> -----Original Message-----
>> From: owner-freebsd-questions@FreeBSD.ORG
>> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ping
>> Onn Cheng
>> Sent: Tuesday, 6 July 1999 17:50
>> To: freebsd-questions@FreeBSD.ORG
>> Subject: Kernel recompile problem - File not found
>>
>>
>> Hi all,
>>
>> I am running FreeBSD 3.2-Release(CDROM install) and try to recompile
>> kernel.  I ran into problem with "make" and thought maybe I took out
>> too many stuffs at kernel configuration file.
>>
>> So, I "cp GENERIC MYKERNEL" and recompile bascally a GENERIC kernel.
>>
>> But I still have problem at "make" which can't locate certain files.
>> I can see these 'missing' files are at their appropriate
>> directory.
>>
>> Anybody can help?  TIA.
>>
>> ----------------------------------------------------------------------
>> # /usr/sbin/config MYKERNEL
>> Don't forget to do a "make depend"
>> Kernel build directory is ../../compile/MYKERNEL
>>
>> # cd ../../compile/MYKERNEL
>>
>> # make depend
>> [stuffs deleted]
>> rm -f .depend
>> mv -f .newdep .depend
>>
>> # make
>> [stuffs deleted]
>> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
>> -Wnested-externs
>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
>> -Wuninitialized
>> -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I.
>> -I../.. -I../
>> ../../include -DKERNEL -DVM_STACK -include opt_global.h -elf
>> ../../kern/kern_shutdown.c
>> In file include from ../../kern/kern_shutdown.c:52:
>> ../../sys/vnode.h:42: sys/uio.h: No such file or directory
>> In file include from ../../kern/kern_shutdown.c:55:
>> ../../sys/mount.h:42: sys/lock.h: No such file or directory
>> ***Error code 1
>> stop.
>>
>> # uname -a
>> FreeBSD bilbo 3.2-RELEASE FreeBSD 3.2-RELEASE #0 Tue May 18 0
>> 4:05:08 GMT 1999 jkh@cathair:/usr/src/sys/compile/GENERIC  i386
>>
>> # cc --version
>> 2.7.2.1
>>
>>
>> Ping Onn Cheng
>> Product Manager
>> http://www.malaysia-mall.com
>>
>>
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>>
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>
Ping Onn Cheng
Product Manager
http://www.malaysia-mall.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?3.0.5.32.19990707092637.00842bc0>