Revision: 329797 kernel build problem
When trying to build the kernel, I get: --- all_subdir_linux --- /usr/src/sys/amd64/linux32/linux32_dummy.c:1:5: error: unknown type name 'sys' --- linux_fork.o --- ctfconvert -L VERSION -g linux_fork.o --- nsprepkg.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing?? -g -nostdinc?? -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h?? -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD?? -MF.depend.nsprepkg.o -MTnsprepkg.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float?? -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member?? -mno-aes -mno-avx?? -std=iso9899:1999 -Werror?? /usr/src/sys/contrib/dev/acpica/components/namespace/nsprepkg.c --- modules-all --- --- linux32_dummy.o --- ?? sys/sys/sysent.2 ?? ^ /usr/src/sys/amd64/linux32/linux32_dummy.c:1:8: error: expected identifier or '(' ?? sys/sys/sysent.2 ^ --- all_subdir_linux64 --- --- assym.s --- sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s --- all_subdir_libalias --- --- alias_smedia.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin?? -O2 -pipe?? -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC -MD?? -MF.depend.alias_smedia.o -MTalias_smedia.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float?? -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member?? -mno-aes -mno-avx?? -std=iso9899:1999 -c /usr/src/sys/netinet/libalias/alias_smedia.c -o alias_smedia.o --- all_subdir_linux64 --- --- linux_genassym.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC -MD -MF.depend.linux_genassym.o -MTlinux_genassym.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 /usr/src/sys/amd64/linux/linux_genassym.c --- all_subdir_linux --- 2 errors generated. --- all_subdir_linux64 --- --- linux_fork.o --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin?? -O2 -pipe?? -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC -MD?? -MF.depend.linux_fork.o -MTlinux_fork.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float?? -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
5.0 kernel build problem
I'm trying to upgrade from 4.7-RELEASE-P1 to 5.0-RELEASE but I consistently get the same error when trying to compile a kernel (GENERIC or otherwise): linking kernel textdata bss dec hex filename 3043330 343744 277828 3664902 37ec06 kernel cd /usr/src/sys/modules ; MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GERTRUDE/modules KMODDIR=/boot/kernel MACHINE=i386 make all ===> accf_data make: don't know how to make @/sys/inttypes.h. Stop I feel silly not being able to find the problem. This is after a buildworld and comes late in the process after: env -i make buildkernel KERNCONF=GERTRUDE Attempting to build GENERIC results in the same failure. thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Recent -CURRENT kernel build problem...
John Indra <[EMAIL PROTECTED]> writes: > Yeah... finally, my world is in sync with the kernel, what a joy :) > Until know... the system is pretty stable. > Will this be committed to the tree soon? It has been comitted, I just wanted to test building first. /assar To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Recent -CURRENT kernel build problem...
On Tue, Dec 19, 2000 at 09:22:57AM +0100, [EMAIL PROTECTED] wrote: >Can you try the appended patch and tell us how it goes? Yeah... finally, my world is in sync with the kernel, what a joy :) Until know... the system is pretty stable. Will this be committed to the tree soon? Thank you very much... Regards, John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Recent -CURRENT kernel build problem...
On Tue, Dec 19, 2000 at 10:16:01AM +0200, Ruslan Ermilov wrote: >If I remeber correctly, someone else reported this was caused by >phk's change staticizing something... Sorry, I do not recall this >in details, and I don't have a fresh -CURRENT. OK then... Any workaround or fix coming shortly to overcome this guys? BTW... I am very interested to become one of you guys, the FreeBSD committers. I mean it. I am ready to devote my life to FreeBSD (if this phrase is not too much :) ). Now I am still trying to finish my Bachelor degree. In the mean time I am working as a Network Administrator for a company in Indonesia. Soon after I finish my school, I will have plenty of time to study C and maybe try to understand piece by piece FreeBSD codes, maybe not in all section, and if I am qualified enough, I'd like to contribute something to FreeBSD. What I need now is a guidance. I think I'm not a very novice programmer. For my bachelor degree, I'm trying to make a Natural Language enabled (at semantic level) search engine. Planning to use Perl to build the beast :) Where can I start to dig more information about OS, efficient programming with C, etc. to help me get what I want? Sorry, I think this is becoming out of topic, but I'm very glad to have said my wish :) Thanks a lot... Regards, John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Recent -CURRENT kernel build problem...
John Indra <[EMAIL PROTECTED]> writes: > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../dev > -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL > -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c > linking kernel > agp_amd.o: In function `agp_amd_alloc_gatt': > agp_amd.o(.text+0x67): undefined reference to `M_AGP' > agp_amd.o(.text+0x89): undefined reference to `M_AGP' > agp_amd.o(.text+0xd5): undefined reference to `M_AGP' > agp_amd.o(.text+0x105): undefined reference to `M_AGP' > agp_amd.o(.text+0x112): undefined reference to `M_AGP' > agp_amd.o(.text+0x234): more undefined references to `M_AGP' follow > *** Error code 1 Can you try the appended patch and tell us how it goes? /assar Index: agp.c === RCS file: /home/ncvs/src/sys/pci/agp.c,v retrieving revision 1.9 diff -u -w -u -w -r1.9 agp.c --- agp.c 2000/12/12 20:24:36 1.9 +++ agp.c 2000/12/19 08:22:01 @@ -59,7 +59,7 @@ MODULE_VERSION(agp, 1); -static MALLOC_DEFINE(M_AGP, "agp", "AGP data structures"); +MALLOC_DEFINE(M_AGP, "agp", "AGP data structures"); #define CDEV_MAJOR 148 /* agp_drv.c */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Recent -CURRENT kernel build problem...
If I remeber correctly, someone else reported this was caused by phk's change staticizing something... Sorry, I do not recall this in details, and I don't have a fresh -CURRENT. On Tue, Dec 19, 2000 at 02:35:54PM +0700, John Indra wrote: > Dear all... > > Has anyone noticed this problem? Or is it just happening to me? > On make buildkernel (with -CURRENT just cvsuped a few minutes ago) and the > generic config KERNEL; make depend; make; cycle, the kernel build failed > with this message: > > -- > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../dev > -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL > -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c > linking kernel > agp_amd.o: In function `agp_amd_alloc_gatt': > agp_amd.o(.text+0x67): undefined reference to `M_AGP' > agp_amd.o(.text+0x89): undefined reference to `M_AGP' > agp_amd.o(.text+0xd5): undefined reference to `M_AGP' > agp_amd.o(.text+0x105): undefined reference to `M_AGP' > agp_amd.o(.text+0x112): undefined reference to `M_AGP' > agp_amd.o(.text+0x234): more undefined references to `M_AGP' follow > *** Error code 1 > > Stop in /usr/src/sys/compile/DANTE. > > -- > > Please help, my kernel and userland is badly not in sync ;) > Attached is my kernel config file. > > Thank you... > > Regards, > John > > ident DANTE > machine i386 > cpu I686_CPU > maxusers 256 > > options INET > options FFS > options FFS_ROOT > options SOFTUPDATES > options COMPAT_43 > options UCONSOLE > options USERCONFIG > options VISUAL_USERCONFIG > options KTRACE > options SYSVSHM > options SYSVMSG > options SYSVSEM > options SHMMAX=33554432 > options SHMALL=16384 > options P1003_1B > options _KPOSIX_PRIORITY_SCHEDULING > options KBD_INSTALL_CDEV > options ATA_STATIC_ID > options ATA_ENABLE_ATAPI_DMA > options USER_LDT > options IPFILTER > options IPFILTER_LOG > options TCP_DROP_SYNFIN > options TCP_RESTRICT_RST > options VESA > options NMBCLUSTERS=16384 > options SC_DISABLE_REBOOT > options NOBLOCKRANDOM > > deviceisa > devicepci > devicefdc > deviceata > deviceatadisk > deviceatapicd > deviceatkbdc 1 > deviceatkbd > devicepsm > devicevga > devicesplash > devicesc 1 > devicenpx > deviceapm > devicesio > deviceppc > deviceppbus > devicelpt > deviceplip > deviceppi > devicemiibus > devicexl > devicerandom > deviceloop > deviceether > devicetun > devicepty > devicemd > devicebpf > devicevn > devicesnp > devicepcm > deviceagp -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Recent -CURRENT kernel build problem...
Dear all... Has anyone noticed this problem? Or is it just happening to me? On make buildkernel (with -CURRENT just cvsuped a few minutes ago) and the generic config KERNEL; make depend; make; cycle, the kernel build failed with this message: -- cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../dev -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel agp_amd.o: In function `agp_amd_alloc_gatt': agp_amd.o(.text+0x67): undefined reference to `M_AGP' agp_amd.o(.text+0x89): undefined reference to `M_AGP' agp_amd.o(.text+0xd5): undefined reference to `M_AGP' agp_amd.o(.text+0x105): undefined reference to `M_AGP' agp_amd.o(.text+0x112): undefined reference to `M_AGP' agp_amd.o(.text+0x234): more undefined references to `M_AGP' follow *** Error code 1 Stop in /usr/src/sys/compile/DANTE. -- Please help, my kernel and userland is badly not in sync ;) Attached is my kernel config file. Thank you... Regards, John ident DANTE machine i386 cpu I686_CPU maxusers256 options INET options FFS options FFS_ROOT options SOFTUPDATES options COMPAT_43 options UCONSOLE options USERCONFIG options VISUAL_USERCONFIG options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options SHMMAX=33554432 options SHMALL=16384 options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV options ATA_STATIC_ID options ATA_ENABLE_ATAPI_DMA options USER_LDT options IPFILTER options IPFILTER_LOG options TCP_DROP_SYNFIN options TCP_RESTRICT_RST options VESA options NMBCLUSTERS=16384 options SC_DISABLE_REBOOT options NOBLOCKRANDOM device isa device pci device fdc device ata device atadisk device atapicd device atkbdc 1 device atkbd device psm device vga device splash device sc 1 device npx device apm device sio device ppc device ppbus device lpt device plip device ppi device miibus device xl device random device loop device ether device tun device pty device md device bpf device vn device snp device pcm device agp
Re: kernel build problem
On Fri, Oct 27, 2000 at 10:46:24PM +1100, Darren Reed wrote: > I'm generally compiling/developing on -STABLE (in this case, the > imported code was compiling cleanly on 4.1-RELEASE) and generally don't > think that it'll be _that_ different. In all seriousness, the farther down the 4.x branch we get, the divergence between -STABLE and -CURRENT gets *quite* different. This is unfortunate, but until we do major paid release engineering, many things are MFC'ed that really could/should be to reduce the differences. -- -- David ([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
In some email I received from David O'Brien, sie wrote: > On Fri, Oct 27, 2000 at 11:43:04AM +0200, Poul-Henning Kamp wrote: > > In message <[EMAIL PROTECTED]>, Darren Reed writes > > : > > >What failed ? Do you have the make error output ? > > Did you try to compile LINT before you committed ? > > Hell, forget LINT, just try GENERIC. > > Darren, you really, really have a major problem importing new ipfilter > bits. I cannot think of a single time you have not broken world. What > can we do to help you prevent this in the future? Do you compile a > GENERIC and/or LINT kernel before your change(s)? Do you ``cvsup'' and > then test what actually got committed in a virgin src tree? I don't use cvsup (but may soon) as I have to pay for megabytes at the moment. I'm generally compiling/developing on -STABLE (in this case, the imported code was compiling cleanly on 4.1-RELEASE) and generally don't think that it'll be _that_ different. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
On Fri, Oct 27, 2000 at 11:43:04AM +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Darren Reed writes > : > >What failed ? Do you have the make error output ? > Did you try to compile LINT before you committed ? Hell, forget LINT, just try GENERIC. Darren, you really, really have a major problem importing new ipfilter bits. I cannot think of a single time you have not broken world. What can we do to help you prevent this in the future? Do you compile a GENERIC and/or LINT kernel before your change(s)? Do you ``cvsup'' and then test what actually got committed in a virgin src tree? -- -- David ([EMAIL PROTECTED]) P.S. ===> ipfilter rm -f .depend mkdep -f .depend -a -nostdinc -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c /usr/src/sys/modules/ipfilter/../../netinet/ip_nat.c /usr/src/sys/modules/ipfilter/../../netinet/ip_frag.c /usr/src/sys/modules/ipfilter/../../netinet/ip_state.c /usr/src/sys/modules/ipfilter/../../netinet/ip_proxy.c /usr/src/sys/modules/ipfilter/../../netinet/ip_auth.c /usr/src/sys/modules/ipfilter/../../netinet/ip_log.c /usr/src/sys/modules/ipfilter/../../netinet/ip_fil.c /usr/src/sys/modules/ipfilter/../../netinet/fil.c In file included from /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c:44: @/netinet/ip_compat.h:268: osreldate.h: No such file or directory ..snip.. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
Darren Reed wrote: > > What failed ? Do you have the make error output ? In file included from /usr/amd/slave/usr/current/src/sys/netinet/fil.c:79: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_auth.c:93: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_fil.c:101: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_frag.c:71: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_log.c:112: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_nat.c:99: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_proxy.c:72: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/ip_state.c:82: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory In file included from /usr/amd/slave/usr/current/src/sys/netinet/mlfk_ipl.c:44: /usr/amd/slave/usr/current/src/sys/netinet/ip_compat.h:271: sys/osreldate.h: No such file or directory HTH, Doug -- "The dead cannot be seduced." - Kai, "Lexx" Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
In message <[EMAIL PROTECTED]>, Darren Reed writes : >What failed ? Do you have the make error output ? Did you try to compile LINT before you committed ? Right, if you had you would have seen the error :-( >Darren >> Index: ip_compat.h >> === >> RCS file: /usr/ncvs/src/sys/netinet/ip_compat.h,v >> retrieving revision 1.11 >> diff -u -r1.11 ip_compat.h >> --- ip_compat.h 2000/10/26 12:33:42 1.11 >> +++ ip_compat.h 2000/10/27 06:14:46 >> @@ -265,10 +265,10 @@ >> >> #if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL)) >> # ifdef IPFILTER_LKM >> -# include >> +# include >> # define ACTUALLY_LKM_NOT_KERNEL >> # else >> -# include >> +# include >> # endif >> # if __FreeBSD__ < 3 >> # include >> >> >> -- >> "The dead cannot be seduced." >> - Kai, "Lexx" >> >> Do YOU Yahoo!? >> >> >> >> > > > >To Unsubscribe: send mail to [EMAIL PROTECTED] >with "unsubscribe freebsd-current" in the body of the message > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: kernel build problem
What failed ? Do you have the make error output ? Darren In some email I received from Doug Barton, sie wrote: > With tonight's sources I had an error in sys/netinet/ip_compat.h that > was looking for an osreldate.h that didn't exist. The following patch > fixes it, in the sense that the kernel and lkm compile, and ipfilter > compiled into the kernel works. However I'm told it might not be > appropriate. FWIW, I'm using buildkernel, and I can see > src/i386/usr/include/osreldate.h and src/include/osreldate.h both in > /usr/obj. > > Doug > > Index: ip_compat.h > === > RCS file: /usr/ncvs/src/sys/netinet/ip_compat.h,v > retrieving revision 1.11 > diff -u -r1.11 ip_compat.h > --- ip_compat.h 2000/10/26 12:33:42 1.11 > +++ ip_compat.h 2000/10/27 06:14:46 > @@ -265,10 +265,10 @@ > > #if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL)) > # ifdef IPFILTER_LKM > -# include > +# include > # define ACTUALLY_LKM_NOT_KERNEL > # else > -# include > +# include > # endif > # if __FreeBSD__ < 3 > # include > > > -- > "The dead cannot be seduced." > - Kai, "Lexx" > > Do YOU Yahoo!? > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
kernel build problem
With tonight's sources I had an error in sys/netinet/ip_compat.h that was looking for an osreldate.h that didn't exist. The following patch fixes it, in the sense that the kernel and lkm compile, and ipfilter compiled into the kernel works. However I'm told it might not be appropriate. FWIW, I'm using buildkernel, and I can see src/i386/usr/include/osreldate.h and src/include/osreldate.h both in /usr/obj. Doug Index: ip_compat.h === RCS file: /usr/ncvs/src/sys/netinet/ip_compat.h,v retrieving revision 1.11 diff -u -r1.11 ip_compat.h --- ip_compat.h 2000/10/26 12:33:42 1.11 +++ ip_compat.h 2000/10/27 06:14:46 @@ -265,10 +265,10 @@ #if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL)) # ifdef IPFILTER_LKM -# include +# include # define ACTUALLY_LKM_NOT_KERNEL # else -# include +# include # endif # if __FreeBSD__ < 3 # include -- "The dead cannot be seduced." - Kai, "Lexx" Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message