wine's winhelp doesn't compile

gerard patel g.patel at wanadoo.fr.invalid
Fri Nov 30 07:14:00 CST 2001


On Wed, 28 Nov 2001 18:19:05 +0100 (CET),
=?iso-8859-1?q?Sylvain=20Petreolle?= <spetreolle at yahoo.fr> wrote:

>Hi,
>
>using latest cvs code,
>i can't compile the winhelp program.
>There's a conflict for the gethostname fonction :
>
>gcc -c -I. -I. -I../../include -I../../include  -g -O2
>-Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT
>-DNONAMELESSUNION -DNONAMELESSSTRUCT  -D_REENTRANT
>-I/usr/X11R6/include -o lex.yy.o lex.yy.c
>In file included from ../../include/winsock2.h:30,
>                 from ../../include/windows.h:39,
>                 from macro.h:7,
>                 from ./macro.lex.l:10:
>../../include/winsock.h:886: conflicting types for
>`gethostname'
>/usr/include/unistd.h:734: previous declaration of `gethostname'

All I can say is that the thing compiles for me - useless as it
is- under gcc 2.96 (not the RedHat special edition :-)) with
cvs as of this morning (30 nov 2001)

Gerard



More information about the wine-users mailing list