Re: atexit

2001-09-30 Thread Eric G. Miller
On 30 Sep 2001 12:26:59 -0400, Derek L Davies <[EMAIL PROTECTED]> wrote: > > I get this: > > gcc ae.c -o ae > /tmp/ccu0o440.o: In function `main': > /tmp/ccu0o440.o(.text+0x37): undefined reference to `atexit' > collect2: ld returned 1 exit status > > with my test program. A similar test using

Re: atexit

2001-09-30 Thread Derek L Davies
I get this: gcc ae.c -o ae /tmp/ccu0o440.o: In function `main': /tmp/ccu0o440.o(.text+0x37): undefined reference to `atexit' collect2: ld returned 1 exit status with my test program. A similar test using on_exit works as expected. My stdlib.h has: /* Register a function to be called when `exi

Re: atexit

2001-09-30 Thread Colin Watson
On Sun, Sep 30, 2001 at 11:02:39AM -0400, Derek L Davies wrote: > I've been having problems with atexit for a long time now. I've tried > various ways to figure out what's going on without luck. > > It looks like somewhere along the line atexit disappeared from libc6 > . I know on_exit does what

Re: atexit

2001-09-30 Thread Eric G. Miller
What makes you think it's not in libc6? The "atexit" function is declared in stdlib.h. $ grep atexit /usr/include/stdlib.h extern int atexit (void (*__func) (void)) __THROW; /* Call all functions registered with `atexit' and `on_exit', functions registered with `atexit' or `on_exit'. */ $ nm

Re: atexit

2001-08-14 Thread Colin Watson
On Mon, Aug 13, 2001 at 04:54:14PM +0200, Gabor Gludovatz wrote: > since I upgraded libc6 to its newest version, a lot of binaries stopped to > work. It's not a problem for solid-pop3d or exim, which I simply upgraded > to their newest version, but it is a problem with mcafee uvscan and sophos > an