linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.6-pre8 build error of aic7xxx
@ 2001-06-30 17:13 Rodrigo Ventura
  2001-06-30 18:12 ` Bernfried Molte
  0 siblings, 1 reply; 5+ messages in thread
From: Rodrigo Ventura @ 2001-06-30 17:13 UTC (permalink / raw)
  To: linux-kernel


        I got the following build error of aic7xxx drivers, with
kernel 2.4.6-pre8:

----------------------------------------------------------------------
[...]
make[2]: Entering directory `/usr/src/linux/drivers/scsi'
make -C aic7xxx
make[3]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx'
make all_targets
make[4]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx'
make -C aicasm
make[5]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx/aicasm'
gcc -I/usr/include -I. -ldb aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm
/usr/i486-linux/bin/ld: cannot open -ldb: No such file or directory
collect2: ld returned 1 exit status
make[5]: *** [aicasm] Error 1
[...]
----------------------------------------------------------------------

        The gcc I'm using is:

----------------------------------------------------------------------
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
----------------------------------------------------------------------

        Here goes the relevant part of config:

----------------------------------------------------------------------
[...]
#
# SCSI low-level drivers
#
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
CONFIG_AIC7XXX_BUILD_FIRMWARE=y
[...]
----------------------------------------------------------------------

        Cheers,

-- 

*** Rodrigo Martins de Matos Ventura <yoda@isr.ist.utl.pt>
***  Web page: http://www.isr.ist.utl.pt/~yoda
***   Teaching Assistant and PhD Student at ISR:
***    Instituto de Sistemas e Robotica, Polo de Lisboa
***     Instituto Superior Tecnico, Lisboa, PORTUGAL
*** PGP fingerprint = 0119 AD13 9EEE 264A 3F10  31D3 89B3 C6C4 60C6 4585

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

* Re: 2.4.6-pre8 build error of aic7xxx
  2001-06-30 17:13 2.4.6-pre8 build error of aic7xxx Rodrigo Ventura
@ 2001-06-30 18:12 ` Bernfried Molte
  2001-06-30 18:19   ` 2.4.6-pre8 build error of aic7xxxt Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Bernfried Molte @ 2001-06-30 18:12 UTC (permalink / raw)
  To: linux-kernel

On 30 Jun 2001 18:13:42 +0100
Rodrigo Ventura <yoda@isr.ist.utl.pt> wrote:

>         I got the following build error of aic7xxx drivers, with
> kernel 2.4.6-pre8:
> 
> ----------------------------------------------------------------------
> [...]
> make[2]: Entering directory `/usr/src/linux/drivers/scsi'
> make -C aic7xxx
> make[3]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx'
> make all_targets
> make[4]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx'
> make -C aicasm
> make[5]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx/aicasm'
> gcc -I/usr/include -I. -ldb aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm
> /usr/i486-linux/bin/ld: cannot open -ldb: No such file or directory
> collect2: ld returned 1 exit status
> make[5]: *** [aicasm] Error 1
> [...]
> ----------------------------------------------------------------------

may be a 'make mrproper' solves your problem,

bernfried molte

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

* Re: 2.4.6-pre8 build error of aic7xxxt
  2001-06-30 18:12 ` Bernfried Molte
@ 2001-06-30 18:19   ` Alan Cox
  2001-06-30 18:33     ` Rafael Herrera
  2001-06-30 19:09     ` Rodrigo Ventura
  0 siblings, 2 replies; 5+ messages in thread
From: Alan Cox @ 2001-06-30 18:19 UTC (permalink / raw)
  To: Bernfried Molte; +Cc: linux-kernel

> > gcc -I/usr/include -I. -ldb aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm
> > /usr/i486-linux/bin/ld: cannot open -ldb: No such file or directory
> > collect2: ld returned 1 exit status
> > make[5]: *** [aicasm] Error 1
> > [...]
> > ----------------------------------------------------------------------
> 
> may be a 'make mrproper' solves your problem,

Unlikely since the problem is the fact that the scsi firmware assembler wants
a library that isnt installed.  



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

* Re: 2.4.6-pre8 build error of aic7xxxt
  2001-06-30 18:19   ` 2.4.6-pre8 build error of aic7xxxt Alan Cox
@ 2001-06-30 18:33     ` Rafael Herrera
  2001-06-30 19:09     ` Rodrigo Ventura
  1 sibling, 0 replies; 5+ messages in thread
From: Rafael Herrera @ 2001-06-30 18:33 UTC (permalink / raw)
  To: Bernfried Molte; +Cc: linux-kernel

Alan Cox wrote:
> 
> > > gcc -I/usr/include -I. -ldb aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm
> > > /usr/i486-linux/bin/ld: cannot open -ldb: No such file or directory
> > > collect2: ld returned 1 exit status
> > > make[5]: *** [aicasm] Error 1
> > > [...]
> > > ----------------------------------------------------------------------
> >
> > may be a 'make mrproper' solves your problem,
> 
> Unlikely since the problem is the fact that the scsi firmware assembler wants
> a library that isnt installed.

It is not necessary to re-build the firmware (according to Justin).
Disable that option and try to rebuild again.

-- 
     Rafael

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

* Re: 2.4.6-pre8 build error of aic7xxxt
  2001-06-30 18:19   ` 2.4.6-pre8 build error of aic7xxxt Alan Cox
  2001-06-30 18:33     ` Rafael Herrera
@ 2001-06-30 19:09     ` Rodrigo Ventura
  1 sibling, 0 replies; 5+ messages in thread
From: Rodrigo Ventura @ 2001-06-30 19:09 UTC (permalink / raw)
  To: Alan Cox; +Cc: Bernfried Molte, linux-kernel

>>>>> "AC" == Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

    >> may be a 'make mrproper' solves your problem,

    AC> Unlikely since the problem is the fact that the scsi firmware
    AC> assembler wants a library that isnt installed.

        It seems the libdb is in fact installed. I just added a
symlink from libdb.so.3 to libdb.so and it worked. This was probably a
side effect of installing glibc2.2 rpm from SuSE on top a SuSE 6.3
install (glibc2.1, IIRC).

        Cheers,

PS: Why does the firmware assembler needs libdb, anyway??
-- 

*** Rodrigo Martins de Matos Ventura <yoda@isr.ist.utl.pt>
***  Web page: http://www.isr.ist.utl.pt/~yoda
***   Teaching Assistant and PhD Student at ISR:
***    Instituto de Sistemas e Robotica, Polo de Lisboa
***     Instituto Superior Tecnico, Lisboa, PORTUGAL
*** PGP fingerprint = 0119 AD13 9EEE 264A 3F10  31D3 89B3 C6C4 60C6 4585

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

end of thread, other threads:[~2001-06-30 19:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-30 17:13 2.4.6-pre8 build error of aic7xxx Rodrigo Ventura
2001-06-30 18:12 ` Bernfried Molte
2001-06-30 18:19   ` 2.4.6-pre8 build error of aic7xxxt Alan Cox
2001-06-30 18:33     ` Rafael Herrera
2001-06-30 19:09     ` Rodrigo Ventura

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).