Opened 11 years ago

Closed 11 years ago

#40719 closed defect (invalid)

Undefined symbols for architecture x86_64

Reported by: march.1.xue@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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?

Change History (2)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Could you upload the source files for the program you're trying to compile? Are you sure this is a problem specifically with MacPorts's gcc48 port?

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.