kopia lustrzana https://gitlab.com/sane-project/website
305 wiersze
8.8 KiB
HTML
305 wiersze
8.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: CVS build fails: backend/m3096g-scsi.h & ba</TITLE>
|
|
<META NAME="Author" CONTENT="John Vickers (jvickers@dial.pipex.com)">
|
|
<META NAME="Subject" CONTENT="Re: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h</H1>
|
|
<!-- received="Mon Feb 14 00:57:34 2000" -->
|
|
<!-- isoreceived="20000214085734" -->
|
|
<!-- sent="Mon, 14 Feb 2000 09:03:28 +0000" -->
|
|
<!-- isosent="20000214090328" -->
|
|
<!-- name="John Vickers" -->
|
|
<!-- email="jvickers@dial.pipex.com" -->
|
|
<!-- subject="Re: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h" -->
|
|
<!-- id="38A7C4E0.8EC8BD09@dial.pipex.com" -->
|
|
<!-- inreplyto="200001302242.OAA01105@grieg.holmsjoen.com" -->
|
|
<STRONG>From:</STRONG> John Vickers (<A HREF="mailto:jvickers@dial.pipex.com?Subject=Re:%20CVS%20build%20fails:%20backend/m3096g-scsi.h%20&%20backend/sp15c-scsi.h&In-Reply-To=<38A7C4E0.8EC8BD09@dial.pipex.com>"><EM>jvickers@dial.pipex.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon Feb 14 2000 - 01:03:28 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0119.html">Tom Napolitano: "Re: SCSI Cable"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0117.html">Brian Beattie: "Re: SCSI Cable"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0122.html">Petter Reinholdtsen: "Re: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#118">[ date ]</A>
|
|
<A HREF="index.html#118">[ thread ]</A>
|
|
<A HREF="subject.html#118">[ subject ]</A>
|
|
<A HREF="author.html#118">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi.
|
|
<BR>
|
|
<P>This still doesn't seem to be in CVS, so building Sane out-of-the-box
|
|
<BR>
|
|
seems problematic at the moment.
|
|
<BR>
|
|
<P>Could anyone with write access check in the obvious fixes to
|
|
<BR>
|
|
m3096g-scsi.h & sp15c-scsi.h ?
|
|
<BR>
|
|
<P>Thanks,
|
|
<BR>
|
|
<P>John.
|
|
<BR>
|
|
<P>Randolph Bentson wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> John Vickers wrote:
|
|
</EM><BR>
|
|
<EM>> > It seems like m3096g-scsi.h & sp15c-scsi.h define `lint_catcher' in
|
|
</EM><BR>
|
|
<EM>> > conflicting ways. m3096g.c & sp15c.c seem to be the only compilation
|
|
</EM><BR>
|
|
<EM>> > units which use this identifer.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I created the lint_catcher to reduce compiler complaints about
|
|
</EM><BR>
|
|
<EM>> defined, but unused structures to a single complaint. The
|
|
</EM><BR>
|
|
<EM>> structures are defined for commands which aren't implemented.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > I don't know if this is what was intended, but I made `lint_catcher'
|
|
</EM><BR>
|
|
<EM>> > static in both places.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> John is correct in pointing that defining them static will pull
|
|
</EM><BR>
|
|
<EM>> them out of the external symbol table. Good catch--my compiler
|
|
</EM><BR>
|
|
<EM>> didn't complain.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > This made the build run to completion, anyway. Anyone want to check
|
|
</EM><BR>
|
|
<EM>> > this in ?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I've made the change to my source, but I don't have access to the
|
|
</EM><BR>
|
|
<EM>> CVS tree either. I hope someone will check in the proposed changes
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Randolph Bentson
|
|
</EM><BR>
|
|
<EM>> embarassed author of sp15c and m3096g
|
|
</EM><BR>
|
|
<P>-------- Original Message --------
|
|
<BR>
|
|
Subject: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h
|
|
<BR>
|
|
Date: Sun, 30 Jan 2000 20:55:47 +0000
|
|
<BR>
|
|
From: John Vickers <<A HREF="mailto:jvickers@dial.pipex.com?Subject=Re:%20CVS%20build%20fails:%20backend/m3096g-scsi.h%20&%20backend/sp15c-scsi.h&In-Reply-To=<38A7C4E0.8EC8BD09@dial.pipex.com>">jvickers@dial.pipex.com</A>>
|
|
<BR>
|
|
Reply-To: <A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20CVS%20build%20fails:%20backend/m3096g-scsi.h%20&%20backend/sp15c-scsi.h&In-Reply-To=<38A7C4E0.8EC8BD09@dial.pipex.com>">sane-devel@mostang.com</A>
|
|
<BR>
|
|
Organization: ---
|
|
<BR>
|
|
To: <A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20CVS%20build%20fails:%20backend/m3096g-scsi.h%20&%20backend/sp15c-scsi.h&In-Reply-To=<38A7C4E0.8EC8BD09@dial.pipex.com>">sane-devel@mostang.com</A>
|
|
<BR>
|
|
<P><P>Hi.
|
|
<BR>
|
|
<P>After patching config.h.in, the build fails with:
|
|
<BR>
|
|
<P>gcc -L/usr/lib -L/usr/X11R6/lib -rdynamic -o scanimage scanimage.o
|
|
<BR>
|
|
../backend/.libs/libsane.a ../lib/liblib.a -ldl -lnsl -ljpeg -lm
|
|
<BR>
|
|
../backend/.libs/libsane.a(sp15c.o): In function
|
|
<BR>
|
|
`sane_sp15c_get_devices':
|
|
<BR>
|
|
/home/pkg/source/sane/sane/backend/sp15c.c:237: multiple definition of
|
|
<BR>
|
|
`lint_catcher'
|
|
<BR>
|
|
../backend/.libs/libsane.a(m3096g.o):/home/pkg/source/sane/sane/backend/m3096g.c:236:
|
|
<BR>
|
|
first defined here
|
|
<BR>
|
|
/usr/bin/ld: Warning: size of symbol `lint_catcher' changed from 64 to
|
|
<BR>
|
|
72 in sp15c.o
|
|
<BR>
|
|
collect2: ld returned 1 exit status
|
|
<BR>
|
|
make[1]: *** [scanimage] Error 1
|
|
<BR>
|
|
<P>It seems like m3096g-scsi.h & sp15c-scsi.h define `lint_catcher' in
|
|
<BR>
|
|
conflicting ways.
|
|
<BR>
|
|
m3096g.c & sp15c.c seem to be the only compilation units which use this
|
|
<BR>
|
|
identifer.
|
|
<BR>
|
|
<P>I don't know if this is what was intended, but I made `lint_catcher'
|
|
<BR>
|
|
static in both places.
|
|
<BR>
|
|
<P>This made the build run to completion, anyway. Anyone want to check
|
|
<BR>
|
|
this in ?
|
|
<BR>
|
|
<P>What is an sp15c or an m3096, anyway ???
|
|
<BR>
|
|
<P>Regards,
|
|
<BR>
|
|
<P>John.
|
|
<BR>
|
|
<P><P>Index: backend/m3096g-scsi.h
|
|
<BR>
|
|
===================================================================
|
|
<BR>
|
|
RCS file: /cvsroot/external/sane/backend/Attic/m3096g-scsi.h,v
|
|
<BR>
|
|
retrieving revision 1.1.2.2
|
|
<BR>
|
|
diff -c -p -r1.1.2.2 m3096g-scsi.h
|
|
<BR>
|
|
*** m3096g-scsi.h 2000/01/26 03:51:45 1.1.2.2
|
|
<BR>
|
|
--- m3096g-scsi.h 2000/01/30 20:54:31
|
|
<BR>
|
|
*************** static scsiblk window_descriptor_blockB
|
|
<BR>
|
|
*** 523,529 ****
|
|
<BR>
|
|
|
|
<BR>
|
|
/*
|
|
<BR>
|
|
==================================================================== */
|
|
<BR>
|
|
|
|
<BR>
|
|
! scsiblk *lint_catcher[] =
|
|
<BR>
|
|
{&reserve_unitB,
|
|
<BR>
|
|
&release_unitB,
|
|
<BR>
|
|
&inquiryB,
|
|
<BR>
|
|
--- 523,529 ----
|
|
<BR>
|
|
|
|
<BR>
|
|
/*
|
|
<BR>
|
|
==================================================================== */
|
|
<BR>
|
|
|
|
<BR>
|
|
! static scsiblk *lint_catcher[] =
|
|
<BR>
|
|
{&reserve_unitB,
|
|
<BR>
|
|
&release_unitB,
|
|
<BR>
|
|
&inquiryB,
|
|
<BR>
|
|
<P><P><P>Index: backend/sp15c-scsi.h
|
|
<BR>
|
|
===================================================================
|
|
<BR>
|
|
RCS file: /cvsroot/external/sane/backend/Attic/sp15c-scsi.h,v
|
|
<BR>
|
|
retrieving revision 1.1.2.2
|
|
<BR>
|
|
diff -c -p -r1.1.2.2 sp15c-scsi.h
|
|
<BR>
|
|
*** sp15c-scsi.h 2000/01/26 03:51:48 1.1.2.2
|
|
<BR>
|
|
--- sp15c-scsi.h 2000/01/30 20:55:03
|
|
<BR>
|
|
*************** static scsiblk window_descriptor_blockB
|
|
<BR>
|
|
*** 525,531 ****
|
|
<BR>
|
|
|
|
<BR>
|
|
/*
|
|
<BR>
|
|
==================================================================== */
|
|
<BR>
|
|
|
|
<BR>
|
|
! scsiblk *lint_catcher[] =
|
|
<BR>
|
|
{&reserve_unitB,
|
|
<BR>
|
|
&release_unitB,
|
|
<BR>
|
|
&inquiryB,
|
|
<BR>
|
|
--- 525,531 ----
|
|
<BR>
|
|
|
|
<BR>
|
|
/*
|
|
<BR>
|
|
==================================================================== */
|
|
<BR>
|
|
|
|
<BR>
|
|
! static scsiblk *lint_catcher[] =
|
|
<BR>
|
|
{&reserve_unitB,
|
|
<BR>
|
|
&release_unitB,
|
|
<BR>
|
|
&inquiryB,
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
<P>--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20CVS%20build%20fails:%20backend/m3096g-scsi.h%20&%20backend/sp15c-scsi.h&In-Reply-To=<38A7C4E0.8EC8BD09@dial.pipex.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0119.html">Tom Napolitano: "Re: SCSI Cable"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0117.html">Brian Beattie: "Re: SCSI Cable"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0122.html">Petter Reinholdtsen: "Re: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#118">[ date ]</A>
|
|
<A HREF="index.html#118">[ thread ]</A>
|
|
<A HREF="subject.html#118">[ subject ]</A>
|
|
<A HREF="author.html#118">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Mon Feb 14 2000 - 01:00:28 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|