gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1568 Posts in 518 Topics by 754 Members - Latest Member: irekzawadzki December 03, 2021, 07:59:18 AM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Macintosh  |  link error: _PMBegin ect.
gfx
gfxgfx
 

Author Topic: link error: _PMBegin ect.  (Read 2709 times)

Yoshihiko Haramura

  • Newbie
  • *
  • Posts: 5
link error: _PMBegin ect.
« on: September 23, 2017, 07:07:23 AM »
Just now, I become not to able to build my application which was normally built.
This phenomena begins after (1) added several lines to print out variables (after removed the lines the phenomena does not resume), (2) installed Xcode (Xcode 9 includes Swift 4 and SDKs for iOS 11, watchOS 4, tvOS 11, and macOS High Sierra 10.13).
What shall I do to fix it?

The error messages are:

clang++ -m32 ./Release/engine_00.o ./Release/engine_01.o ./Release/engine_02.o ./Release/engine_03.o ./Release/engine_04.o ./Release/functions.o ./Release/engine_05.o ./Release/tridag.o ./Release/engine_06.o ./Release/engine_07.o -L/Applications/Absoft16.0//lib -Wl,-stack_size -Wl,9c40000 -Wl,-no_pie -Wl,-no_compact_unwind -Wl,-Y,10 -o ./CycleCalDP000.app/Contents/MacOS/CycleCalDP000 -mmacosx-version-min=10.12.0 -lmrwe -laf90math -lafio_carbon -lmrwe -lafio_carbon -lamisc -labsoftmain_mrwe -laf77math -lm -lmv -laU77 -laf90math -lafio -lamisc -labsoftmain -laf77math -lm -lmv -framework Carbon
Undefined symbols for architecture i386:
  "_PMBegin", referenced from:
      _mrwe_DoPageSetup in libmrwe.a(Printing.o)
      _mrwe_DoPrint in libmrwe.a(Printing.o)
  "_PMDefaultPageFormat", referenced from:
      _mrwe_DoPageSetup in libmrwe.a(Printing.o)
      _mrwe_DoPrint in libmrwe.a(Printing.o)
  "_PMDefaultPrintSettings", referenced from:
      _mrwe_DoPrint in libmrwe.a(Printing.o)
  "_PMDisposePageFormat", referenced from:
      _mrwe_closewindow in libmrwe.a(Misc.o)
  "_PMDisposePrintSettings", referenced from:
      _mrwe_closewindow in libmrwe.a(Misc.o)
  "_PMEnd", referenced from:
      _mrwe_DoPageSetup in libmrwe.a(Printing.o)
      _mrwe_DoPrint in libmrwe.a(Printing.o)
  "_PMNewPageFormat", referenced from:
amake2: **** Error code 1 (continuing)
amake2: `all' not remade because of errors.
      _mrwe_DoPageSetup in libmrwe.a(Printing.o)
      _mrwe_DoPrint in libmrwe.a(Printing.o)
  "_PMNewPrintSettings", referenced from:
      _mrwe_DoPrint in libmrwe.a(Printing.o)
  "_PMValidatePageFormat", referenced from:
      _mrwe_DoPageSetup in libmrwe.a(Printing.o)
  "_PMValidatePrintSettings", referenced from:
      _mrwe_DoPrint in libmrwe.a(Printing.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
link reported errors.
Build interrupted

cag

  • Newbie
  • *
  • Posts: 16
Re: link error: _PMBegin ect.
« Reply #1 on: September 24, 2017, 10:04:45 AM »
What release of Absoft Pro Fortran are you using on this system? You can  find this information using the About AbsoftTools.,. command or by exampling the contents of the file /Applications/AbsoftXX.X/absoft_release.  I am looking for the Absoft Pro Fortran version not the AbsoftTools version number.

Yoshihiko Haramura

  • Newbie
  • *
  • Posts: 5
Re: link error: _PMBegin ect.
« Reply #2 on: September 24, 2017, 10:36:07 PM »
Thank you for your response.
My version is listed below. This is first three lines of what displayed on "About AbsoftTools". This is the second latest version and updated to xx.0.3.

Absoft Tools
Absoft Version: Absoft Pro Fortran 16.0.3
IDE Version: 2.2.1

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 321
Re: link error: _PMBegin ect.
« Reply #3 on: September 25, 2017, 11:25:29 AM »
I believe you can resolve this issue by opening the AbsoftTools Project Options dialog,
going to the Target page, setting the Target OS to "Mavericks (10.9 SDK)", and rebuilding.


Yoshihiko Haramura

  • Newbie
  • *
  • Posts: 5
Re: link error: _PMBegin ect.
« Reply #4 on: September 26, 2017, 01:39:19 AM »
Following your advice, I can build an executable file, and it works.
Thank you.

Absoft User Forum  |  Support  |  Macintosh  |  link error: _PMBegin ect.
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!