This looks like the same issue that the MacPorts users saw...

http://www.nabble.com/gcc4.4-installation-error-td23734575.html

when a stray copy of gmp is installed in /usr/local. Keep in mind
that you can't mix fink with MacPorts and shouldn't install
development libraries in /usr/local when they are already available
in fink.
               Jack

On Mon, Jul 27, 2009 at 02:00:26PM -0700, Leandro Oliveira wrote:
> Hi All,
>
>     I had the following problem using "fink selfupdate" && "fink  
> update-all".
>
> =========================
> ...
> libtool: link:  
> /sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/./gcc/xgcc  
> -B/sw/src/fink.build/gcc44-4.4.0-1000/darwin_objdir/./gcc/  
> -B/sw/lib/gcc4.4/i686-apple-darwin9/bin/  
> -B/sw/lib/gcc4.4/i686-apple-darwin9/lib/ -isystem  
> /sw/lib/gcc4.4/i686-apple-darwin9/include -isystem  
> /sw/lib/gcc4.4/i686-apple-darwin9/sys-include -dynamiclib  -o  
> .libs/libjavamath.dylib  .libs/gnu_java_math_GMP.o  
> ../../../native/jni/classpath/.libs/jcl.o   /usr/local/lib/libgmp.a     
> -install_name  /sw/lib/gcc4.4/lib/gcj-4.4.0-10/libjavamath.dylib   
> -Wl,-single_module
> ld warning: codegen in ___gmpn_popcount (offset 0x00000007) prevents  
> image from loading in dyld shared cache
> ld warning: codegen in ___gmpn_popcount (offset 0x0000000E) prevents  
> image from loading in dyld shared cache
> ld warning: codegen in ___gmpn_popcount (offset 0x00000015) prevents  
> image from loading in dyld shared cache
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n  
> from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use  
> '-read_only_relocs suppress' to enable text relocs
> collect2: ld returned 1 exit status
> make[6]: *** [libjavamath.la] Error 1
> make[5]: *** [all-recursive] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-target-libjava] Error 2
> make: *** [all] Error 2
> ### execution of /var/tmp/tmp.1.B169P2 failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.0-1000
> (Reading database ... 62133 files and directories currently installed.)
> Removing fink-buildlock-gcc44-4.4.0-1000 ...
> Failed: phase compiling: gcc44-4.4.0-1000 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:
>
>     Jack Howarth <howa...@bromo.med.uc.edu>
>
> 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.
>
> ==========================
>     How to fix it?
>     I'm using MacOsX 10.5.7 and fink unstable.
>
> All the best,
>
> -
> Leandro de Oliveira

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to