Re: 7-stable kernel not compiling: nlm_prot_impl.c undefined reference to `nfs_*
I solved this by adding NFSCLIENT back to my kernel config file. I had NFSSERVER and NFSLOCKD in there already. Given that this is a file server system it doesn't seem logical that it would need NFSCLIENT in the kernel. Doug Doug Barton wrote: With up to date sources buildworld completes, but kernel fails here: linking kernel.debug nlm_advlock.o(.text+0x11a8): In function `nlm_advlock_internal': /data/src/sys/nlm/nlm_advlock.c:225: undefined reference to `nfs_vinvalbuf' nlm_advlock.o(.text+0x1243):/data/src/sys/nlm/nlm_advlock.c:236: undefined reference to `nfs_ticks' nlm_prot_impl.o(.text+0x2af1): In function `nlm_syscall': /data/src/sys/nlm/nlm_prot_impl.c:1543: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x2af7):/data/src/sys/nlm/nlm_prot_impl.c:1544: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x2b01):/data/src/sys/nlm/nlm_prot_impl.c:1545: undefined reference to `nfs_reclaim_p' nlm_prot_impl.o(.text+0x2b07):/data/src/sys/nlm/nlm_prot_impl.c:1546: undefined reference to `nfs_reclaim_p' nlm_prot_impl.o(.text+0x2b1f):/data/src/sys/nlm/nlm_prot_impl.c:1551: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x2b25):/data/src/sys/nlm/nlm_prot_impl.c:1552: undefined reference to `nfs_reclaim_p' *** Error code 1 Stop in /usr/local/obj/data/src/sys/HOME. *** Error code 1 -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 7-stable kernel not compiling: nlm_prot_impl.c undefined reference to `nfs_*
2009/2/18 Doug Barton do...@freebsd.org: I solved this by adding NFSCLIENT back to my kernel config file. I had NFSSERVER and NFSLOCKD in there already. Given that this is a file server system it doesn't seem logical that it would need NFSCLIENT in the kernel. I talked with dfr@ about ifdef'ing client parts in NFSLOCKD some months ago, still without result. -- wbr, pluknet ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 7-stable kernel not compiling: nlm_prot_impl.c undefined reference to `nfs_*
pluknet wrote: 2009/2/18 Doug Barton do...@freebsd.org: I solved this by adding NFSCLIENT back to my kernel config file. I had NFSSERVER and NFSLOCKD in there already. Given that this is a file server system it doesn't seem logical that it would need NFSCLIENT in the kernel. I talked with dfr@ about ifdef'ing client parts in NFSLOCKD some months ago, still without result. Ok, Doug, any thoughts? Doug (the other one) -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
7-stable kernel not compiling: nlm_prot_impl.c undefined reference to `nfs_*
With up to date sources buildworld completes, but kernel fails here: linking kernel.debug nlm_advlock.o(.text+0x11a8): In function `nlm_advlock_internal': /data/src/sys/nlm/nlm_advlock.c:225: undefined reference to `nfs_vinvalbuf' nlm_advlock.o(.text+0x1243):/data/src/sys/nlm/nlm_advlock.c:236: undefined reference to `nfs_ticks' nlm_prot_impl.o(.text+0x2af1): In function `nlm_syscall': /data/src/sys/nlm/nlm_prot_impl.c:1543: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x2af7):/data/src/sys/nlm/nlm_prot_impl.c:1544: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x2b01):/data/src/sys/nlm/nlm_prot_impl.c:1545: undefined reference to `nfs_reclaim_p' nlm_prot_impl.o(.text+0x2b07):/data/src/sys/nlm/nlm_prot_impl.c:1546: undefined reference to `nfs_reclaim_p' nlm_prot_impl.o(.text+0x2b1f):/data/src/sys/nlm/nlm_prot_impl.c:1551: undefined reference to `nfs_advlock_p' nlm_prot_impl.o(.text+0x2b25):/data/src/sys/nlm/nlm_prot_impl.c:1552: undefined reference to `nfs_reclaim_p' *** Error code 1 Stop in /usr/local/obj/data/src/sys/HOME. *** Error code 1 -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: STABLE is not compiling
LI Xin escreveu: Carlos Fernando Assis Paniago wrote: plutao# make cc -O2 -fno-strict-aliasing -pipe -DIPSEC -DINET6 -DFAST_IPSEC -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/usr.bin/netstat/inet.c /usr/src/usr.bin/netstat/inet.c: In function `pim_stats': /usr/src/usr.bin/netstat/inet.c:1032: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1033: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1034: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1035: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1036: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1037: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1038: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1039: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1040: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1041: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1042: warning: long long unsigned int format, u_quad_t arg (arg 2) *** Error code 1 Stop in /usr/src/usr.bin/netstat. plutao# I cvsup'ed the RELENG_6 and try in 2 diffent machines. The stable is broken (The thinderbox is showing the same). This is the stable version, people, please solve this ASAP I think David has committed a fix 2 hours ago. Could you please take a look at file revisions and make sure if you have these revisions: Revision ChangesPath 1.24.8.2 +1 -0 src/usr.bin/netstat/atalk.c 1.5.2.4+1 -0 src/usr.bin/netstat/bpf.c 1.70.2.4 +29 -28src/usr.bin/netstat/inet.c 1.25.8.3 +161 -160 src/usr.bin/netstat/inet6.c 1.12.8.3 +27 -26src/usr.bin/netstat/ipsec.c 1.23.2.3 +1 -0 src/usr.bin/netstat/ipx.c 1.72.2.10 +4 -4 src/usr.bin/netstat/main.c 1.42.8.8 +24 -23src/usr.bin/netstat/mbuf.c 1.22.8.3 +15 -10src/usr.bin/netstat/mroute.c 1.15.8.1 +19 -18src/usr.bin/netstat/mroute6.c 1.10.8.3 +1 -0 src/usr.bin/netstat/netgraph.c 1.41.2.7 +3 -3 src/usr.bin/netstat/netstat.h 1.1.2.3+23 -22src/usr.bin/netstat/pfkey.c 1.76.2.4 +1 -0 src/usr.bin/netstat/route.c 1.18.8.2 +1 -0 src/usr.bin/netstat/unix.c Cheers, OK.. now it is working again... Thanks for the good job... Paniago ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
STABLE is not compiling
plutao# make cc -O2 -fno-strict-aliasing -pipe -DIPSEC -DINET6 -DFAST_IPSEC -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/usr.bin/netstat/inet.c /usr/src/usr.bin/netstat/inet.c: In function `pim_stats': /usr/src/usr.bin/netstat/inet.c:1032: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1033: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1034: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1035: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1036: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1037: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1038: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1039: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1040: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1041: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1042: warning: long long unsigned int format, u_quad_t arg (arg 2) *** Error code 1 Stop in /usr/src/usr.bin/netstat. plutao# I cvsup'ed the RELENG_6 and try in 2 diffent machines. The stable is broken (The thinderbox is showing the same). This is the stable version, people, please solve this ASAP Paniago ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STABLE is not compiling
Carlos Fernando Assis Paniago wrote: plutao# make cc -O2 -fno-strict-aliasing -pipe -DIPSEC -DINET6 -DFAST_IPSEC -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/usr.bin/netstat/inet.c /usr/src/usr.bin/netstat/inet.c: In function `pim_stats': /usr/src/usr.bin/netstat/inet.c:1032: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1033: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1034: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1035: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1036: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1037: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1038: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1039: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1040: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1041: warning: long long unsigned int format, u_quad_t arg (arg 2) /usr/src/usr.bin/netstat/inet.c:1042: warning: long long unsigned int format, u_quad_t arg (arg 2) *** Error code 1 Stop in /usr/src/usr.bin/netstat. plutao# I cvsup'ed the RELENG_6 and try in 2 diffent machines. The stable is broken (The thinderbox is showing the same). This is the stable version, people, please solve this ASAP I think David has committed a fix 2 hours ago. Could you please take a look at file revisions and make sure if you have these revisions: Revision ChangesPath 1.24.8.2 +1 -0 src/usr.bin/netstat/atalk.c 1.5.2.4+1 -0 src/usr.bin/netstat/bpf.c 1.70.2.4 +29 -28src/usr.bin/netstat/inet.c 1.25.8.3 +161 -160 src/usr.bin/netstat/inet6.c 1.12.8.3 +27 -26src/usr.bin/netstat/ipsec.c 1.23.2.3 +1 -0 src/usr.bin/netstat/ipx.c 1.72.2.10 +4 -4 src/usr.bin/netstat/main.c 1.42.8.8 +24 -23src/usr.bin/netstat/mbuf.c 1.22.8.3 +15 -10src/usr.bin/netstat/mroute.c 1.15.8.1 +19 -18src/usr.bin/netstat/mroute6.c 1.10.8.3 +1 -0 src/usr.bin/netstat/netgraph.c 1.41.2.7 +3 -3 src/usr.bin/netstat/netstat.h 1.1.2.3+23 -22src/usr.bin/netstat/pfkey.c 1.76.2.4 +1 -0 src/usr.bin/netstat/route.c 1.18.8.2 +1 -0 src/usr.bin/netstat/unix.c Cheers, -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! signature.asc Description: OpenPGP digital signature
Re: 5.4-STABLE error in compiling GENERIC kernel
For several years now I upgrade FreeBSD this way with no problem. You may have CVSup'ed the CVS tree in between two MFCs. Please check that you have the following file revisions: sys/kern/subr_bus.c1.156.2.6 2005/04/14 04:54:15 njl sys/sys/bus.h 1.62.2.3 2005/04/14 18:11:13 njl -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
5.4-STABLE error in compiling GENERIC kernel
Hi, I cvsuped RELENG_5. I did Make buildworld which worked fine, but make buildkernel failed. For several years now I upgrade FreeBSD this way with no problem. The following excerpt is from compiling 5.4-PreRelease kernel , which worked okay: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/co ntrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -fin line-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/kern/subr_bus.c The following is the error I got when recently compiling 5.4-STABLE kernel: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/co ntrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -fin line-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 -ffreestanding -Werror /usr/src/sys/kern/subr_bus.c /usr/src/sys/kern/subr_bus.c:1082: warning: no previous prototype for 'devclass_get_drivers' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Since I am not a system programer , I quite lost here. Any help would be greatly appreciated. -- Benzi Mizrahi, computing center, Weizmann Institute of Science, Tel: 972-8-9342456 Rehovot, Israel. Fax: 972-8-9344102 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]