Just to be sure, do you have /bsd directory created?
Since the error is:
"ln: /bsd: No such file or directory"

Since your report is only the make install error and the error is that the
directory does not exist maybe you should start there before making other
assumptions about cleverness. Or maybe start by saying if the directory
already exists or not.



On Wed, May 27, 2015 at 2:08 PM, Harald Dunkel <[email protected]>
wrote:

> Hi folks,
>
> stable built fine, but make install failed with
>
> :
> cc  -Werror -Wall -Wimplicit-function-declaration  -Wno-main
> -Wno-uninitialized  -Wframe-larger-than=2047 -mcmodel=kernel -mno-red-zone
> -mno-sse2 -mno-sse -mno-3dnow  -mno-mmx -msoft-float
> -fno-omit-frame-pointer -fno-builtin-printf -fno-builtin-snprintf
> -fno-builtin-vsnprintf -fno-builtin-log  -fno-builtin-log2
> -fno-builtin-malloc -fno-pie -O2 -pipe -nostdinc -I../../../.. -I.
> -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
> -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DFFS
> -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT
> -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DTMPFS -DFUSE -DSOCKET_SPLICE
> -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DINET -DINET6 -DIPSEC -DPPP_BSDCOMP
> -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF
> -DAPERTURE -DMTRR -DNTFS -DHIBERNATE -DPCIVERBOSE -DUSBVERBOSE
> -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
> -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DX!
>  86EMU
> -DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL -MD -MP  -c vers.c
> ld -T ../../../../arch/amd64/conf/ld.script -X --warn-common -nopie -S -x
> -o bsd ${SYSTEM_HEAD} vers.o ${OBJS}
> text    data    bss     dec     hex
> 8836020 248296  598016  9682332 93bd9c
> cmp -s bsd /bsd || ln -f /bsd /obsd
> ln: /bsd: No such file or directory
> *** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC (Makefile:904
> 'install-kernel-gate5c.example.com.')
>
> I have rebuilt it *because* /bsd was deleted by accident. A
> little bit more clever code here would be highly appreciated.
>
>
> Thanx in advance
> Harri

Reply via email to