[MacPorts] #40719: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Wed Oct 9 16:08:16 PDT 2013


#40719: Undefined symbols for architecture x86_64
----------------------------+--------------------------------
  Reporter:  march.1.xue@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.0
Resolution:  invalid        |   Keywords:
      Port:                 |
----------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => invalid


Old description:

> I am not if this is related the gcc48 ,but when I tried to compile
> fortran and C program, I got error:
>
> Undefined symbols for architecture x86_64:
>   "_fjul_dutcoftai_", referenced from:
>       ___mod_time_MOD_write_datetime in mod_time.o
>   "_fjul_mjdoftai_", referenced from:
>       ___mod_time_MOD_read_datetime in mod_time.o
>   "_fjul_taiofdutc_", referenced from:
>       ___mod_time_MOD_read_datetime in mod_time.o
>   "_fjul_taiofmjd_", referenced from:
>       ___mod_time_MOD_write_datetime in mod_time.o
>   "_gjul_formatdate_", referenced from:
>       _fjul_formatdate_ in libjulian.a(fjulian.o)
>   "_gjul_formatpds_", referenced from:
>       _fjul_formatpds_ in libjulian.a(fjulian.o)
>   "_gjul_formatsql_", referenced from:
>       _fjul_formatsql_ in libjulian.a(fjulian.o)
>   "_gjul_formattime_", referenced from:
>       _fjul_formattime_ in libjulian.a(fjulian.o)
>   "_gjul_initleaps_", referenced from:
>       _fjul_initleaps_ in libjulian.a(fjulian.o)
>   "_gjul_parsedate_", referenced from:
>       _fjul_parsedate_ in libjulian.a(fjulian.o)
>   "_gjul_parsedt_", referenced from:
>       _fjul_parsedt_ in libjulian.a(fjulian.o)
>   "_gjul_parsetime_", referenced from:
>       _fjul_parsetime_ in libjulian.a(fjulian.o)
> ld: symbol(s) not found for architecture x86_64
> collect2: error: ld returned 1 exit status
> make: *** [fvcom] Error 1
>
> any thoughts?

New description:

 I am not if this is related the gcc48 ,but when I tried to compile fortran
 and C program, I got error:

 {{{
 Undefined symbols for architecture x86_64:
   "_fjul_dutcoftai_", referenced from:
       ___mod_time_MOD_write_datetime in mod_time.o
   "_fjul_mjdoftai_", referenced from:
       ___mod_time_MOD_read_datetime in mod_time.o
   "_fjul_taiofdutc_", referenced from:
       ___mod_time_MOD_read_datetime in mod_time.o
   "_fjul_taiofmjd_", referenced from:
       ___mod_time_MOD_write_datetime in mod_time.o
   "_gjul_formatdate_", referenced from:
       _fjul_formatdate_ in libjulian.a(fjulian.o)
   "_gjul_formatpds_", referenced from:
       _fjul_formatpds_ in libjulian.a(fjulian.o)
   "_gjul_formatsql_", referenced from:
       _fjul_formatsql_ in libjulian.a(fjulian.o)
   "_gjul_formattime_", referenced from:
       _fjul_formattime_ in libjulian.a(fjulian.o)
   "_gjul_initleaps_", referenced from:
       _fjul_initleaps_ in libjulian.a(fjulian.o)
   "_gjul_parsedate_", referenced from:
       _fjul_parsedate_ in libjulian.a(fjulian.o)
   "_gjul_parsedt_", referenced from:
       _fjul_parsedt_ in libjulian.a(fjulian.o)
   "_gjul_parsetime_", referenced from:
       _fjul_parsetime_ in libjulian.a(fjulian.o)
 ld: symbol(s) not found for architecture x86_64
 collect2: error: ld returned 1 exit status
 make: *** [fvcom] Error 1
 }}}

 any thoughts?

--

Comment:

 I'm going to assume this is not a MacPorts issue, since your problem is
 not with building a MacPorts port. Ask in a GCC support forum if you need
 help using GCC.

-- 
Ticket URL: <https://trac.macports.org/ticket/40719#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list