Re: Error compiling Kernel
Hi, Jose On Sun, May 17, 2009 at 8:15 AM, Jose Luis Alarcon Sanchez jlalar...@gawab.com wrote: Hi Folks!. I am trying to compile the Kernel, but it stop at this point: When was your last c(v)sup? -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error compiling Kernel
On Sun, 17 May 2009 14:15:32 +0200 Jose Luis Alarcon Sanchez jlalar...@gawab.com wrote: -I/usr/src/sys/dev/ath /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap': /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL_NAME. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can i do with this?. Anybody see a way for fix it?. Try adding options AH_SUPPORT_AR5416 to your kernel configuration. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error compiling Kernel
On Sun, May 17, 2009 at 8:41 AM, Bruce Cran br...@cran.org.uk wrote: [snip] Try adding options AH_SUPPORT_AR5416 to your kernel configuration. Should this be ATH_SUPPORT_AR5416? (Just making sure it's not a typo.) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error compiling Kernel
On Sun, 17 May 2009 08:46:23 -0400 Glen Barber glen.j.bar...@gmail.com wrote: On Sun, May 17, 2009 at 8:41 AM, Bruce Cran br...@cran.org.uk wrote: [snip] Try adding options AH_SUPPORT_AR5416 to your kernel configuration. Should this be ATH_SUPPORT_AR5416? (Just making sure it's not a typo.) Not according to GENERIC :) grep _SUPPORT /sys/i386/conf/GENERIC options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error compiling Kernel
On Sun, 17 May 2009 13:41:28 +0100 Bruce Cran br...@cran.org.uk wrote: On Sun, 17 May 2009 14:15:32 +0200 Jose Luis Alarcon Sanchez jlalar...@gawab.com wrote: -I/usr/src/sys/dev/ath /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap': /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL_NAME. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can i do with this?. Anybody see a way for fix it?. Try adding options AH_SUPPORT_AR5416 This was! :) Thanks you very much, Bruce (and Glen too). Regards. Jose. -- Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories. You are talking about memories. Rick Deckard. Blade Runner. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: error compiling kernel
--- On Mon, 9/29/08, Frank Shute [EMAIL PROTECTED] wrote: From: Frank Shute [EMAIL PROTECTED] Subject: Re: error compiling kernel To: Dino Vliet [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Monday, September 29, 2008, 2:31 PM On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: Hi all, In an effort to compile a new kernel on my amd64 system running freebsd 6.3 I get the following error message after the make buildkernel KERNCONF=MYKERNEL step. The error I get is: /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src My kernel configuration called MYKERNEL looks like this: # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # snip options SCHED_ULE # ULE scheduler #options SCHED_4BSD # 4BSD scheduler snip What is causing this error? Brgds Dino devicefwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html Hi Frank, It worked! Thanks for the tips. I've reenabled sched_bsd and added options NETGRAPH. The latter is strange though, because I managed to compile the p1 kernel in the past without it, so why would that fail now? Anyway, it worked so I can look at my other problems now. This machine was disconnected from the internet a few months so I had a very long package list that needed to be updated. Thanks for your reply! Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error compiling kernel
On Wed, Oct 01, 2008 at 12:24:48AM -0700, Dino Vliet wrote: --- On Mon, 9/29/08, Frank Shute [EMAIL PROTECTED] wrote: On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: Hi all, In an effort to compile a new kernel on my amd64 system running freebsd 6.3 I get the following error message after the make buildkernel KERNCONF=MYKERNEL step. The error I get is: /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src My kernel configuration called MYKERNEL looks like this: # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # snip options SCHED_ULE # ULE scheduler #optionsSCHED_4BSD # 4BSD scheduler snip What is causing this error? Brgds Dino device fwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Hi Frank, It worked! Excellent! Thanks for the tips. I've reenabled sched_bsd and added options NETGRAPH. The latter is strange though, because I managed to compile the p1 kernel in the past without it, so why would that fail now? Not too sure but there must be something in your kernel conf that requires netgraph (I don't use it). To be on the safe side, it's always best to compile GENERIC unless you're trying to screw the last drop of performance from your machine. Anyway, it worked so I can look at my other problems now. This machine was disconnected from the internet a few months so I had a very long package list that needed to be updated. Take a good look at /usr/ports/UPDATING and work on updating the ports/packages mentioned in there. Then hit the ports with lots of dependencies with portupgrade. E.g: # portupgrade -vrR firefox (Assuming you're using it as a workstation like Firefox). Then I'd use the -a flag for portupgrade to hit the rest of the ports/packages. Use the -P flag if you want packages. Thanks for your reply! No worries :) Glad to be of help. Dino Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error compiling kernel
On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: Hi all, In an effort to compile a new kernel on my amd64 system running freebsd 6.3 I get the following error message after the make buildkernel KERNCONF=MYKERNEL step. The error I get is: /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src My kernel configuration called MYKERNEL looks like this: # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # snip options SCHED_ULE # ULE scheduler #options SCHED_4BSD # 4BSD scheduler snip What is causing this error? Brgds Dino devicefwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error compiling kernel
On Sat, 4 Sep 2004 02:03:26 +0400 Sergey Zaharchenko [EMAIL PROTECTED] wrote: On Fri, Sep 03, 2004 at 09:40:35PM +0200, messmate probably wrote: Hello, to setup the pf firewall had to compile a new kernel. So added the options, compile and get this error : gensetdefs: kern_synch.o: not an ELF file gensetdefs: sys.pipe.o: not an ELF ile Try doing a make clean before the make buildkernel. Ok, it's done and runnung :) Erm, has pf been backported to 4.x yet? I CVS pf from 4_10 but it's only for ver.5 or above ??? What does this mean ? Thanks mess-mate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error compiling kernel for SMP
On Tue, Feb 03, 2004 at 01:58:24AM -0500, Scott Wallace wrote: I have a computer running FreeBSD 4.3. This computer has dual 266MHz Intel PII processors. I am trying to compile a new kernel for the multiple processors. I copied GENERIC to DUALIE and uncommented the two lines for SMP kernel. I have tried the old way and the new way according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html where it lists both the old way and new way. I cannot get either way to work. Please wrap your lines at 70 characters so your emails may be easily read. It looks like you don't have a full kernel source tree. Please compare your cvsupfile to the samples in /usr/share/examples/cvsup, or post your cvsupfile if you can't figure it out. Kris pgp0.pgp Description: PGP signature
Re: Error compiling kernel
On Wed, 22 Jan 2003 18:27:02 +0100, Ernest Hammerschmidt wrote: Hello, I just installed FreeBSD 4.7 yesterday and tried to install a new kernel following the instructions from the handbook. Unfortunately I ran into the following problem when executing 'make buildkernel KERNCONF=MYKERNEL': === crypto @ - /usr/src/sys machine - /usr/src/sys/i386/include make: don't know how to make bf_enc.c. Stop *** Error code 2 if you haven't used buildworld, you have to cd /sys/i386/conf config YOURKERNELNAME cd ../compile/YOURKERNLNAME make depend make and then make install (been a long time since i've done it that way, hopefully I didn't forget anything) --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message