kopia lustrzana https://gitlab.com/sane-project/website
111 wiersze
3.6 KiB
HTML
111 wiersze
3.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: Compilation error in net.c</TITLE>
|
|
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
|
|
<META NAME="Subject" CONTENT="Compilation error in net.c">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Compilation error in net.c</H1>
|
|
<!-- received="Fri Mar 30 08:16:49 2001" -->
|
|
<!-- isoreceived="20010330161649" -->
|
|
<!-- sent="Fri, 30 Mar 2001 18:28:41 +0200" -->
|
|
<!-- isosent="20010330162841" -->
|
|
<!-- name="Henning Meier-Geinitz" -->
|
|
<!-- email="hmg-ml@gmx.de" -->
|
|
<!-- subject="Compilation error in net.c" -->
|
|
<!-- id="20010330182841.A17162@vortex.swb.de" -->
|
|
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20Compilation%20error%20in%20net.c&In-Reply-To=<20010330182841.A17162@vortex.swb.de>"><EM>hmg-ml@gmx.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Fri Mar 30 2001 - 08:28:41 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">JFL Sane Dev: "test, please ignore"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">hkantola+sane@cc.helsinki.fi: "Re: Xsane build problems"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#245">[ date ]</A>
|
|
<A HREF="index.html#245">[ thread ]</A>
|
|
<A HREF="subject.html#245">[ subject ]</A>
|
|
<A HREF="author.html#245">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi,
|
|
<BR>
|
|
<P>I just tried to compile the current CVS sane-backends on Irix 6.2 and
|
|
<BR>
|
|
got the following error message:
|
|
<BR>
|
|
<P>gmake[1]: Entering directory /tmp/sane-backends/backend'
|
|
<BR>
|
|
rm -f .libs/net.lo
|
|
<BR>
|
|
cc -c -g -DHAVE_CONFIG_H -I. -I. -I../include -I../include
|
|
<BR>
|
|
-D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/tmp/sane-bin/etc/sane.d
|
|
<BR>
|
|
-DPATH_SANE_DATA_DIR=/tmp/sane-bin/share -DV_MAJOR=1 -DV_MINOR=0
|
|
<BR>
|
|
-DBACKEND_NAME=net -DLIBDIR=/tmp/sane-bin/lib/sane net.c -DPIC -o
|
|
<BR>
|
|
.libs/net.lo
|
|
<BR>
|
|
cfe: Error: net.c, line 811: Syntax Error
|
|
<BR>
|
|
socklen_t len;
|
|
<BR>
|
|
------------^
|
|
<BR>
|
|
gmake[1]: *** [net.lo] Error 1
|
|
<BR>
|
|
<P>socklen_t doesn't seem to be known. Man getpeername on this platform
|
|
<BR>
|
|
says:
|
|
<BR>
|
|
<P> int getpeername (int s, struct sockaddr *name, int *namelen);
|
|
<BR>
|
|
<P>So some kind of magic (in configure.in?) may be neccessary.
|
|
<BR>
|
|
<P>By the way: Compilations on AIX and Solaris worked fine and after
|
|
<BR>
|
|
changing socklen_t to int the Irix compilation also worked.
|
|
<BR>
|
|
<P>Bye,
|
|
<BR>
|
|
Henning
|
|
<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:%20Compilation%20error%20in%20net.c&In-Reply-To=<20010330182841.A17162@vortex.swb.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">JFL Sane Dev: "test, please ignore"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">hkantola+sane@cc.helsinki.fi: "Re: Xsane build problems"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#245">[ date ]</A>
|
|
<A HREF="index.html#245">[ thread ]</A>
|
|
<A HREF="subject.html#245">[ subject ]</A>
|
|
<A HREF="author.html#245">[ 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>Fri Mar 30 2001 - 08:17:09 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|