dsocks compile error

markd at macports.org markd at macports.org
Mon Aug 13 08:51:58 PDT 2007


Boey Maun Suang <boeyms at macports.org> writes:
>> --->  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_d 
>> socks/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"
>
></snip>
>
>Hmm, I'm the maintainer, but I'm afraid I don't currently have a  
>Panther installation to test this build on to see what the problem  
>is.  If anybody else out there with a Panther installation could see  
>if they can reproduce the problem, I'd appreciate it greatly.

Here is what I get on 10.3:

DEBUG: Assembled 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'
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




More information about the macports-users mailing list