get an error when trying to compile dsocks on 10.3.9. see joined file. it seems a problem of headers.
Regards Julien
---> Fetching dsocks ---> Verifying checksum(s) for dsocks ---> Checksumming dsocks-1.6.tar.gz ---> Extracting dsocks ---> Extracting dsocks-1.6.tar.gz ---> Applying patches to dsocks ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/dsocks/files/patch-dsocks.sh patching file dsocks.sh ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/dsocks/files/patch-dsocks-torify.sh patching file dsocks-torify.sh ---> Configuring dsocks ---> Building dsocks with target all Warning: Object directory not changed from original /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsocks/work/dsocks-1.6 cc -g -Wall -O2 -nostdlib -flat_namespace -fno-common -undefined suppress -c dsocks.c -o dsocks.o In file included from dsocks.c:35: dsocks.h:13: error: parse error before "uint8_t" dsocks.h:13: warning: no semicolon at end of struct or union dsocks.h:14: warning: type defaults to `int' in declaration of `cd' dsocks.h:14: warning: data definition has no type or storage class dsocks.h:15: error: parse error before "dport" dsocks.h:15: warning: type defaults to `int' in declaration of `dport' dsocks.h:15: warning: data definition has no type or storage class dsocks.h:16: error: parse error before "dst" dsocks.h:16: warning: type defaults to `int' in declaration of `dst' dsocks.h:16: warning: data definition has no type or storage class dsocks.h:31: error: parse error before "uint8_t" dsocks.h:31: warning: no semicolon at end of struct or union dsocks.h:32: warning: type defaults to `int' in declaration of `nmeths' dsocks.h:32: warning: data definition has no type or storage class dsocks.h:33: error: parse error before "method" dsocks.h:33: warning: type defaults to `int' in declaration of `method' dsocks.h:33: warning: data definition has no type or storage class dsocks.h:37: error: parse error before "uint8_t" dsocks.h:37: warning: no semicolon at end of struct or union dsocks.h:38: warning: type defaults to `int' in declaration of `cmd' dsocks.h:38: warning: data definition has no type or storage class dsocks.h:39: error: parse error before "rsv" dsocks.h:39: warning: type defaults to `int' in declaration of `rsv' dsocks.h:39: warning: data definition has no type or storage class dsocks.h:40: error: parse error before "atyp" dsocks.h:40: warning: type defaults to `int' in declaration of `atyp' dsocks.h:40: warning: data definition has no type or storage class dsocks.h:41: error: parse error before "dst" dsocks.h:41: warning: type defaults to `int' in declaration of `dst' dsocks.h:41: warning: data definition has no type or storage class dsocks.h:42: error: parse error before "dport" dsocks.h:42: warning: type defaults to `int' in declaration of `dport' dsocks.h:42: warning: data definition has no type or storage class dsocks.c: In function `_sin_aton': dsocks.c:56: error: `uint32_t' undeclared (first use in this function) dsocks.c:56: error: (Each undeclared identifier is reported only once dsocks.c:56: error: for each function it appears in.) dsocks.c:56: error: parse error before "ip" dsocks.c:57: error: `uint16_t' undeclared (first use in this function) dsocks.c:62: error: `ip' undeclared (first use in this function) dsocks.c:63: error: `port' undeclared (first use in this function) dsocks.c: In function `_dsocks4_connect': dsocks.c:90: error: dereferencing pointer to incomplete type dsocks.c:94: error: dereferencing pointer to incomplete type dsocks.c:95: error: dereferencing pointer to incomplete type dsocks.c:96: error: dereferencing pointer to incomplete type dsocks.c:97: error: dereferencing pointer to incomplete type dsocks.c:98: error: dereferencing pointer to incomplete type dsocks.c:111: error: dereferencing pointer to incomplete type dsocks.c:113: error: dereferencing pointer to incomplete type dsocks.c: In function `_dsocks5_connect': dsocks.c:146: error: storage size of `auth' isn't known dsocks.c:147: error: storage size of `msg' isn't known dsocks.c:146: warning: unused variable `auth' dsocks.c:147: warning: unused variable `msg' dsocks.c: In function `_send_recv_timeout': dsocks.c:202: error: variable `tv' has initializer but incomplete type dsocks.c:202: warning: excess elements in struct initializer dsocks.c:202: warning: (near initialization for `tv') dsocks.c:202: warning: excess elements in struct initializer dsocks.c:202: warning: (near initialization for `tv') dsocks.c:202: error: storage size of `tv' isn't known dsocks.c:202: warning: unused variable `tv' *** Error code 1 Stop in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsocks/work/dsocks-1.6. Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsocks/work/dsocks-1.6" && bsdmake all " returned error 1 Command output: dsocks.c:56: error: for each function it appears in.) dsocks.c:56: error: parse error before "ip" dsocks.c:57: error: `uint16_t' undeclared (first use in this function) dsocks.c:62: error: `ip' undeclared (first use in this function) dsocks.c:63: error: `port' undeclared (first use in this function) dsocks.c: In function `_dsocks4_connect': dsocks.c:90: error: dereferencing pointer to incomplete type dsocks.c:94: error: dereferencing pointer to incomplete type dsocks.c:95: error: dereferencing pointer to incomplete type dsocks.c:96: error: dereferencing pointer to incomplete type dsocks.c:97: error: dereferencing pointer to incomplete type dsocks.c:98: error: dereferencing pointer to incomplete type dsocks.c:111: error: dereferencing pointer to incomplete type dsocks.c:113: error: dereferencing pointer to incomplete type dsocks.c: In function `_dsocks5_connect': dsocks.c:146: error: storage size of `auth' isn't known dsocks.c:147: error: storage size of `msg' isn't known dsocks.c:146: warning: unused variable `auth' dsocks.c:147: warning: unused variable `msg' dsocks.c: In function `_send_recv_timeout': dsocks.c:202: error: variable `tv' has initializer but incomplete type dsocks.c:202: warning: excess elements in struct initializer dsocks.c:202: warning: (near initialization for `tv') dsocks.c:202: warning: excess elements in struct initializer dsocks.c:202: warning: (near initialization for `tv') dsocks.c:202: error: storage size of `tv' isn't known dsocks.c:202: warning: unused variable `tv' *** Error code 1 Stop in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsocks/work/dsocks-1.6. Warning: the following items did not execute (for dsocks): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users