This looks like the same problem with building on OSX - so I guess this is a general BSD build issue:

https://sourceforge.net/tracker/?func=detail&atid=104866&aid=789594&group_id=4866

Here's the pertinent information you need to make it work - not sure which variable we can use to detect both OSX and regular FreeBSD though. I'm no C programmer. :)

In ../common/wkcommon.h, I added...


#if defined(__APPLE__)
#include <netinet/in.h>
#include <nameser.h>
#endif


...immediately before...


#include <resolv.h>

vic

On Tuesday, October 7, 2003, at 08:09 AM, Ronan Lucio wrote:

Hello All,

I'm trying to install Webware/Webkit in FreeBSD-4.8-RELEASE
box, but, when I do:

--------------------------
# cd /usr/src/Webware-0.8.1/WebKit/Adapters/wkcgi
# make
cc -02 -c ./wkcgi.c -o ./wkcgi.o
in file included from ../common/wkcommon.h:20,
from wkcgi.h:6,
from ./wkcgi.c:5:
/usr/include/resolv.h:104: field `nsaddr_list' has incomplete type
/usr/include/resolv.h:114: field `addr' has incomplete type
/usr/include/resolv.h:129: field `ina' has incomplete type
/usr/include/resolv.h:130: field `in6a' has incomplete type
*** Error code 1

Stop in /usr/src/Webware-0.8.1/WebKit/Adapters/wkcgi.
--------------------------

Any help would be appreciated
Thanks

Ronan


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to