[kaffe] Makefile output when i run it in Windows2000, solved in one way, is it Right???

Muthuswamy R muthuswamyr@aztec.soft.net
Mon, 19 Aug 2002 19:38:15 +0530


Hi, 
	Actually there are two files included in syscalls.c
	namely,
		config-net.h (which in turn includes netdb.h) and nets.h
	both has a definition for h_errno.

	So didn't use the method u described, as including config-hacks.h,
	but removed nets.h and checked.
	
	it properly did the make
	and did my make install, which has run ok
	
Dont know whether it is correct.

But thx for your help
muthu.
   

-----Original Message-----
From: Dalibor Topic [mailto:robilad@yahoo.com]
Sent: Friday, August 16, 2002 2:22 PM
To: Muthuswamy R
Cc: 'kaffe@kaffe.org'
Subject: RE: [kaffe] Makefile output when i run it in Windows2000, just
he lp me in thi s



--- Muthuswamy R <muthuswamyr@aztec.soft.net> wrote:
> Hi,
>    The addition of config-hacks.h as defined in  
> 
>
http://www.kaffe.org/pipermail/kaffe/2000-June/006708.html
>    is not working.
>    the content of config-hacks.h looks like this,
> where it includes
> winsock2.h
> 	#if defined(__WIN32__)
> 	#if defined(HAVE_WINSOCK2_H)
> 	 #include <winsock2.h>
> 	#if _MSC_VER < 1200
> 	#define HAVE_INT32 1
> 	#endif
> 	#endif	
>    but the HAVE_WINSOCK2_H doesn't look like is
> defined in the config.
> because of 
>    which the file is not getting included.

The easy solution would be to add #include <winsock.h>
and/or #include <winsock2.h> to config/config.h. Just
make sure they are really in your include search path.

The better solution would be to try to figure out why
configurre fails. Take a look at config.log and see
what it says for winsock.

best regards,

dalibor topic

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com