mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Blomgren <blomgren@monster.Stanford.EDU>
To: Nathan Dabney <smurf@osdlab.org>
Cc: linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk,
	greg@ulima.unil.ch
Subject: Re: [PATCH] aicasm db3 fiasco
Date: Fri, 9 Mar 2001 17:42:45 -0800	[thread overview]
Message-ID: <20010309174245.A13762@monster.Stanford.EDU> (raw)
In-Reply-To: <20010309160145.H30901@osdlab.org>
In-Reply-To: <20010309160145.H30901@osdlab.org>; from smurf@osdlab.org on Fri, Mar 09, 2001 at 04:01:45PM -0800

While we're at it, on my RH6.2 system db_185.h is in /usr/include,
i.e.

bash$ echo "`locate db_185.h` ($(rpm -qf `locate db_185.h`))"
/usr/include/db_185.h (glibc-devel-2.1.3-22)

FWIW, for my builds I've been using the following patch (hey, it works
for me):

--- linux/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c.orig      Thu Mar  8 17:09:00 2001
+++ linux/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c   Thu Mar  8 17:09:14 2001
@@ -36,7 +36,7 @@
 #include <sys/types.h>
 
 #ifdef __linux__
-#include <db/db_185.h>
+#include <db_185.h>
 #else
 #include <db.h>
 #endif

Maybe .../aic7xxx/aicasm/Makefile should do something like:

if [ ! -z `find /usr/include -name db_185.h` ]; then
   echo "#include <`find /usr/include -name db_185.h | sed \
   's+/usr/include/++g'`>" > aicdb.h
else
   echo "*** Install db development libraries ***";
   exit 1
fi

But what do I know? :-}


On Fri, Mar 09, 2001 at 04:01:45PM -0800, Nathan Dabney wrote:
> Debian does not use db3 at all, yet.
> 
> Applies against 2.4.2-ac17
> 
> -Nathan
> 
> 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:
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
\Peter.


      parent reply	other threads:[~2001-03-10  1:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-10  0:01 Nathan Dabney
2001-03-10  0:26 ` FAVRE Gregoire
2001-03-10  0:34   ` FAVRE Gregoire
2001-03-10 15:16   ` Chmouel Boudjnah
2001-03-10 17:00     ` FAVRE Gregoire
2001-03-10  1:42 ` Peter Blomgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010309174245.A13762@monster.Stanford.EDU \
    --to=blomgren@monster.stanford.edu \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=blomgren@math.Stanford.EDU \
    --cc=greg@ulima.unil.ch \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smurf@osdlab.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®