sane-project-website/old-archive/2001-07/0082.html

168 wiersze
6.1 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: Fw: Compiling problems on Redhat 7.0</TITLE>
<META NAME="Author" CONTENT="Matt (fedhead2@home.com)">
<META NAME="Subject" CONTENT="Re: Fw: Compiling problems on Redhat 7.0">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Fw: Compiling problems on Redhat 7.0</H1>
<!-- received="Sat Jul 7 18:14:37 2001" -->
<!-- isoreceived="20010708011437" -->
<!-- sent="Sat, 07 Jul 2001 21:22:03 -0400" -->
<!-- isosent="20010708012203" -->
<!-- name="Matt" -->
<!-- email="fedhead2@home.com" -->
<!-- subject="Re: Fw: Compiling problems on Redhat 7.0" -->
<!-- id="3B47B5BB.B7C58946@home.com" -->
<!-- inreplyto="000701c10743$98507ee0$7001a8c0@tower" -->
<STRONG>From:</STRONG> Matt (<A HREF="mailto:fedhead2@home.com?Subject=Re:%20Fw:%20Compiling%20problems%20on%20Redhat%207.0&In-Reply-To=&lt;3B47B5BB.B7C58946@home.com&gt;"><EM>fedhead2@home.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Jul 07 2001 - 18:22:03 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0083.html">david: "scanned image looks like it's been through a paper shredder"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0081.html">Henning Meier-Geinitz: "Re: SCSI problems with SANE 1.0.5, Linux 2.4.x and double buffering"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0084.html">mh: "Re: Fw: Compiling problems on Redhat 7.0"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0084.html">mh: "Re: Fw: Compiling problems on Redhat 7.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#82">[ date ]</A>
<A HREF="index.html#82">[ thread ]</A>
<A HREF="subject.html#82">[ subject ]</A>
<A HREF="author.html#82">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello Henning,
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;I changed my gcc to 2.95-1 and I still had the same error. I tried kgcc
<BR>
and still nothing.
<BR>
<P>Here is the chunk of code from stdlib.h:
<BR>
<P>extern int atexit (void (*__func) (void)) __THROW;
<BR>
<P>#ifdef __USE_MISC
<BR>
/* Register a function to be called with the status
<BR>
&nbsp;&nbsp;&nbsp;given to `exit' and the given argument. */
<BR>
extern int __on_exit (void (*__func) (int __status, void *__arg), void
<BR>
*__arg)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__THROW;
<BR>
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__THROW;
<BR>
#endif
<BR>
<P>/* Call all functions registered with `atexit' and `on_exit',
<BR>
&nbsp;&nbsp;&nbsp;in the reverse of the order in which they were registered
<BR>
&nbsp;&nbsp;&nbsp;perform stdio cleanup, and terminate program execution with STATUS. */
<BR>
extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
<BR>
<P>#ifdef __USE_ISOC99
<BR>
/* Terminate the program with STATUS without calling any of the
<BR>
&nbsp;&nbsp;&nbsp;functions registered with `atexit' or `on_exit'. */
<BR>
extern void _Exit (int __status) __THROW __attribute__ ((__noreturn__));
<BR>
#endif
<BR>
<P><P><EM>&gt; ----- Original Message -----
</EM><BR>
<EM>&gt; From: &quot;Henning Meier-Geinitz&quot; &lt;<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20Fw:%20Compiling%20problems%20on%20Redhat%207.0&In-Reply-To=&lt;3B47B5BB.B7C58946@home.com&gt;">henning@meier-geinitz.de</A>&gt;
</EM><BR>
<EM>&gt; To: &lt;<A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Fw:%20Compiling%20problems%20on%20Redhat%207.0&In-Reply-To=&lt;3B47B5BB.B7C58946@home.com&gt;">sane-devel@mostang.com</A>&gt;
</EM><BR>
<EM>&gt; Sent: Saturday, July 07, 2001 10:49 AM
</EM><BR>
<EM>&gt; Subject: Re: Compiling problems on Redhat 7.0
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; Hi,
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; looks like you rellay don't have the function atexit(). As this seems
</EM><BR>
<EM>&gt; &gt; to be a pretty well known function I'm surprised.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; On Mon, Jul 02, 2001 at 09:26:14PM -0400, Matt wrote:
</EM><BR>
<EM>&gt; &gt; &gt; Hi, thanks for replying, here is the low down on my computer.
</EM><BR>
<EM>&gt; &gt; &gt; Redhat 7.0
</EM><BR>
<EM>&gt; &gt; &gt; Kernel 2.2.18
</EM><BR>
<EM>&gt; &gt; &gt; gcc ver 2.96.69
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; If I remember correctly, this is a beta version never actually released.
</EM><BR>
<EM>&gt; &gt; I know of 2.95.x (x=0,1,2,3) and gcc 3.0. I'm not sure if this matters,
</EM><BR>
<EM>&gt; &gt; but maybe you can use another compiler (kgcc?).
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; What's the result of &quot;grep atexit /usr/include/stdlib.h&quot;?
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Bye,
</EM><BR>
<EM>&gt; &gt; Henning
</EM><BR>
<P><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:%20Fw:%20Compiling%20problems%20on%20Redhat%207.0&In-Reply-To=&lt;3B47B5BB.B7C58946@home.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0083.html">david: "scanned image looks like it's been through a paper shredder"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0081.html">Henning Meier-Geinitz: "Re: SCSI problems with SANE 1.0.5, Linux 2.4.x and double buffering"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0084.html">mh: "Re: Fw: Compiling problems on Redhat 7.0"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0084.html">mh: "Re: Fw: Compiling problems on Redhat 7.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#82">[ date ]</A>
<A HREF="index.html#82">[ thread ]</A>
<A HREF="subject.html#82">[ subject ]</A>
<A HREF="author.html#82">[ 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>Sat Jul 07 2001 - 18:18:04 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>