I found the problem, it's in patch-aa witch adds in front of pty.c file's begin this line: #include <sys/types.h> i don't found why, but this create the problem in glibc headers, when probably test about strdup() in bits/string2.h runs too early, and __need_malloc_and_calloc definition was be set. This i test on glibc-2.3.6 and glibc-2.5. build without this fisrt patch line, all work fine on linux. litle note: there is vte-0.16.5 ;) On Tue, 29 May 2007 11:55:00 +0000 (UTC) pkgsrc%blackmouse.biz@localhost wrote: > >Environment: > Linux ip1 2.6.20.1 #3 Thu Mar 8 18:42:01 CET 2007 i686 athlon-4 i386 GNU/Linux > >Description: > pty.c: In function `_vte_pty_ptsname': > pty.c:534: error: implicit declaration of function `ptsname_r' > pty.c:534: warning: nested extern declaration of `ptsname_r' > pty.c: In function `_vte_pty_getpt': > pty.c:572: error: implicit declaration of function `getpt' > pty.c:572: warning: nested extern declaration of `getpt' > pty.c: In function `_vte_pty_grantpt': > pty.c:591: error: implicit declaration of function `grantpt' > pty.c:591: warning: nested extern declaration of `grantpt' > pty.c: In function `_vte_pty_unlockpt': > pty.c:601: error: implicit declaration of function `unlockpt' > pty.c:601: warning: nested extern declaration of `unlockpt' > make[2]: *** [pty.lo] Error 1 > make[2]: Leaving directory `/usr/pkgsrc/x11/vte/work/vte-0.16.1/src' -- Ondřej Tůma Unix-like system is the best operation system from the top of the world. I'm lucky BSD and linux user. :) Use unix-like, be free. :) www.blackmouse.biz hash.webjet.cz ICQ: 107760454 JABBER: mcbig%jabber.cz@localhost MSN: ondra.tu%atlas.cz@localhost
Attachment:
pgpBvHJ7jE3xW.pgp
Description: PGP signature