make: don't know how to make machine/apic.h. Stop

Tomaz Borstnar tomaz.borstnar at over.net
Sun Feb 29 06:41:22 PST 2004


I get "make: don't know how to make machine/apic.h. Stop" when building 
GENERIC kernel with SMP options:

# diff -c GENERIC GENERIC-SMP
*** GENERIC     Fri Feb 27 12:56:12 2004
--- GENERIC-SMP Sun Feb 29 15:36:02 2004
***************
*** 62,69 ****
                                        # output.  Adds ~215k to driver.
  # To make an SMP kernel, the next two are needed
! #options      SMP                     # Symmetric MultiProcessor Kernel
! #options      APIC_IO                 # Symmetric (APIC) I/O
  # Debugging for Development
  options         DDB
--- 62,69 ----
                                        # output.  Adds ~215k to driver.
  # To make an SMP kernel, the next two are needed
! options       SMP                     # Symmetric MultiProcessor Kernel
! options       APIC_IO                 # Symmetric (APIC) I/O
  # Debugging for Development
  options         DDB
This is what I get while building:
cc -O -pipe -march=pentium3 -nostdinc -I/usr/include -I. 
-I/usr/obj/usr/src/sys/GENERIC-SMP 
-I/usr/src/sys/dev/disk/aic7xxx/aicasm    -c aicasm_gram.c
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c 
/usr/src/sys/dev/disk/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O -pipe -march=pentium3 -nostdinc -I/usr/include -I. 
-I/usr/obj/usr/src/sys/GENERIC-SMP 
-I/usr/src/sys/dev/disk/aic7xxx/aicasm    -c aicasm_macro_gram.c
lex -t   /usr/src/sys/dev/disk/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c
cc -O -pipe -march=pentium3 -nostdinc -I/usr/include -I. 
-I/usr/obj/usr/src/sys/GENERIC-SMP 
-I/usr/src/sys/dev/disk/aic7xxx/aicasm    -c aicasm_scan.c
lex -t  -Pmm /usr/src/sys/dev/disk/aic7xxx/aicasm/aicasm_macro_scan.l > 
aicasm_macro_scan.c
cc -O -pipe -march=pentium3 -nostdinc -I/usr/include -I. 
-I/usr/obj/usr/src/sys/GENERIC-SMP 
-I/usr/src/sys/dev/disk/aic7xxx/aicasm    -c aicasm_macro_scan.c
cc -O -pipe -march=pentium3 -nostdinc -I/usr/include -I. 
-I/usr/obj/usr/src/sys/GENERIC-SMP 
-I/usr/src/sys/dev/disk/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/usr/src/sys/GENERIC-SMP;  MAKEOBJDIRPREFIX=/usr/obj 
MACHINE_ARCH=i386  MACHINE=i386  OBJFORMAT_PATH=/usr/obj/usr/src/i386 
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac 
DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools/install.sh" 
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
 OBJFORMAT_PATH=/usr/obj/usr/src/i386: make KERNEL=kernel depend
make: don't know how to make machine/apic.h. Stop
*** Error code 2

Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
8.121u 3.543s 0:12.27 95.0%     63+63k 0+1io 5pf+0w
Same message with gcc2 or gcc3.

Sources updated today.

Tomaž

p.s.
Last build of everything was done on 20th Feb.






More information about the Bugs mailing list