Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755265Ab0KIMHJ (ORCPT ); Tue, 9 Nov 2010 07:07:09 -0500 Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66]:42980 "EHLO homiemail-a1.g.dreamhost.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754515Ab0KIMHH (ORCPT ); Tue, 9 Nov 2010 07:07:07 -0500 Subject: [PATCH] aic7xxx: Add a better library-dependency description when libdb is needed From: Davidlohr Bueso Reply-To: dave@gnu.org To: Hannes Reinecke Cc: LKML , linux-scsi Content-Type: text/plain; charset="UTF-8" Date: Tue, 09 Nov 2010 09:06:55 -0300 Message-ID: <1289304415.2260.4.camel@cowboy> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1927 Lines: 48 From: Davidlohr Bueso While recently building aicasm_symbol.c it failed because I didn't have the berkeley libdb, so no aicdb.h file was created. With this patch I wouldn't have had to gone to google to see what "development library" it was referring to. make -C drivers/scsi/aic7xxx/aicasm *** Install db development libraries bison -d -b aicasm_gram aicasm_gram.y mv aicasm_gram.tab.c aicasm_gram.c mv aicasm_gram.tab.h aicasm_gram.h bison -d -b aicasm_macro_gram -p mm aicasm_macro_gram.y mv aicasm_macro_gram.tab.c aicasm_macro_gram.c mv aicasm_macro_gram.tab.h aicasm_macro_gram.h flex -oaicasm_scan.c aicasm_scan.l flex -Pmm -oaicasm_macro_scan.c aicasm_macro_scan.l gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ldb aicasm_symbol.c:48: fatal error: aicdb.h: No such file or directory compilation terminated. make[4]: *** [aicasm] Error 1 make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2 make[2]: *** [drivers/scsi/aic7xxx] Error 2 Signed-off-by: Davidlohr Bueso --- drivers/scsi/aic7xxx/aicasm/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/aic7xxx/aicasm/Makefile b/drivers/scsi/aic7xxx/aicasm/Makefile index b98c5c1..b399d46 100644 --- a/drivers/scsi/aic7xxx/aicasm/Makefile +++ b/drivers/scsi/aic7xxx/aicasm/Makefile @@ -49,7 +49,7 @@ aicdb.h: elif [ -e "/usr/include/db_185.h" ]; then \ echo "#include " > aicdb.h; \ else \ - echo "*** Install db development libraries"; \ + echo "*** Install Berkeley DB (libdb) development libraries"; \ fi clean: -- 1.7.1 -- 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/