Re: Latest CVS doesnt compile

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

 



Here is a patch for this. I also included some changes to help the MS_VC/Mingw build

Changelog: 
include and porting fix (reported by Ian Goldby)


Index: gdbproxy.c
===================================================================
RCS file: /home/wine/wine/programs/winedbg/gdbproxy.c,v
retrieving revision 1.11
diff -u -r1.11 gdbproxy.c
--- gdbproxy.c	13 May 2003 03:38:19 -0000	1.11
+++ gdbproxy.c	7 Sep 2003 02:42:48 -0000
@@ -33,13 +33,22 @@
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdarg.h>
+#ifdef HAVE_SYS_POLL_H
 #include <sys/poll.h>
+#endif
+#ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
+#endif
 #ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
+#include <sys/socket.h>
 #endif
+#ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
+#ifdef HAVE_NETINET_TCP_H
 #include <netinet/tcp.h>
+#endif
 #include <unistd.h>
 
 #include "windef.h"


--- Ian Goldby <img-list@ntlworld.com> wrote:
> On Saturday 06 Sep 2003 06:32, Sylvain Petreolle wrote:
> > Thanks, that fixed the problem.
> > I see that you added the dependancy to re-generate  testlist.c. :)
> >
> > > You can remove the testlist.c files and they will be regenerated
> > > correctly. Or simply do a make clean.
> 
> Didn't work for me. I tried removing the testlist.c files, make clean, and 
> when they both failed, make distclean followed by cvs update (just to make 
> sure) ./configure, make depend && make.
> 
> The error is:
> 
> make[2]: Entering directory `/home/ian/winecvs/programs/winedbg'
> <lines omitted for brevity>
> gcc -c -I. -I. -I../../include -I../../include  -D_REENTRANT -fPIC  -Wall 
> -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  
> -g -O2 -o gdbproxy.o gdbproxy.c
> In file included from gdbproxy.c:46:
> ../../include/winbase.h:1323: parse error before "va_list"
> ../../include/winbase.h:1324: parse error before "va_list"
> make[2]: *** [gdbproxy.o] Error 1
> make[2]: Leaving directory `/home/ian/winecvs/programs/winedbg'
> make[1]: *** [winedbg] Error 2
> make[1]: Leaving directory `/home/ian/winecvs/programs'
> make: *** [programs] Error 2
> 
> and occurs 2-3 hours into the build. Thanks for any further suggestions.
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux