Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: pine 3.96 compilation with gcc 2.7.2.3



On Sat, Nov 22, 1997 at 04:11:30PM +0900, Craig Oda wrote:

> cc   -g -DDEBUG  -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -DKANJI -DHELPFILE -DCANNA -I/usr/include/canna   -c os.c -o os.o
> os.c:1064: conflicting types for `sys_errlist'
> /usr/include/stdio.h:221: previous declaration of `sys_errlist'
> os.c: In function `post_reap':
> os.c:1765: warning: passing arg 2 of `waitpid' from incompatible pointer type
> make: *** [os.o] Error 1



Pine probably defines these types explicitly; I would guess that the
declaration changed between libc5 and libc6.  In libc5, the definition
in os.c was the same as in stdio.h; in libc6 they aren't.  If pine was
using an autoconf generated configure, it could have checked if there
was a definition of sys_errlist et al before defining them itself. :-)

You can probably hack around this by looking at the declaration of
sys_errlist in os.c.  Removing it would be easiest.

You can most likely just ignore the waitpid noise.

Jason
---------------------------------------------------------------
TLUG Meeting Dec. 13, 12:30 at Tokyo station Yaesu Chuo ticket gate
13:30 Starbuck's coffee.  13:45 HSBC | info: joem@example.com
At least 3 functional Sparc IPC machines will be raffled out
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links