kopia lustrzana https://gitlab.com/sane-project/website
225 wiersze
6.6 KiB
HTML
225 wiersze
6.6 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: CVS build fails: backend/m3096g-scsi.h & backen</TITLE>
|
|
<META NAME="Author" CONTENT="John Vickers (jvickers@dial.pipex.com)">
|
|
<META NAME="Subject" CONTENT="CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h</H1>
|
|
<!-- received="Sun Jan 30 12:48:16 2000" -->
|
|
<!-- isoreceived="20000130204816" -->
|
|
<!-- sent="Sun, 30 Jan 2000 20:55:47 +0000" -->
|
|
<!-- isosent="20000130205547" -->
|
|
<!-- name="John Vickers" -->
|
|
<!-- email="jvickers@dial.pipex.com" -->
|
|
<!-- subject="CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h" -->
|
|
<!-- id="3894A553.1FFF682F@dial.pipex.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=<3894A553.1FFF682F@dial.pipex.com>"><EM>jvickers@dial.pipex.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sun Jan 30 2000 - 12:55:47 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0304.html">John Vickers: "Re: Current CVS: Typo in include/sane/config.h.in"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0302.html">Karl Heinz Kremer: "Re: Current CVS: Typo in include/sane/config.h.in"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0308.html">Randolph Bentson: "Re: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0308.html">Randolph Bentson: "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#303">[ date ]</A>
|
|
<A HREF="index.html#303">[ thread ]</A>
|
|
<A HREF="subject.html#303">[ subject ]</A>
|
|
<A HREF="author.html#303">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<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>
|
|
--
|
|
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=<3894A553.1FFF682F@dial.pipex.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0304.html">John Vickers: "Re: Current CVS: Typo in include/sane/config.h.in"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0302.html">Karl Heinz Kremer: "Re: Current CVS: Typo in include/sane/config.h.in"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0308.html">Randolph Bentson: "Re: CVS build fails: backend/m3096g-scsi.h & backend/sp15c-scsi.h"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0308.html">Randolph Bentson: "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#303">[ date ]</A>
|
|
<A HREF="index.html#303">[ thread ]</A>
|
|
<A HREF="subject.html#303">[ subject ]</A>
|
|
<A HREF="author.html#303">[ 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>Sun Jan 30 2000 - 12:48:55 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|