odcctools - possible on 10.3.9?

William Gallafent william at gallaf.net
Wed Jun 27 09:20:33 PDT 2007


When I attempt to install odcctools on 10.3.9, I see the 
following error with the default variant (I installed the 10.4u 
SDK in /Developer/SDKs to get past the initial problem):

ibookg4:~ williamg$ sudo port install odcctools
--->  Fetching odcctools
--->  Verifying checksum(s) for odcctools
--->  Extracting odcctools
--->  Configuring odcctools
--->  Building odcctools with target default
Error: Target com.apple.build returned: shell command " 
cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_odcctools/work/odcctools/odcctools" 
&& make default " returned error 2
Command output: ../include/mach/mach_host.h:874: error: parse 
error before "Reply_host_statistics"
../include/mach/mach_host.h:874: warning: type defaults to `int' 
in declaration of `Reply_host_statistics'
../include/mach/mach_host.h:874: warning: data definition has no 
type or storage class
../include/mach/mach_host.h:875: error: parse error 
before "Reply_host_request_notification"
../include/mach/mach_host.h:875: warning: type defaults to `int' 
in declaration of `Reply_host_request_notification'
../include/mach/mach_host.h:875: warning: data definition has no 
type or storage class
../include/mach/mach_host.h:876: error: parse error 
before "Reply_host_lockgroup_info"
../include/mach/mach_host.h:876: warning: type defaults to `int' 
in declaration of `Reply_host_lockgroup_info'
../include/mach/mach_host.h:876: warning: data definition has no 
type or storage class
In file included from ../include/mach/mach.h:68,
                 from allocate.c:26:
../include/mach/rpc.h:115: error: parse error 
before "vm_address_t"
../include/mach/rpc.h:115: warning: no semicolon at end of 
struct or union
../include/mach/rpc.h:119: error: conflicting types for 
`routine'
../include/mach/mig.h:114: error: previous declaration of 
`routine'
../include/mach/rpc.h:124: error: parse error before '}' token
In file included from allocate.c:26:
../include/mach/mach.h:80: warning: parameter names (without 
types) in function declaration
../include/mach/mach.h:92: error: parse error before '*' token
../include/mach/mach.h:95: error: parse error before '*' token
../include/mach/mach.h:97: error: parse error before '*' token
../include/mach/mach.h:99: error: parse error before '*' token
../include/mach/mach.h:102: error: parse error 
before "mach_msg_header_t"
../include/mach/mach.h:108: error: parse error 
before "mach_msg_header_t"
../include/mach/mach.h:118: error: parse error 
before "clock_res_t"
../include/mach/mach.h:120: error: parse error 
before "clock_res_t"
../include/mach/mach.h:123: error: parse error before "int"
../include/mach/vm_map.h:1012: error: storage size of 
`data_list' isn't known
make[1]: *** [allocate.o] Error 1
make: *** [libstuff] Error 2

Error: Status 1 encountered during processing.

If I try the 'nosdk' variant instead of the default variant, I 
hit the following instead:

--->  Fetching odcctools
--->  Verifying checksum(s) for odcctools
--->  Extracting odcctools
--->  Configuring odcctools
--->  Building odcctools with target default
Error: Target com.apple.build returned: shell command " 
cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_odcctools/work/odcctools/odcctools" 
&& make default " returned error 2
Command output: cd libstuff && make
gcc -Wall -Wno-long-double -Wno-import  -DHAVE_CONFIG_H   -I/opt/local/include -I..//include -I../include   -O2 -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic  -c -o 
allocate.o allocate.c
gcc -Wall -Wno-long-double -Wno-import  -DHAVE_CONFIG_H   -I/opt/local/include -I..//include -I../include   -O2 -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic  -c -o 
errors.o errors.c
gcc -Wall -Wno-long-double -Wno-import  -DHAVE_CONFIG_H   -I/opt/local/include -I..//include -I../include   -O2 -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic  -c -o 
arch.o arch.c
In file included from ../include/architecture/i386/fpu.h:123,
                 from /usr/include/mach/i386/thread_status.h:67,
                 from ../include/stuff/bytesex.h:51,
                 from ../include/stuff/arch.h:34,
                 from arch.c:30:
/usr/include/architecture/i386/sel.h:39: error: redefinition of 
`struct sel'
make[1]: *** [arch.o] Error 1
make: *** [libstuff] Error 2

Error: Status 1 encountered during processing.

Is it possible to build odcctools on 10.3.9? If so, any guidance 
on how to get past these blocks? If not, oh well, time for plan 
C ... :(

Thanks in advance!

-- 
Bill Gallafent.



More information about the macports-users mailing list