All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux-2.4.4 failure to compile
@ 2001-05-17 17:23 Richard B. Johnson
  2001-05-17 17:38 ` Tim Hockin
  0 siblings, 1 reply; 10+ messages in thread
From: Richard B. Johnson @ 2001-05-17 17:23 UTC (permalink / raw)
  To: Linux kernel


Hello;

I downloaded linux-2.4.4. The basic kernel compiles but the aic7xxx
SCSI module that I require on some machines, doesn't. 


[SNIPPED `make modules`]

make -C scsi modules
make[2]: Entering directory `/usr/src/linux-2.4.4/drivers/scsi'
ld -m elf_i386 -r -o scsi_mod.o scsi.o hosts.o scsi_ioctl.o constants.o scsicam.o scsi_proc.o scsi_error.o scsi_obsolete.o scsi_queue.o scsi_lib.o scsi_merge.o scsi_dma.o scsi_scan.o scsi_syms.o
ld -m elf_i386 -r -o initio.o ini9100u.o i91uscsi.o
ld -m elf_i386 -r -o a100u2w.o inia100.o i60uscsi.o
ld -m elf_i386 -r -o sd_mod.o sd.o
ld -m elf_i386 -r -o sr_mod.o sr.o sr_ioctl.o sr_vendor.o
make -C aic7xxx modules
make[3]: Entering directory `/usr/src/linux-2.4.4/drivers/scsi/aic7xxx'
make -C aicasm
make[4]: Entering directory `/usr/src/linux-2.4.4/drivers/scsi/aic7xxx/aicasm'
gcc -I/usr/include -ldb1 aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm
aicasm_gram.y:37: inttypes.h: No such file or directory
aicasm.c:39: inttypes.h: No such file or directory
aicasm_symbol.c:39: db1/db.h: No such file or directory
make[4]: *** [aicasm] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.4/drivers/scsi/aic7xxx/aicasm'
make[3]: *** [aicasm/aicasm] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.4/drivers/scsi/aic7xxx'
make[2]: *** [_modsubdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.4/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.4/drivers'
make: *** [_mod_drivers] Error 2a


Something broke.
A check of ../linux/Documentation/Changes doesn't show that I should
install anything new.


`sh ver_linux`

If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
Linux chaos 2.4.1 #10 SMP Fri Feb 23 10:38:40 EST 2001 i686
 
Gnu C                  egcs-2.91.66
Gnu make               3.79.1
binutils               2.9.5.0.16
mount                  2.10o
modutils               2.3.15
e2fsprogs              1.19
PPP                    2.3.10
Linux C Library        > /usr/lib/libc.so.6
Dynamic linker (ldd)   2.0.6
Linux C++ Library      27.1.0
Procps                 1.2
Net-tools              1.50
Kbd                    0.89
Sh-utils               1.12
Modules Loaded         loop ipx 3c59x nls_cp437 BusLogic sd_mod scsi_mod


Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.



^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: Linux-2.4.4 failure to compile
@ 2001-05-17 18:33 Cress, Andrew R
  0 siblings, 0 replies; 10+ messages in thread
From: Cress, Andrew R @ 2001-05-17 18:33 UTC (permalink / raw)
  To: 'hch@caldera.de', thockin; +Cc: Linux kernel

Try setting CONFIG_AIC7XXX_BUILD_FIRMWARE=n as a workaround.

-----Original Message-----
From: hch@caldera.de [mailto:hch@caldera.de]
Sent: Thursday, May 17, 2001 2:04 PM
To: thockin@sun.com
Cc: Linux kernel; root@chaos.analogic.com
Subject: Re: Linux-2.4.4 failure to compile


In article <3B040C80.C2A7BC6@sun.com> you wrote:
> "Richard B. Johnson" wrote:
>> 
>> Hello;
>> 
>> I downloaded linux-2.4.4. The basic kernel compiles but the aic7xxx
>> SCSI module that I require on some machines, doesn't.

> The aic7xxx assembler requiring libdb1 is a bungle.  Getting the headers
> for that right on various distros is not easy.  Add to that it requires
> YACC, when most people have bison (yes, a shell script is easy to make,
but
> not always an option). 

If make wants to use yacc but you don't have it, it's probably a mistake
in the make(1) configuration - the Makefile uses implicit rules and
distributions not having yacc should not call it in make's implicit rules.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-05-19 12:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-17 17:23 Linux-2.4.4 failure to compile Richard B. Johnson
2001-05-17 17:38 ` Tim Hockin
2001-05-17 18:03   ` Christoph Hellwig
2001-05-17 18:32   ` H. Peter Anvin
2001-05-17 18:47     ` Richard B. Johnson
2001-05-17 18:52       ` H. Peter Anvin
2001-05-18  6:32         ` Lorenzo Marcantonio
2001-05-18 10:41           ` Anuradha Ratnaweera
2001-05-19 12:16             ` David Weinehall
  -- strict thread matches above, loose matches on Subject: below --
2001-05-17 18:33 Cress, Andrew R

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.