On Sun, Mar 14, 2010 at 06:37:39PM +0100, Daniel Kvasni??ka wrote: > first thanks to all the people working on porting JDK to Mac. I'm sure > all javists who love their PowerPC beasts love you too :) > > I tried to compile OpenJDK 7 according to instructions described at > http://landonf.bikemonkey.org/code/java/OpenJDK_7_PPC.20091205.html > and I'm getting a syntax error (see the attached TXT file).
Looks like I partially botched the last merge. Let me see if I can fix that up. > I am using the latest sources (as of yesterday, tried to pull changes > today and there were none). > > Am I doing something wrong or is there really a syntax error? > > (I want to compile from sources because I need a version without the > bug that causes GlassFish v3 admin console to fail when loading) > > Dan > > -- > http://www.danielkvasnicka.net -- webdesign, programov?n? > internetov?ch a intranetov?ch aplikac? | web applications development > & design > http://blog.danielkvasnicka.net/ -- blog > In file included from > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:28: > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: error: syntax error > before ???*??? tokenIn file included from > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:30: > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: type > defaults to ???int??? in declaration of ???nio_sctp_getladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: type > defaults to ???int??? in declaration of ???nio_sctp_freeladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: type > defaults to ???int??? in declaration of ???nio_sctp_getpaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: type > defaults to ???int??? in declaration of ???nio_sctp_freepaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: type > defaults to ???int??? in declaration of ???nio_sctp_bindx??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: type > defaults to ???int??? in declaration of ???nio_sctp_peeloff??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error > before ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: type > defaults to ???int??? in declaration of ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: data > definition has no type or storage class > > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: type > defaults to ???int??? in declaration of ???nio_sctp_getladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:337: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: type > defaults to ???int??? in declaration of ???nio_sctp_freeladdrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:338: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: type > defaults to ???int??? in declaration of ???nio_sctp_getpaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:339: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: type > defaults to ???int??? in declaration of ???nio_sctp_freepaddrs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:340: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: type > defaults to ???int??? in declaration of ???nio_sctp_bindx??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:341: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: type > defaults to ???int??? in declaration of ???nio_sctp_peeloff??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:342: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error > before ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: syntax error > before ???*??? token > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: type > defaults to ???int??? in declaration of ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:60: error: conflicting > types for ???loadSocketExtensionFuncs??? > ../../../../../src/solaris/native/sun/nio/ch/Sctp.h:355: error: previous > declaration of ???loadSocketExtensionFuncs??? was here > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???loadSocketExtensionFuncs???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: > ???sctp_getladdrs_func??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: (Each > undeclared identifier is reported only once > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: for each > function it appears in.) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:68: error: syntax > error before ???)??? token > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:69: error: syntax > error before ???,??? token > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:75: error: syntax > error before ???if??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: warning: type > defaults to ???int??? in declaration of ???funcsLoaded??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: error: > conflicting types for ???funcsLoaded??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:44: error: previous > definition of ???funcsLoaded??? was here > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:111: warning: data > definition has no type or storage class > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:112: error: syntax > error before ???return??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_socket0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:172: error: storage > size of ???event??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:184: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:200: error: > ???SCTP_EVENTS??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_bindx???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:237: error: > ???SCTP_BINDX_ADD_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:238: error: > ???SCTP_BINDX_REM_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:238: error: called > object ???nio_sctp_bindx??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_getLocalAddresses0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:359: error: called > object ???nio_sctp_getladdrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:375: error: called > object ???nio_sctp_freeladdrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:396: error: called > object ???nio_sctp_freeladdrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:401: error: syntax > error before ???sctp_assoc_t??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???getRemoteAddresses???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: error: ???fd??? > undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: error: ???id??? > undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:410: error: called > object ???nio_sctp_getpaddrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:412: error: ???env??? > undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:426: error: called > object ???nio_sctp_freepaddrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:447: error: called > object ???nio_sctp_freepaddrs??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???mapSocketOption???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: error: > ???SCTP_DISABLE_FRAGMENTS??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: warning: missing > initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:470: warning: (near > initialization for ???opts[0].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: error: > ???SCTP_EXPLICIT_EOR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: warning: missing > initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:471: warning: (near > initialization for ???opts[1].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: error: > ???SCTP_FRAGMENT_INTERLEAVE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: warning: missing > initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:472: warning: (near > initialization for ???opts[2].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: error: > ???SCTP_NODELAY??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: warning: missing > initializer > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:473: warning: (near > initialization for ???opts[3].level???) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_getIntOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:558: warning: pointer > targets in passing argument 5 of ???NET_GetSockOpt??? differ in signedness > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_getPrimAddrOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:577: error: storage > size of ???prim??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:579: error: request > for member ???ssp_addr??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:581: error: request > for member ???ssp_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:581: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: error: > ???SCTP_PRIMARY_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: warning: passing > argument 2 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:583: warning: passing > argument 3 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_setPrimAddrOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:599: error: storage > size of ???prim??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:600: error: request > for member ???ssp_addr??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:608: error: request > for member ???ssp_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:608: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: error: > ???SCTP_PRIMARY_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: warning: passing > argument 2 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: warning: passing > argument 3 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:610: warning: passing > argument 5 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_setPeerPrimAddrOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:623: error: storage > size of ???prim??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:632: error: request > for member ???sspp_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:632: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:633: error: request > for member ???sspp_addr??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:633: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:635: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:635: error: > ???SCTP_SET_PEER_PRIMARY_ADDR??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: warning: passing > argument 2 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: warning: passing > argument 3 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:636: warning: passing > argument 5 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_getInitMsgOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:649: error: storage > size of ???sctp_initmsg??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:653: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:653: error: > ???SCTP_INITMSG??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:654: warning: passing > argument 2 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:654: warning: passing > argument 3 of ???getsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:660: error: request > for member ???sinit_max_instreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:660: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:661: error: request > for member ???sinit_num_ostreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:661: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_setInitMsgOption0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:672: error: storage > size of ???sctp_initmsg??? isn???t known > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:674: error: request > for member ???sinit_max_instreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:674: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:675: error: request > for member ???sinit_num_ostreams??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:675: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:676: error: request > for member ???sinit_max_attempts??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:676: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:677: error: request > for member ???sinit_max_init_timeo??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:677: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:679: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:679: error: > ???SCTP_INITMSG??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: warning: passing > argument 2 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: warning: passing > argument 3 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:680: warning: passing > argument 5 of ???setsockopt??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_shutdown0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:696: error: invalid > application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:697: error: invalid > application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:720: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:720: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:721: error: > ???SCTP_SNDRCV??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:721: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:722: error: invalid > application of ???sizeof??? to incomplete type ???struct sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:726: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:726: warning: passing > argument 3 of ???memset??? makes integer from pointer without a cast > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: error: request > for member ???sinfo_assoc_id??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:729: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: request > for member ???sinfo_flags??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: request > for member ???sinfo_flags??? in something not a structure or union > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: > ???SCTP_EOF??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: error: invalid > operands to binary | > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:732: warning: > statement with no effect > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c: In function > ???Java_sun_nio_ch_SctpNet_branch0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:750: error: called > object ???nio_sctp_peeloff??? is not a function > ../../../../../src/solaris/native/sun/nio/ch/SctpNet.c:750: warning: ordered > comparison of pointer with integer zero > make[7]: *** > [/opt/bsd-port/build/bsd-ppc/tmp/sun/com.sun.nio.sctp/sctp/obj/SctpNet.o] > Error 1 > make[7]: *** Waiting for unfinished jobs.... > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???getControlData???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: > (Each undeclared identifier is reported only once > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: > for each function it appears in.) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:153: error: > ???SCTP_SNDRCV??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:157: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:158: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:159: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:159: error: > ???SCTP_UNORDERED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:161: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???setControlData???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:175: error: > ???IPPROTO_SCTP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:176: error: > ???SCTP_SNDRCV??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:177: error: > invalid application of ???sizeof??? to incomplete type ???struct > sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:181: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:184: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:187: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:190: error: > ???SCTP_UNORDERED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:194: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:205: warning: > ???struct sctp_send_failed??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:205: warning: > its scope is only this definition or declaration, which is probably not what > you want > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???handleSendFailed???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:212: error: > invalid application of ???sizeof??? to incomplete type ???struct > sctp_send_failed??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:214: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:217: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:220: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:270: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:271: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:271: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:279: warning: > ???struct sctp_assoc_change??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???handleAssocChange???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:283: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:284: error: > ???SCTP_COMM_UP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:287: error: > ???SCTP_COMM_LOST??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:290: error: > ???SCTP_RESTART??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:293: error: > ???SCTP_SHUTDOWN_COMP??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:296: error: > ???SCTP_CANT_STR_ASSOC??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:301: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:302: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:302: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:310: warning: > ???struct sctp_shutdown_event??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???handleShutdown???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:312: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:320: warning: > ???struct sctp_paddr_change??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???handlePeerAddrChange???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:323: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:326: error: > ???SCTP_ADDR_AVAILABLE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:329: error: > ???SCTP_ADDR_UNREACHABLE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:332: error: > ???SCTP_ADDR_REMOVED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:335: error: > ???SCTP_ADDR_ADDED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:338: error: > ???SCTP_ADDR_MADE_PRIM??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:342: error: > ???SCTP_ADDR_CONFIRMED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:347: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:350: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: At top level: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:359: warning: > ???union sctp_notification??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:370: warning: > ???union sctp_notification??? declared inside parameter list > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???handleNotification???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:371: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:372: error: > ???SCTP_SEND_FAILED??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:373: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:376: error: > ???SCTP_ASSOC_CHANGE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:377: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:379: error: > ???SCTP_SHUTDOWN_EVENT??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:380: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:382: error: > ???SCTP_PEER_ADDR_CHANGE??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:383: error: > dereferencing pointer to incomplete type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:387: warning: > passing argument 1 of ???handleUninteresting??? from incompatible pointer type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???Java_sun_nio_ch_SctpChannelImpl_receive0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:431: error: > invalid application of ???sizeof??? to incomplete type ???struct > sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:467: error: > ???MSG_NOTIFICATION??? undeclared (first use in this function) > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:487: warning: > passing argument 4 of ???handleNotification??? from incompatible pointer type > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c: In function > ???Java_sun_nio_ch_SctpChannelImpl_send0???: > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:522: error: > invalid application of ???sizeof??? to incomplete type ???struct > sctp_sndrcvinfo??? > ../../../../../src/solaris/native/sun/nio/ch/SctpChannelImpl.c:523: error: > invalid application of ???sizeof??? to incomplete type ???struct > sctp_sndrcvinfo??? > make[7]: *** > [/opt/bsd-port/build/bsd-ppc/tmp/sun/com.sun.nio.sctp/sctp/obj/SctpChannelImpl.o] > Error 1 > make[6]: *** [library_parallel_compile] Error 2 > make[5]: *** [all] Error 1 > make[4]: *** [all] Error 1 > make[3]: *** [all] Error 1 > make[2]: *** [all] Error 1 > make[1]: *** [jdk-build] Error 2 > make: *** [build_product_image] Error 2 > -- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@freebsd.org