[MacPorts] #24194: gcc42, gcc43, gcc44 won't compile on Snow Leopard - Configure Error checking for correct version of mpfr.h

MacPorts noreply at macports.org
Thu Mar 25 11:36:03 PDT 2010


#24194: gcc42, gcc43, gcc44 won't compile on Snow Leopard - Configure Error
checking for correct version of mpfr.h
-------------------------------+--------------------------------------------
 Reporter:  gvibe06@…          |       Owner:  mww@…            
     Type:  defect             |      Status:  new              
 Priority:  Normal             |   Milestone:                   
Component:  ports              |     Version:  1.8.2            
 Keywords:                     |        Port:  gcc44 gcc43 gcc42
-------------------------------+--------------------------------------------

Comment(by gvibe06@…):

 Replying to [comment:3 jmr@…]:
 > Works for me. Attach the config.log. What hardware are you on exactly?

 MacBook Pro 2.33 GHz Core 2 Duo, 3GB 667 MHz DDR2 SDRAM[[BR]]
 Snow Leopard 10.6.2[[BR]]
 Macports 1.8.2 (Stable)[[BR]]

 Config.log claims:[[BR]]

 {{{

 configure:4670: checking for correct version of mpfr.h
 configure:4701: /usr/bin/gcc-4.2 -o conftest -O2 -I/opt/local/include
 -I/opt/local/include -I/opt/local/include -L/opt/local/lib conftest.c
 -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp >&5
 ld: warning: in /opt/local/lib/libmpfr.dylib, file is not of required
 architecture
 ld: warning: in /opt/local/lib/libgmp.dylib, file is not of required
 architecture
 Undefined symbols:
   "_mpfr_subnormalize", referenced from:
       _main in ccMdHP6Q.o
   "_mpfr_erfc", referenced from:
       _main in ccMdHP6Q.o
   "_mpfr_atan2", referenced from:
       _main in ccMdHP6Q.o
   "_mpfr_init", referenced from:
       _main in ccMdHP6Q.o
       _main in ccMdHP6Q.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 }}}


 config.log being attached next ... What I don't get is that I am not doing
 Universal build, only i386, so there should only be one Arch. Why its
 complaining about required Arch is way above my head.

-- 
Ticket URL: <http://trac.macports.org/ticket/24194#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list