All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Patrick Mansfield <patmans@us.ibm.com>
Cc: linux-scsi@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net
Subject: Re: [announce] scsi_id release 0.2
Date: Sun, 7 Dec 2003 20:59:15 +0100	[thread overview]
Message-ID: <20031207195915.GA6714@suse.de> (raw)
In-Reply-To: <20031207114242.A29572@beaverton.ibm.com>

 On Sun, Dec 07, Patrick Mansfield wrote:

> On Sun, Dec 07, 2003 at 04:38:02PM +0100, Olaf Hering wrote:
> >  On Fri, Dec 05, Patrick Mansfield wrote:
> > 
> > > Version 0.2 of scsi_id is available at:
> > > 
> > > http://www-124.ibm.com/storageio/scsi_id/scsi_id-0.2.tar.gz
> > 
> > What is $(DEBUG)? It is used by klibc and replaced by true/false.
> 
> I use it to compile with -g. 
> 
> i.e.:
> 	
> 	# make DEBUG=-g 
> 	cc -DSCSI_ID_VERSION=\"0.2\" -g -Wall   -c -o scsi_id.o scsi_id.c
> 	cc -DSCSI_ID_VERSION=\"0.2\" -g -Wall   -c -o scsi_serial.o scsi_serial.c
> 	cc  -o scsi_id  scsi_id.o scsi_serial.o  -lsysfs  
> 
> The udev DEBUG value does not get passed down to the extras, so the
> scsi_id build under udev should be OK.

It does. make EXTRAS=extras/scsi_id will pass DEBUG=false/true if
defined.

> Is it breaking your build? If so I'll just remove it.

Yes, just try to build a udev debug binary.

I need also this patch because gcc decides that a printf("\n"); could be
done with a putchar, which is not defined for some reasons.

--- extras/scsi_id/Makefile.orig        2003-12-07 15:05:33.000000000 +0100
+++ extras/scsi_id/Makefile     2003-12-07 15:14:09.000000000 +0100
@@ -27,7 +27,7 @@ INSTALL_DATA  = ${INSTALL} -m 644
 # Note some of the variables used here are set when built under udev, and
 # otherwise might not be set.

-override CFLAGS+=-DSCSI_ID_VERSION=\"$(SCSI_ID_VERSION)\" $(DEBUG) -Wall
+override CFLAGS+=-DSCSI_ID_VERSION=\"$(SCSI_ID_VERSION)\" -Wall -fno-builtin

 PROG=scsi_id
 SYSFS=-lsysfs


Greg has the new scsi_id already merged into the bk repo.


-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2003-12-07 19:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05 23:18 [announce] scsi_id release 0.2 Patrick Mansfield
2003-12-07 15:38 ` Olaf Hering
2003-12-07 19:42   ` Patrick Mansfield
2003-12-07 19:59     ` Olaf Hering [this message]
2003-12-07 20:38       ` Patrick Mansfield
2003-12-12 14:27       ` Rask Ingemann Lambertsen
  -- strict thread matches above, loose matches on Subject: below --
2003-12-05 23:18 Patrick Mansfield
2003-12-07 15:38 Olaf Hering
2003-12-07 19:42 ` Patrick Mansfield
2003-12-07 19:59 ` Olaf Hering
2003-12-07 20:38 ` Patrick Mansfield
2003-12-12 14:27 ` Rask Ingemann Lambertsen

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=20031207195915.GA6714@suse.de \
    --to=olh@suse.de \
    --cc=linux-hotplug-devel@lists.sourceforge.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=patmans@us.ibm.com \
    /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 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.