Ticket #112 (new defect)

Opened 10 years ago

Last modified 10 years ago

hyp71_mgr doesn't compile on Windows,

Reported by: stefan Owned by: somebody
Priority: minor Milestone: Windows
Component: ALL modules Version: 7.5
Keywords: Cc:

Description

removed it from the seismic processing windows makefile, but if anyone ever wants to get around to trying to make it compile, here's how far I got:

hyp71_mgr.obj : error LNK2019: unresolved external symbol _hypo71pun_2_hypoarc r
eferenced in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _run_hypo71 referenced
 in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _search_depth referenc
ed in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _hypoarc_2_hypo71inp r
eferenced in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _site_com referenced i
n function _GetConfig
c:\Earthworm\earthworm\bin\hyp71_mgr.exe : fatal error LNK1120: 5 unresolved ext
ernals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\I
a32\Bin\ifort.EXE"' : return code '0x460'
Stop.

Change History

comment:1 in reply to: ↑ description Changed 10 years ago by saurel@…

Hi Stefan,

It seems that it is the Fortran compiler that output those errors. Hyp71_mgr doesn't need the Fortran compiler.

I just modified the makefile.nt by removing the Fortran related directives and added a few missing libraries. The compilation should go further but unfortunately, I don't have any Windows installation to try.

Jean-Marie.

Replying to stefan:

removed it from the seismic processing windows makefile, but if anyone ever wants to get around to trying to make it compile, here's how far I got:

hyp71_mgr.obj : error LNK2019: unresolved external symbol _hypo71pun_2_hypoarc r
eferenced in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _run_hypo71 referenced
 in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _search_depth referenc
ed in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _hypoarc_2_hypo71inp r
eferenced in function _main
hyp71_mgr.obj : error LNK2019: unresolved external symbol _site_com referenced i
n function _GetConfig
c:\Earthworm\earthworm\bin\hyp71_mgr.exe : fatal error LNK1120: 5 unresolved ext
ernals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\I
a32\Bin\ifort.EXE"' : return code '0x460'
Stop.

comment:2 follow-up: ↓ 3 Changed 10 years ago by stefan

Hi Jean-Marie -

Thanks for letting me know hyp71_mgr doesn't need Fortran. I made a few more changes to the .nt makefile, and got it to compile successfully on Windows. I see in svn there's a localmag.d in the hyp71_mgr directory(?), but I didn't see a hyp71_mgr.d file... Do you have one to commit?

  • Stefan

comment:3 in reply to: ↑ 2 Changed 10 years ago by saurel@…

Hi Stefan,

The localmag.d is here because hyp71_mgr can call for localmag in standalone mode to compute the local magnitude and insert the value in the output message. I just saw a hyp71_mgr.d in the SVN, it is a correct one. I will try to add the html docs by the end of the month.

Jean-Marie.

Replying to stefan:

Hi Jean-Marie -

Thanks for letting me know hyp71_mgr doesn't need Fortran. I made a few more changes to the .nt makefile, and got it to compile successfully on Windows. I see in svn there's a localmag.d in the hyp71_mgr directory(?), but I didn't see a hyp71_mgr.d file... Do you have one to commit?

  • Stefan
Note: See TracTickets for help on using tickets.