make rerelease broken at camcontrol...
Scott Long
scottl at samsco.org
Tue Jun 20 02:32:33 UTC 2006
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
More information about the freebsd-stable
mailing list