strange error code 1 when compile kernel on 6.1-PRERELEASE

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat Mar 11 14:37:47 UTC 2006


Dikshie <dikshie at ppk.itb.ac.id> writes:

> I got following strange error when compiled kernel:
> ===> aic7xxx/ahd (depend)
> @ -> /usr/src/sys
> machine -> /usr/src/sys/i386/include
> ( cd /usr/src/sys/modules/aic7xxx/ahd/../aicasm; make aicasm; )
> cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/m
> odules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -g  -c /usr/src/sys/modules/ai
> c7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm.c
> cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/m
> odules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -g  -c /usr/src/sys/modules/ai
> c7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_symbol.c
> yacc -b aicasm_gram  -d -o aicasm_gram.c /usr/src/sys/modules/aic7xxx/aicasm/../
> ../../dev/aic7xxx/aicasm/aicasm_gram.y
> cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/m
> odules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -g  -c aicasm_gram.c
> yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /usr/src/sys/modules/a
> ic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_macro_gram.y
> cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/m
> odules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -g  -c aicasm_macro_gram.c
> lex -t   /usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_
> scan.l > aicasm_scan.c
> cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/m
> odules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -g  -c aicasm_scan.c
> lex -t  -Pmm /usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aic
> asm_macro_scan.l > aicasm_macro_scan.c
> cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/m
> odules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -g  -c aicasm_macro_scan.c
> cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I. -I/usr/src/sys/m
> odules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -g   -o aicasm aicasm.o aicasm
> _symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -l
> l
> /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -ll
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/aic7xxx/aicasm.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/aic7xxx/ahd.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/aic7xxx.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/soi.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> vic-rat# 
> 
> 
> any solutions ?

Hard to say.  It actually seems to be building a module at the point
it fails.  Have you done a full buildworld beforehand?  Have you
successfully built at all since downloading that set of sources?  How
did you install your sources?  If those sources never built
successfully, have you tried another update in case it was a transient
problems in the codebase?


More information about the freebsd-questions mailing list