After many attempts I am still stuck trying to build the cernlib2005-g77 package on MacOS 10.5.7 running on a G5 Powerbook.
I have Xcode 3.1.2 installed.
Any advice would be appreciated.
Following is a dump of the fink output from the first instance of an error. [The full dump is available on request]:
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:38: warning: 'struct sigaltstack' declared inside parameter list
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:38: warning: its scope is only this definition or declaration, which is probably not what you want
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:38: error: conflicting types for 'sigaltstack'
/usr/include/signal.h:89: error: previous declaration of 'sigaltstack' was here
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c: In function 'segv_handler':
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:67: error: 'struct __darwin_mcontext' has no member named 'ss'
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:116: error: 'struct __darwin_mcontext' has no member named 'es'
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:116: error: 'struct __darwin_mcontext' has no member named 'ss'
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c: In function 'darwin_rs6000_extra_signals':
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:130: warning: passing argument 1 of 'sigaltstack' from incompatible pointer type
make: *** [host-darwin.o] Error 1
make: *** [stage1_build] Error 2
make: *** [profiledbootstrap] Error 2
### execution of /var/tmp/tmp.2.5iZWKi failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-g77-3.4.3-14
(Reading database ... 6341 files and directories currently installed.)
Removing fink-buildlock-g77-3.4.3-14 ...
Updating the list of locally available binary packages.
New package: dists/stable/main/binary-darwin-powerpc/x11/openmotif3-bin_2.2.4-1_darwin-powerpc.deb
New package: dists/stable/main/binary-darwin-powerpc/x11/openmotif3-shlibs_2.2.4-1_darwin-powerpc.deb
New package: dists/stable/main/binary-darwin-powerpc/x11/openmotif3_2.2.4-1_darwin-powerpc.deb
Downloading the indexes of available packages in the binary distribution.
Reading Package Lists...
Building Dependency Tree...
Failed: phase compiling: g77-3.4.3-14 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:
Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.