Forwarding to the list since it's not _my_ damned package.

-------- Original Message --------
Subject:        Re: problem building g77 was Re: [Fink-beginners] unable to
compile cernlib package
Date:   Wed, 1 Jul 2009 15:10:15 -0400
From:   Micheal LeVine <[email protected]>
To:     Alexander Hansen <[email protected]>
References:     <[email protected]>
<[email protected]>



Glad to oblige -- hope this is what you need

Micheal


gcc -c   -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DIN_GCC  
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long    -DHAVE_CONFIG_H -I/sw/include   -I. -I.
-I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/.
-I../../gcc-3.4.3/gcc/../include  ../../gcc-3.4.3/gcc/config/darwin.c
gcc -c   -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DIN_GCC  
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long    -DHAVE_CONFIG_H -I/sw/include   -I. -I.
-I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/.
-I../../gcc-3.4.3/gcc/../include  \
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c
../../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[2]: *** [host-darwin.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [profiledbootstrap] Error 2
### execution of /var/tmp/tmp.2.5iZWKi failed, exit code 2




On Jul 1, 2009, at 2:56 PM, Alexander Hansen wrote:

> Micheal LeVine wrote:
>> Hello --
>>
>> 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[2]: *** [host-darwin.o] Error 1
>> make[1]: *** [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 ...
> The fact that you are ultimately trying to get to cernlib-g77 is pretty
> much irrelevant, since you haven't gotten there.  You are having a
> problem with g77.
>
> It might be useful to see just a few lines before what you have
> posted--starting with the last line the compiler tried to run.
>
>
> -- 
> Alexander Hansen
> Fink User Liaison


-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to