Hello Henning,
I changed my gcc to 2.95-1 and I still had the same error. I tried kgcc
and still nothing.
Here is the chunk of code from stdlib.h:
extern int atexit (void (*__func) (void)) __THROW;
#ifdef __USE_MISC
/* Register a function to be called with the status
given to `exit' and the given argument. */
extern int __on_exit (void (*__func) (int __status, void *__arg), void
*__arg)
__THROW;
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
__THROW;
#endif
/* Call all functions registered with `atexit' and `on_exit',
in the reverse of the order in which they were registered
perform stdio cleanup, and terminate program execution with STATUS. */
extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
#ifdef __USE_ISOC99
/* Terminate the program with STATUS without calling any of the
functions registered with `atexit' or `on_exit'. */
extern void _Exit (int __status) __THROW __attribute__ ((__noreturn__));
#endif
> ----- Original Message -----
> From: "Henning Meier-Geinitz" <henning@meier-geinitz.de>
> To: <sane-devel@mostang.com>
> Sent: Saturday, July 07, 2001 10:49 AM
> Subject: Re: Compiling problems on Redhat 7.0
>
> > Hi,
> >
> > looks like you rellay don't have the function atexit(). As this seems
> > to be a pretty well known function I'm surprised.
> >
> > On Mon, Jul 02, 2001 at 09:26:14PM -0400, Matt wrote:
> > > Hi, thanks for replying, here is the low down on my computer.
> > > Redhat 7.0
> > > Kernel 2.2.18
> > > gcc ver 2.96.69
> >
> > If I remember correctly, this is a beta version never actually released.
> > I know of 2.95.x (x=0,1,2,3) and gcc 3.0. I'm not sure if this matters,
> > but maybe you can use another compiler (kgcc?).
> >
> > What's the result of "grep atexit /usr/include/stdlib.h"?
> >
> > Bye,
> > Henning
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 18:18:04 PDT