Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2002 19:51:19 -0700 (PDT)
From:      Pete Carah <pete@ns.altadena.net>
To:        current@freebsd.org
Subject:   Problem in cross-build of modules
Message-ID:  <200209020251.g822pJ68061045@ns.altadena.net>

next in thread | raw e-mail | index | archive | help
This showed up a few days ago; a tool-dependency problem
in a cross-build.

I build current under stable since this (acpi-only) system 
won't yet boot current (mostly appears to be the problem with 
TI pcic/cardbus chip interrupt routing)

The build of aicasm in the kernel mkdep works right; that
in the module build doesn't.  I presume a minor makefile
problem...

The first thing (no target to make) is just a nit but annoying.
--------------------------------------------------------
make: no target to make.
"/current/usr/src/Makefile.inc1", line 140: warning: "make -f /dev/null -m /current/usr/src/share/mk  CPUTYPE=i386 -V CPUTYPE" returned non-zero status

--------------------------------------------------------------
>>> Kernel build for PORT2 started on Sun Sep  1 22:36:09 EDT 2002
--------------------------------------------------------------
===> PORT2
mkdir -p /usr/obj/current/usr/src/sys
cd /current/usr/src/sys/i386/conf;  PATH=/usr/obj/current/usr/src/i386/usr/sbin:/usr/obj/current/usr/src/i386/usr/bin:/usr/obj/current/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  config  -d /usr/obj/current/usr/src/sys/PORT2  /current/usr/src/sys/i386/conf/PORT2
Kernel build directory is /usr/obj/current/usr/src/sys/PORT2
Don't forget to do a ``make depend''
.........
.........
cd /usr/obj/current/usr/src/sys/PORT2;  MAKESRCPATH=/current/usr/src/sys/dev/aic7xxx/aicasm  make -DNO_CPU_CFLAGS -f /current/usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original /d/obj-c/current/usr/src/sys/PORT2
cc -O -pipe -nostdinc -I/usr/include -I. -I/current/usr/src/sys/dev/aic7xxx/aicasm    -c /current/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
cc -O -pipe -nostdinc -I/usr/include -I. -I/current/usr/src/sys/dev/aic7xxx/aicasm    -c /current/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
yacc -b aicasm_gram  -d -o aicasm_gram.c /current/usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
cc -O -pipe -nostdinc -I/usr/include -I. -I/current/usr/src/sys/dev/aic7xxx/aicasm    -c aicasm_gram.c
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /current/usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O -pipe -nostdinc -I/usr/include -I. -I/current/usr/src/sys/dev/aic7xxx/aicasm    -c aicasm_macro_gram.c
lex -t   /current/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c
cc -O -pipe -nostdinc -I/usr/include -I. -I/current/usr/src/sys/dev/aic7xxx/aicasm    -c aicasm_scan.c
lex -t  -Pmm /current/usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l > aicasm_macro_scan.c
cc -O -pipe -nostdinc -I/usr/include -I. -I/current/usr/src/sys/dev/aic7xxx/aicasm    -c aicasm_macro_scan.c
cc -O -pipe -nostdinc -I/usr/include -I. -I/current/usr/src/sys/dev/aic7xxx/aicasm     -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll
cd /usr/obj/current/usr/src/sys/PORT2;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=i386  OBJFORMAT_PATH=/usr/obj/current/usr/src/i386/usr/libexec  GROFF_BIN_PATH=/usr/obj/current/usr/src/i386/usr/bin  GROFF_FONT_PATH=/usr/obj/current/usr/src/i386/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/current/usr/src/i386/usr/share/tmac  DESTDIR=/usr/obj/current/usr/src/i386  INSTALL="sh /current/usr/src/tools/install.sh"  PATH=/usr/obj/current/usr/src/i386/usr/sbin:/usr/obj/current/usr/src/i386/usr/bin:/usr/obj/current/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  OBJFORMAT_PATH=/usr/obj/current/usr/src/i386/usr/libexec:/usr/libexec make KERNEL=kernel depend
rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
make _kernel-depend
...........
...........
===> aic7xxx
===> aic7xxx/aicasm
make -f /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/Makefile  MAKESRCPATH=/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm depend
===> aic7xxx/ahc
@ -> /current/usr/src/sys
machine -> /current/usr/src/sys/i386/include
( cd /current/usr/src/sys/modules/aic7xxx/ahc/../aicasm; make aicasm; )
make -f /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/Makefile  MAKESRCPATH=/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm
Warning: Object directory not changed from original /d/obj-c/current/usr/src/sys/PORT2/modules/current/usr/src/sys/modules/aic7xxx/aicasm
cc -O -pipe  -nostdinc -I/usr/include -I. -I/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm  -g  -c /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm.c
cc -O -pipe  -nostdinc -I/usr/include -I. -I/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm  -g  -c /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_symbol.c
yacc -b aicasm_gram  -d -o aicasm_gram.c /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_gram.y
cc -O -pipe  -nostdinc -I/usr/include -I. -I/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm  -g  -c aicasm_gram.c
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O -pipe  -nostdinc -I/usr/include -I. -I/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm  -g  -c aicasm_macro_gram.c
lex -t   /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c
cc -O -pipe  -nostdinc -I/usr/include -I. -I/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm  -g  -c aicasm_scan.c
lex -t  -Pmm /current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_macro_scan.l > aicasm_macro_scan.c
cc -O -pipe  -nostdinc -I/usr/include -I. -I/current/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm  -g  -c aicasm_macro_scan.c
cc -O -pipe  -nostdinc -I/usr/include -I. -I/current/usr/src/sys/modules/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 -ll
/d/obj-c/current/usr/src/sys/PORT2/modules/current/usr/src/sys/modules/aic7xxx/ahc/../aicasm/aicasm  -I/current/usr/src/sys/modules/aic7xxx/ahc/../../../cam/scsi  -I/current/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx		  -o aic7xxx_seq.h -r aic7xxx_reg.h		  -p aic7xxx_reg_print.c				  -i /current/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx_osm.h  /current/usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx.seq
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
*** Error code 1

Stop in /current/usr/src/sys/modules/aic7xxx/ahc.
*** Error code 1

Stop in /current/usr/src/sys/modules/aic7xxx.
*** Error code 1

Stop in /current/usr/src/sys/modules.
*** Error code 1

Stop in /d/obj-c/current/usr/src/sys/PORT2.
*** Error code 1

Stop in /current/usr/src.
*** Error code 1

Stop in /current/usr/src.
-------------------------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209020251.g822pJ68061045>