[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel requires db3?



I supposed I should have fixed it myself before I sent this first message.

Gaah.

Attached is a patch to 2.4.2-ac17 to include db2 if db3 isn't present...

-Nathan


On Fri, Mar 09, 2001 at 03:02:26PM -0800, Nathan Dabney wrote:
> make bzImage on 2.4.2-ac17:
> 
> make[5]: Entering directory `/usr/src/kernels/2.4.2-ac17-lat/drivers/scsi/aic7xxx/aicasm'
> if [ -e "/usr/include/db3/db_185.h" ]; then             \
>         echo "#include <db3/db_185.h>" > aicdb.h;       \
> elif [ -e "/usr/include/db/db_185.h" ]; then            \
>         echo "#include <db/db_185.h>" >aicdb.h  ;       \
> else                                                    \
>         echo "*** Install db3 development libraries";   \
> fi
> *** Install db3 development libraries
> gcc -I/usr/include -ldb aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm
> aicasm_gram.y:1443: warning: type mismatch with previous implicit declaration
> /usr/share/bison/bison.simple:643: warning: previous implicit declaration of `yyerror'
> aicasm_gram.y:1443: warning: `yyerror' was previously implicitly declared to return `int'
> aicasm_symbol.c:37: aicdb.h: No such file or directory
> make[5]: *** [aicasm] Error 1
> make[5]: Leaving directory `/usr/src/kernels/2.4.2-ac17-lat/drivers/scsi/aic7xxx/aicasm'
> make[4]: *** [aicasm/aicasm] Error 2
> make[4]: Leaving directory `/usr/src/kernels/2.4.2-ac17-lat/drivers/scsi/aic7xxx'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/usr/src/kernels/2.4.2-ac17-lat/drivers/scsi/aic7xxx'
> make[2]: *** [_subdir_aic7xxx] Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.4.2-ac17-lat/drivers/scsi'
> make[1]: *** [_subdir_scsi] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.4.2-ac17-lat/drivers'
> make: *** [_dir_drivers] Error 2
> 
> ---
> bad... Am I just missing something?
> 
> Thoughts?  I checked the archives and there was discussion for including db3 in debian, any update on the progress?
> 
> -Nathan
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 
diff -urN linux.orig/drivers/scsi/aic7xxx/aicasm/Makefile linux/drivers/scsi/aic7xxx/aicasm/Makefile
--- linux.orig/drivers/scsi/aic7xxx/aicasm/Makefile	Fri Mar  9 15:38:13 2001
+++ linux/drivers/scsi/aic7xxx/aicasm/Makefile	Fri Mar  9 15:52:27 2001
@@ -28,10 +28,12 @@
 aicdb.h:
 	if [ -e "/usr/include/db3/db_185.h" ]; then		\
 		echo "#include <db3/db_185.h>" > aicdb.h;	\
+	elif [ -e "/usr/include/db2/db_185.h" ]; then		\
+		echo "#include <db2/db_185.h>" > aicdb.h;	\
 	elif [ -e "/usr/include/db/db_185.h" ]; then		\
 		echo "#include <db/db_185.h>" >aicdb.h	;	\
 	else							\
-		echo "*** Install db3 development libraries";	\
+		echo "*** Install db development libraries";	\
 	fi
 
 clean:

Reply to: