kopia lustrzana https://gitlab.com/sane-project/website
168 wiersze
6.1 KiB
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=<3B47B5BB.B7C58946@home.com>"><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> 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>
|
|
given to `exit' and the given argument. */
|
|
<BR>
|
|
extern int __on_exit (void (*__func) (int __status, void *__arg), void
|
|
<BR>
|
|
*__arg)
|
|
<BR>
|
|
__THROW;
|
|
<BR>
|
|
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
|
|
<BR>
|
|
__THROW;
|
|
<BR>
|
|
#endif
|
|
<BR>
|
|
<P>/* Call all functions registered with `atexit' and `on_exit',
|
|
<BR>
|
|
in the reverse of the order in which they were registered
|
|
<BR>
|
|
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>
|
|
functions registered with `atexit' or `on_exit'. */
|
|
<BR>
|
|
extern void _Exit (int __status) __THROW __attribute__ ((__noreturn__));
|
|
<BR>
|
|
#endif
|
|
<BR>
|
|
<P><P><EM>> ----- Original Message -----
|
|
</EM><BR>
|
|
<EM>> From: "Henning Meier-Geinitz" <<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20Fw:%20Compiling%20problems%20on%20Redhat%207.0&In-Reply-To=<3B47B5BB.B7C58946@home.com>">henning@meier-geinitz.de</A>>
|
|
</EM><BR>
|
|
<EM>> To: <<A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Fw:%20Compiling%20problems%20on%20Redhat%207.0&In-Reply-To=<3B47B5BB.B7C58946@home.com>">sane-devel@mostang.com</A>>
|
|
</EM><BR>
|
|
<EM>> Sent: Saturday, July 07, 2001 10:49 AM
|
|
</EM><BR>
|
|
<EM>> Subject: Re: Compiling problems on Redhat 7.0
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > Hi,
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > looks like you rellay don't have the function atexit(). As this seems
|
|
</EM><BR>
|
|
<EM>> > to be a pretty well known function I'm surprised.
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > On Mon, Jul 02, 2001 at 09:26:14PM -0400, Matt wrote:
|
|
</EM><BR>
|
|
<EM>> > > Hi, thanks for replying, here is the low down on my computer.
|
|
</EM><BR>
|
|
<EM>> > > Redhat 7.0
|
|
</EM><BR>
|
|
<EM>> > > Kernel 2.2.18
|
|
</EM><BR>
|
|
<EM>> > > gcc ver 2.96.69
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > If I remember correctly, this is a beta version never actually released.
|
|
</EM><BR>
|
|
<EM>> > 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>> > but maybe you can use another compiler (kgcc?).
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > What's the result of "grep atexit /usr/include/stdlib.h"?
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > Bye,
|
|
</EM><BR>
|
|
<EM>> > 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=<3B47B5BB.B7C58946@home.com>">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>
|