I haven't tried building the Java stuff myself, but
while you're waiting for a more authoritative answer,
the problem with "size_t" reminds me of when
<sys/types.h> is not declared early enough or in the
right order.
If you do "man socket", synopis shows you
#include <sys/types.h>
#include <sys/socket.h>
Or if you try "man inet_aton", synopis says
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
These header files generally should be included in the
order shown or the build process may fail.
So while you're waiting for a better answer, you might
sniff around the source code and try moving
sys/types.h earlier in the include process.
(You also might want to make sure you have the current
CVS version. It seems like the authors have cleaned up
a lot of build issues on the various Posix systems
with the current CVS.)
By the way, any chance you're going to make packages
for Debian stable? :)
-Eric
> But I still have a problem when I try : make
os=linux Java
> When try to compile libjdns_sd.so, I obtain :
>
> cc -o build/prod/libjdns_sd.so
../mDNSShared/Java/JNISupport.c -I.
> -I../mDNSCore -I../mDNSShared -W -Wall
-DPID_FILE=\"/var/run/
> mdnsd.pid\"
> -DNOT_HAVE_SA_LEN -DUSES_NETLINK -Os
>-DMDNS_DEBUGMSGS=0 -fPIC -shared
> -lmdns -I/usr/include/linux -I/usr/include
-Iobjects/prod
>
> In file included from /usr/include/sys/types.h:266,
> from
../mDNSShared/Java/JNISupport.c:52:
> /usr/include/bits/pthreadtypes.h:50: error: parse
error before
> "size_t"
> /usr/include/bits/pthreadtypes.h:53: error: parse
error before
> "__stacksize"
> In file included from /usr/include/_G_config.h:44,
> from /usr/include/libio.h:32,
> from /usr/include/stdio.h:72,
> from
../mDNSShared/Java/JNISupport.c:59:
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.