Re: Kernel compiling error on FreeBSD 5.4
Piotr Baranowski wrote: KK Show us the exact error and exactly what you did, we can't help if KK you're vague about it. what i did was: 1) cd /usr/src/sys/i386/conf 2) cp GENERIC OWIEC 3) editing OWIEC 4) config OWIEC 5) cd ../compile/OWIEC 6) make depend 7) had errors 8) make -a D depend 9) seen errors ;-) 1) check that you have sources. reinstall sources from CD or recvsup. 2) check that you have correct version of C compiler. Try compile simple C program. 3) do rm -fr /usr/obj/usr/src/sys/OWIEC 4) then try second, and correct method then i used second method 1) cd /usr/src 2) make buildkernel KERNCONF=OWIEC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compiling error on FreeBSD 5.4
On 2005-07-07 03:20, Piotr Baranowski [EMAIL PROTECTED] wrote: KK Show us the exact error and exactly what you did, we can't help if KK you're vague about it. what i did was: 1) cd /usr/src/sys/i386/conf 2) cp GENERIC OWIEC 3) editing OWIEC 4) config OWIEC 5) cd ../compile/OWIEC 6) make depend 7) had errors 8) make -a D depend 9) seen errors ;-) That's wrong. You are trying to build just a kernel, before a userland has been compiled. Use make buildworld and make buildkernel, unless you know exactly what you are doing and why. then i used second method 1) cd /usr/src 2) make buildkernel KERNCONF=OWIEC 3) had errors 4) make -a D buildkernel KERNCONF=OWIEC 5) same errors here ;-) exact errors would take very much space ;-) at first blocks of theese err's: cc: #: No such file of directory cc: parents:: No such file or directory cc: kernel: No such file or directory cc: vers.c: No such file or directory cc: harvest.o: No such file or directory cc: :: No such file or directory cc: ${NORMAL_C}: No such file or directory cc: randomdev.ln: No such file or directory cc: ${NORMAL_LINT}: No such file or directory and so on.. and after that, block of many: cc1: error: unrecognized command line option -f Hmmm. You haven't by any chance overwritten the system version of make(1) with GNU make, right? What do you see when you try to run the command: # make --version ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel compiling error on FreeBSD 5.4
Hello :-) I'm new to this list, and to FreeBSD alltogether. Today i tried to compile new Kernel and i did it 'by the book'. The problem is with compiling, i get error like: 'cc1: error: unrecognized command line option -f' and then errors about no such file or directory i tried several things: - downloading sources again - re building world and such, with no help - always the same error i searched for this problem on the net, but with no succes, so i'm writing here ;-) and now some basic info: PC is PIII 650MHz with 256RAM, i'm using Barracuda 40Gb on IDE as disk, ethernet is on Sis900. OS is FreeBSD 5.4 release May 8 2005 I'm totally new to Unix like systems, that includes FreeBSD, so please, be gentle with me ;-) I'll answear all the additional questions, if i know, how to get the info ;-) I will be thankful for any help, including links and 'look into man pages number you noob' ;-) I tried everything i could think off, i'm too stupid with Unix for now :-) Best regards Piotr Baranowski ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compiling error on FreeBSD 5.4
On Thu, Jul 07, 2005 at 02:34:52AM +0200, Zenobius Xavierus wrote: Hello :-) I'm new to this list, and to FreeBSD alltogether. Today i tried to compile new Kernel and i did it 'by the book'. The problem is with compiling, i get error like: 'cc1: error: unrecognized command line option -f' and then errors about no such file or directory Show us the exact error and exactly what you did, we can't help if you're vague about it. Kris pgpFNPb7NuhF8.pgp Description: PGP signature
Re[2]: Kernel compiling error on FreeBSD 5.4
KK Show us the exact error and exactly what you did, we can't help if KK you're vague about it. what i did was: 1) cd /usr/src/sys/i386/conf 2) cp GENERIC OWIEC 3) editing OWIEC 4) config OWIEC 5) cd ../compile/OWIEC 6) make depend 7) had errors 8) make -a D depend 9) seen errors ;-) then i used second method 1) cd /usr/src 2) make buildkernel KERNCONF=OWIEC 3) had errors 4) make -a D buildkernel KERNCONF=OWIEC 5) same errors here ;-) exact errors would take very much space ;-) at first blocks of theese err's: cc: #: No such file of directory cc: parents:: No such file or directory cc: kernel: No such file or directory cc: vers.c: No such file or directory cc: harvest.o: No such file or directory cc: :: No such file or directory cc: ${NORMAL_C}: No such file or directory cc: randomdev.ln: No such file or directory cc: ${NORMAL_LINT}: No such file or directory and so on.. and after that, block of many: cc1: error: unrecognized command line option -f This could be problem with: 1) placing files in filesystem - wich should be ok, i did not change anything in directory tree 2) version of 'gcc' or 'make' maybe? UPDATE: i just tried to compile Midnight Commander, or any other ports program, i get errors like: fetch: #something: No such file or directory = Attempting to fetch from something2 something is name of packages something2 is like: #, parents, master-sites-default, ${AWK}, and so on KK Kris Peter PS. Sorry Kris for priv mail, i'm from poland, it's 3:19 AM here and i'm getting sleepy ;-) i just did: replay to ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]