Re: Error compiling Kernel
On Sun, 17 May 2009 13:41:28 +0100 Bruce Cran wrote: > On Sun, 17 May 2009 14:15:32 +0200 > Jose Luis Alarcon Sanchez 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 Sun, 17 May 2009 08:46:23 -0400 Glen Barber wrote: > On Sun, May 17, 2009 at 8:41 AM, Bruce Cran 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, May 17, 2009 at 8:41 AM, Bruce Cran 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 14:15:32 +0200 Jose Luis Alarcon Sanchez 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
Hi, Jose On Sun, May 17, 2009 at 8:15 AM, Jose Luis Alarcon Sanchez 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"
Error compiling Kernel
Hi Folks!. I am trying to compile the Kernel, but it stop at this point: cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ath/if_ath.c -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?. Thanks very much, in advance. 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 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 > > # > > > > > options SCHED_ULE # ULE scheduler > > #optionsSCHED_4BSD # 4BSD scheduler > > > > > 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 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 > # > > options SCHED_ULE # ULE scheduler > #options SCHED_4BSD # 4BSD scheduler > 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 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 > # > > options SCHED_ULE # ULE scheduler > #options SCHED_4BSD # 4BSD scheduler > 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]"
error compiling kernel
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 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.439.2.6.2.1 2005/10/28 19:22:41 jhb Exp $ machine amd64 cpu HAMMER ident MYKERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler #optionsSCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT# NFS usable as /, requires NFSCLIENT options NTFS# NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Needed by COMPAT_LINUX32 options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_LINUX32 # Compatible with i386 linux binaries #optionsSCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. # Workarounds for some known-to-be-broken chipsets (nVidia nForce3-Pro150) device atpic # 8259A compatability # Linux 32-bit ABI support options LINPROCFS # Cannot be a module yet. options EXT2FS # Linux ext2 filesystem support # Bus support. device acpi device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atapicam device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls bo
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]"
error compiling kernel
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 *** ERROR code 1 What could this mean ? Running release 4.10 Any help would be very appreciated. 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
error compiling kernel for SMP
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. When trying the old way, everything goes ok until I cd ../../compile/DUALIE and issue the command make depend at which time I get the following error: ===> accf_data "/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 63: Could not find bsd.init.mk "/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 190: Could not find bsd.links.mk make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/compile/DUALIE. When trying the new way I issue the command make buildkernel KERNCONF=DUALIE the make process begins and chugs along for a few minutes, then I get the following error: ===> crypto @ -> /usr/src/sys machine -> /usr/src/sys/i386/include make: don't know how to make des_enc.c. Stop *** Error code 2 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/DUALIE. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I am having great trouble finding anything on the Internet about this and pretty much at a loss about what is causing this problem and how to resolve it. Any help you can offer will be greatly appreciated. Thank You Owen Wallace ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
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
Error compiling kernel
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 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/FISHBOWL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Eventually I tried compiling GENERIC instead, which led to the same result. A friend of mine then suggested trying make buildworld and installworld, but this didn't change anything. Hope someone can help. Bye, Ernest To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message