I'm running 10.4.6 and using the 10.4-transitional distribution with  
Xcode 2.2.1 installed (legacy tools too).

Typing "gcc" on the command line produces

        powerpc-apple-darwin8-gcc-4.0.1: no input files

My current installation has ansi.h for 10.39 here

        /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/ 
Kernel.framework/Versions/A/Headers/machine/ansi.h

For 10.4, there is no ansi.h here (in fact there is no ansi.h in  
MacOSX10.4u.sdk at all) ...

        ls /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
Kernel.framework/Versions/A/Headers/machine/

        _limits.h  _types.h  byte_order.h  endian.h  limits.h  locks.h   
machine_routines.h  param.h  signal.h  spl.h  types.h  vmparam.h

What have I got wrong?

TIA

----------------------------------
bens-powerbook:~ bpabbott$ fink rebuild pdftk
Password:
Information about 5784 packages read in 6 seconds.
The following package will be rebuilt:
pdftk
<snip>
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
83:26: error: machine/ansi.h: No such file or directory
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
127: error: '_BSD_CLOCK_T_' does not name a type
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
141: error: '_BSD_SSIZE_T_' does not name a type
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
146: error: '_BSD_TIME_T_' does not name a type
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
216: error: redefinition of 'struct _opaque_pthread_t'
/usr/include/sys/_types.h:74: error: previous definition of 'struct  
_opaque_pthread_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
216: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
216: error: conflicting declaration 'typedef int* pthread_t'
/usr/include/pthread.h:109: error: 'pthread_t' has a previous  
declaration as 'typedef struct _opaque_pthread_t* pthread_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
218: error: redefinition of 'struct _opaque_pthread_attr_t'
/usr/include/sys/_types.h:66: error: previous definition of 'struct  
_opaque_pthread_attr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
218: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
218: error: conflicting declaration 'typedef int pthread_attr_t'
/usr/include/pthread.h:64: error: 'pthread_attr_t' has a previous  
declaration as 'typedef struct __darwin_pthread_attr_t pthread_attr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
220: error: redefinition of 'struct _opaque_pthread_mutexattr_t'
/usr/include/sys/_types.h:70: error: previous definition of 'struct  
_opaque_pthread_mutexattr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
220: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
220: error: conflicting declaration 'typedef int pthread_mutexattr_t'
/usr/include/pthread.h:89: error: 'pthread_mutexattr_t' has a  
previous declaration as 'typedef struct __darwin_pthread_mutexattr_t  
pthread_mutexattr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
222: error: redefinition of 'struct _opaque_pthread_mutex_t'
/usr/include/sys/_types.h:69: error: previous definition of 'struct  
_opaque_pthread_mutex_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
222: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
222: error: conflicting declaration 'typedef int pthread_mutex_t'
/usr/include/pthread.h:84: error: 'pthread_mutex_t' has a previous  
declaration as 'typedef struct __darwin_pthread_mutex_t pthread_mutex_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
224: error: redefinition of 'struct _opaque_pthread_condattr_t'
/usr/include/sys/_types.h:68: error: previous definition of 'struct  
_opaque_pthread_condattr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
224: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
224: error: conflicting declaration 'typedef int pthread_condattr_t'
/usr/include/pthread.h:74: error: 'pthread_condattr_t' has a previous  
declaration as 'typedef struct __darwin_pthread_condattr_t  
pthread_condattr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
226: error: redefinition of 'struct _opaque_pthread_cond_t'
/usr/include/sys/_types.h:67: error: previous definition of 'struct  
_opaque_pthread_cond_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
226: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
226: error: conflicting declaration 'typedef int pthread_cond_t'
/usr/include/pthread.h:69: error: 'pthread_cond_t' has a previous  
declaration as 'typedef struct __darwin_pthread_cond_t pthread_cond_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
228: error: redefinition of 'struct _opaque_pthread_rwlockattr_t'
/usr/include/sys/_types.h:73: error: previous definition of 'struct  
_opaque_pthread_rwlockattr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
228: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
228: error: conflicting declaration 'typedef int pthread_rwlockattr_t'
/usr/include/pthread.h:104: error: 'pthread_rwlockattr_t' has a  
previous declaration as 'typedef struct __darwin_pthread_rwlockattr_t  
pthread_rwlockattr_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
230: error: redefinition of 'struct _opaque_pthread_rwlock_t'
/usr/include/sys/_types.h:72: error: previous definition of 'struct  
_opaque_pthread_rwlock_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
230: error: invalid type in declaration before ';' token
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
230: error: conflicting declaration 'typedef int pthread_rwlock_t'
/usr/include/pthread.h:99: error: 'pthread_rwlock_t' has a previous  
declaration as 'typedef struct __darwin_pthread_rwlock_t  
pthread_rwlock_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/types.h: 
232: error: conflicting declaration 'typedef struct pthread_once_t  
pthread_once_t'
/usr/include/pthread.h:94: error: 'pthread_once_t' has a previous  
declaration as 'typedef struct __darwin_pthread_once_t pthread_once_t'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/sys/signal.h: 
289: error: redefinition of 'struct sigaltstack'
/usr/include/sys/_types.h:146: error: previous definition of 'struct  
sigaltstack'
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/stdlib.h:88:  
error: '_BSD_CT_RUNE_T_' does not name a type
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/stdlib.h:93:  
error: '_BSD_RUNE_T_' does not name a type
/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin7/4.1.0/include/stdlib.h: 
118: error: '_BSD_WINT_T_' does not name a type
make: *** [pdftk.o] Error 1
### execution of cd failed, exit code 2
Removing build lock...
----------------------------------


_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to