Re: netcat-openbsd
matthew sporleder <[email protected]> Sat, 7 Dec 2013 20:32:04 -0500
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.review |
|---|---|
| Message-ID | <CAHKF-AuG1=DLps=yOgtpLjhnuU_uADmu3XQ-1EHdXaYf5q9+hw@mail.gmail.com> |
I don't think the program itself is portable to os x. On 10.8 I get this: netcat.c: In function 'main': netcat.c:299: warning: comparison between pointer and integer netcat.c: In function 'set_common_sockopts': netcat.c:979: error: 'TCP_MD5SIG' undeclared (first use in this function) netcat.c:979: error: (Each undeclared identifier is reported only once netcat.c:979: error: for each function it appears in.) netcat.c: In function 'map_tos': netcat.c:1013: error: 'IPTOS_DSCP_AF11' undeclared (first use in this function) netcat.c:1014: error: 'IPTOS_DSCP_AF12' undeclared (first use in this function) netcat.c:1015: error: 'IPTOS_DSCP_AF13' undeclared (first use in this function) netcat.c:1016: error: 'IPTOS_DSCP_AF21' undeclared (first use in this function) netcat.c:1017: error: 'IPTOS_DSCP_AF22' undeclared (first use in this function) netcat.c:1018: error: 'IPTOS_DSCP_AF23' undeclared (first use in this function) netcat.c:1019: error: 'IPTOS_DSCP_AF31' undeclared (first use in this function) netcat.c:1020: error: 'IPTOS_DSCP_AF32' undeclared (first use in this function) netcat.c:1021: error: 'IPTOS_DSCP_AF33' undeclared (first use in this function) netcat.c:1022: error: 'IPTOS_DSCP_AF41' undeclared (first use in this function) netcat.c:1023: error: 'IPTOS_DSCP_AF42' undeclared (first use in this function) netcat.c:1024: error: 'IPTOS_DSCP_AF43' undeclared (first use in this function) netcat.c:1026: error: 'IPTOS_DSCP_CS0' undeclared (first use in this function) netcat.c:1027: error: 'IPTOS_DSCP_CS1' undeclared (first use in this function) netcat.c:1028: error: 'IPTOS_DSCP_CS2' undeclared (first use in this function) netcat.c:1029: error: 'IPTOS_DSCP_CS3' undeclared (first use in this function) netcat.c:1030: error: 'IPTOS_DSCP_CS4' undeclared (first use in this function) netcat.c:1031: error: 'IPTOS_DSCP_CS5' undeclared (first use in this function) netcat.c:1032: error: 'IPTOS_DSCP_CS6' undeclared (first use in this function) netcat.c:1033: error: 'IPTOS_DSCP_CS7' undeclared (first use in this function) netcat.c:1034: error: 'IPTOS_DSCP_EF' undeclared (first use in this function) readpassphrase.c:35: error: '_NSIG' undeclared here (not in a function) and with clang I get the same. On Sat, Dec 7, 2013 at 8:23 PM, Greg Troxel <[email protected]> wrote: > > on a mac (10.7): > > => Bootstrap dependency digest>=20010302: found digest-20121220 > ===> Creating toolchain wrappers for netcat-openbsd-1 > ERROR: gcc>=2.8.0 is not installed; can't buildlink files. > *** Error code 1 > ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk