Date: Thu, 27 Mar 2008 21:19:24 -0500 From: "Rance Hall" <ranceh@gmail.com> To: freebsd-stable@freebsd.org Subject: Re: compile error while building kernel Message-ID: <845c0f80803271919i18172cbdk4855c47067fcb312@mail.gmail.com> In-Reply-To: <alpine.BSF.1.10.0803271807340.48020@x9.ybpnyarg> References: <845c0f80803261123j6e18e611r7b481fabb2f11ecf@mail.gmail.com> <fseprb$s9u$1@ger.gmane.org> <845c0f80803261848h7dd72076n40ff9cc1ffd5cb4c@mail.gmail.com> <845c0f80803270359m63b2ae7dw48fa7b967ef23f2e@mail.gmail.com> <fsg85s$33j$1@ger.gmane.org> <845c0f80803271452v1e08b9e0u35d16ca9d3b270c4@mail.gmail.com> <alpine.BSF.1.10.0803271807340.48020@x9.ybpnyarg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 27, 2008 at 8:16 PM, walt <w41ter@gmail.com> wrote: > > Hm. Well, I just compiled GENERIC using the 'old' method. Your missing > symbols are defined in assym.s, which is generated during the compile by > genassym.sh right at the beginning: > > root@k9/usr/src/sys/i386/compile/GENERIC #make > cc -c -O -pipe -march=athlon-xp -std=c99 -g -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -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 > ../../../i386/i386/genassym.c > NM='nm' sh ../../../kern/genassym.sh genassym.o > assym.s > > Do you see something different at your end? > I never noticed before but since you have mentioned that the values are supposed to be set in assym.s in the step right before my failure I went back and looked and I get this: [/usr/src/sys/i386/compile/GENERIC] root@rance-freebsd# make cc -c -o -pipe -march=athlon-mp -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -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 ../../../i386/i386/genassym.c NM='nm' sh ../../../kern/genassym.sh genassym.o > assym.s nm: 'genassym.o': No such file which must be the problem. If there is no genassym.o file then assym.s doesnt get created. Then when assym.s doesnt get created the rest of the build will fail miserably ok, so I know what the problem is. Wonder what to do about it?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?845c0f80803271919i18172cbdk4855c47067fcb312>