| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
...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:
Note: I've installed libgcj4-dev (to obtain jni.h and libgcj-config.h). I'm running on debian unstable using gcc 3.3.4. I try with gcc-2.95 (but still not work).
I don't find anything that could tell me where is the problem (or what I read is that it's a problem in the order of the '#include').
What do you get when you do the following:
cat > test.c #include <sys/types.h> ^D
cc -c test.c
(This compiled without error on my Debian-ppc system.)
Roger. _______________________________________________ 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.
| References: | |
| >Java rendezvous classes and linux (From: Peignier Timothee <email@hidden>) | |
| >Re: Java rendezvous classes and linux (From: Roger Pantos <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.