Bug#435021: libc6.1-dev: [alpha] unistd.h does not contain exit() prototype
hey Roos,
I'm new in all these. I subscribed to the mailing list hopefully}
that I could be useful in something. Is there a way I can help with the
exit() function. I mean could you give me the appropriate file to add
the exit() function? I will try at least. Check from stdlib and I think i may do
something.
thanks
On 28/07/07, Meelis Roos <
mroos@linux.ee> wrote:Subject: libc6.1-dev: [alpha] unistd.h does not contain exit() prototype
Package: libc6.1-dev
Version: 2.6-4
Severity: normal
*** Please type your report below this line ***
mroos@alpha:~$ cat exittest.c
#include <unistd.h>
int main ()
{
exit(0);
}
mroos@alpha:~$ LANG=C gcc -o exittest exittest.c
exittest.c: In function 'main':
exittest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
So it seems that unistd.h
does not contain exit() prototype on alpha.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: alpha
Kernel: Linux 2.6.22-1-alpha-generic
Locale: LANG=et_EE.ISO-8859-15, LC_CTYPE=et_EE.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6.1-dev depends on:
ii
libc6.1 2.6-4 GNU C Library: Shared libraries
ii linux-libc-dev 2.6.22-2 Linux Kernel Headers for developme
Versions of packages libc6.1-dev recommends:
ii gcc [c-compiler] 4:
4.1.2-3 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.2-14 The GNU C compiler
-- no debconf information
--
Meelis Roos (mroos@linux.ee)
--
To UNSUBSCRIBE, email to debian-glibc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
--
Against the famine and the crown,
I rebelled, they cut me down.
Reply to: