Date: Mon, 19 Jun 2006 20:32:24 -0600 From: Scott Long <scottl@samsco.org> To: Peter Losher <plosher-keyword-freebsd.a36e57@plosh.net> Cc: freebsd-stable@freebsd.org Subject: Re: make rerelease broken at camcontrol... Message-ID: <44975E38.4090708@samsco.org> In-Reply-To: <449745B7.8010205@plosh.net> References: <449745B7.8010205@plosh.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Losher wrote: > Thanks to all who answered my 'make release' questions; now that I have > done the initial release cut, now I am trying out 'make rerelease', and > it's bombing at the "stage 4.4: building everything" stage. > > -=- > ===> sbin/camcontrol (all) > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o > camcontrol camcontrol.o util.o modeedit.o -lcam -lsbuf > modeedit.o(.text+0xd14): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0xd5c): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0xdf9): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0xe86): In function `mode_edit': > : undefined reference to `mode_select' > modeedit.o(.text+0xebf): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0x11ec): In function `mode_list': > : undefined reference to `mode_sense' > *** Error code 1 > > Stop in /usr/src/sbin/camcontrol. > *** Error code 1 > > Stop in /usr/src/sbin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > + exit 1 > + umount /dev > *** Error code 1 (ignored) > -=- > > Looking in CVS; modeedit.c hasn't changed in two years, so I am > perplexed at what is going on here. Any ideas? > > The make rerelease command used is: > > make -i rerelease NODOC=YES NO_FLOPPIES=YES CHROOTDIR=/hog/release \ > BUILDNAME=6.1-RELEASE-p2 CVSROOT=/hog/FreeBSD-CVS RELEASETAG=RELENG_6_1 > > (no optimizations, etc.) > > Thanks - Peter > camcontrol.o probably got truncated or corrupted. Remove it and the build should work. Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44975E38.4090708>