<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Noob: duplicated module error]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=650</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=650&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Noob: duplicated module error.]]></description>
		<lastBuildDate>Thu, 24 Aug 2017 18:43:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Noob: duplicated module error]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3001#p3001</link>
			<description><![CDATA[<p>The compiler is complaining that numerous functions/subroutines are defined in multiple files.&nbsp; Additionally, it appears that RJPA.FOR, AUXTST.FOR, RJPAST.FOR, and THERMFIX.FOR all contain separate main programs.&nbsp; Simply Fortran only allows one &quot;program&quot; unit to be compiled at a time, hence the complaints from the compiler.</p><p>You&#039;ll need to look to see what files you actually need to compile rather than compiling all of them at once.&nbsp; It appears this collection of Fortran source code contains multiple, separate Fortran programs and different versions of the support procedures in multiple files.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 24 Aug 2017 18:43:19 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3001#p3001</guid>
		</item>
		<item>
			<title><![CDATA[Noob: duplicated module error]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2998#p2998</link>
			<description><![CDATA[<p>Hello all!</p><p>I am an infant when it comes to Fortran, but I&#039;ve spent a considerable amount of time attempting to fix a problem I have been having with this code I didn&#039;t write.</p><p>From what I understand, RJPA calls many of these subroutines which call others etc etc. This code was written in the late 50s and converted to Fortran in &#039;86, so I installed a Windows XP.32 emulator on my machine to run the program and it works great. This is why I don&#039;t understand why I am getting so many duplicated module errors trying to convert it to a more modern version. I&#039;ve posted the error message below.</p><p>Please let me know if you have any idea how I can fix this, or if there is any more information I can provide!!! I really appreciate it.</p><p>All the best,</p><p>Trey</p><p>==============================================================================<br />Generating Makefile... Okay<br />==============================================================================<br />Compiling .\ACROC.FOR Compiling .\AREA.FORCompiling .\ATM.FORCompiling .\AUXIN.FORCompiling .\AUXOUT.FORCompiling .\AUXTST.FORCompiling .\BLOCK.FORCompiling .\BREAKWIN.FORCompiling .\CROC.FORCompiling .\DEFIOJ.FORCompiling .\DIF.FORCompiling .\DTLNEQ.FORCompiling .\EQSOS.FORCompiling .\EQUIL.FORCompiling .\EXPAN.FORCompiling .\GETDAT.FORCompiling .\GIBBS.FORCompiling .\GUESS.FORCompiling .\IDEAL.FORCompiling .\INOUT.FORCompiling .\INPUT.FORCompiling .\INPUTX.FORCompiling .\INT4.FORCompiling .\INVERT.FORCompiling .\ITER.FORCompiling .\LINDEP.FORCompiling .\LLEN.FORCompiling .\MAININ.FORCompiling .\MASBAL.FORCompiling .\MLIM.FORCompiling .\NOTS.FORCompiling .\NOTSA.FOR<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />.\NOTSA.FOR:143:72:</p><p>&nbsp; &nbsp; &nbsp; &nbsp;CALL EQUIL(TE,PR,E(1),E(2),K-1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1<br />Warning: Type mismatch in argument &#039;ix&#039; at (1); passed INTEGER(4) to INTEGER(2) [-Wargument-mismatch]<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />.\NOTSA.FOR:158:72:</p><p>&nbsp; &nbsp; &nbsp; &nbsp;CALL EQUIL(TE,PR,E(1) ,E(2)&nbsp; ,K-1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1<br />Warning: Type mismatch in argument &#039;ix&#039; at (1); passed INTEGER(4) to INTEGER(2) [-Wargument-mismatch]<br />Compiling .\NOTSH.FORCompiling .\NUMREAL.FORCompiling .\PDASHK.FORCompiling .\PIF1.FORCompiling .\PITOT.FORCompiling .\PPSTR.FORCompiling .\QATR.FORCompiling .\RAIL.FORCompiling .\RANK.FORCompiling .\RDPT.FORCompiling .\REACT.FORCompiling .\RJPA.FORCompiling .\RJPAST.FORCompiling .\SECANT.FORCompiling .\SENSE.FORCompiling .\SETUP.FORCompiling .\SHOCK.FORCompiling .\SHUNTS.FORCompiling .\THERMFIX.FORCompiling .\THERMO.FORCompiling .\THROAT.FORCompiling .\TOTAL.FORCompiling .\TPL1.FORCompiling .\TPL2.FORCompiling .\TPL3.FORCompiling .\TWID.FORCompiling .\TWITCH.FORCompiling .\VSET.FORCompiling .\WOFLIM.FORCompiling .\XMH.FORCompiling .\XMX.FORCompiling .\ZETA1.FORCompiling .\ZETA2.FORCompiling .\ZETA3.FOR<br />Generating target.exe<br />build\NOTSA.o: In function `equil_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:339: multiple definition of `equil_&#039;<br />build\EQUIL.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./EQUIL.FOR:1: first defined here<br />build\NOTSA.o: In function `defioj_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:215: multiple definition of `defioj_&#039;<br />build\DEFIOJ.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./DEFIOJ.FOR:1: first defined here<br />build\NOTSA.o: In function `gibbs_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:388: multiple definition of `gibbs_&#039;<br />build\GIBBS.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./GIBBS.FOR:1: first defined here<br />build\NOTSA.o: In function `guess_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:435: multiple definition of `guess_&#039;<br />build\GUESS.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./GUESS.FOR:1: first defined here<br />build\NOTSA.o: In function `invert_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:480: multiple definition of `invert_&#039;<br />build\INVERT.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./INVERT.FOR:1: first defined here<br />build\NOTSA.o: In function `masbal_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:569: multiple definition of `masbal_&#039;<br />build\MASBAL.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./MASBAL.FOR:1: first defined here<br />build\NOTSA.o: In function `dtlneq_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:263: multiple definition of `dtlneq_&#039;<br />build\DTLNEQ.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./DTLNEQ.FOR:1: first defined here<br />build\NOTSA.o: In function `lindep_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:533: multiple definition of `lindep_&#039;<br />build\LINDEP.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./LINDEP.FOR:1: first defined here<br />build\NOTSA.o: In function `nots_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:1: multiple definition of `nots_&#039;<br />build\NOTS.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTS.FOR:1: first defined here<br />build\RANK.o: In function `rank_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./RANK.FOR:1: multiple definition of `rank_&#039;<br />build\NOTSA.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:592: first defined here<br />build\REACT.o: In function `react_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./REACT.FOR:1: multiple definition of `react_&#039;<br />build\NOTSA.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:615: first defined here<br />build\RJPA.o: In function `main&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./RJPA.FOR:959: multiple definition of `main&#039;<br />build\AUXTST.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./AUXTST.FOR:304: first defined here<br />build\RJPAST.o: In function `main&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./RJPAST.FOR:344: multiple definition of `main&#039;<br />build\AUXTST.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./AUXTST.FOR:304: first defined here<br />build\SETUP.o: In function `setup_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./SETUP.FOR:1: multiple definition of `setup_&#039;<br />build\NOTSA.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:673: first defined here<br />build\THERMFIX.o: In function `main&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./THERMFIX.FOR:42: multiple definition of `main&#039;<br />build\AUXTST.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./AUXTST.FOR:304: first defined here<br />build\THERMO.o: In function `thermo_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./THERMO.FOR:1: multiple definition of `thermo_&#039;<br />build\NOTSA.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:704: first defined here<br />build\TWID.o: In function `twid_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./TWID.FOR:1: multiple definition of `twid_&#039;<br />build\NOTSA.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:737: first defined here<br />build\TWITCH.o: In function `twitch_&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./TWITCH.FOR:1: multiple definition of `twitch_&#039;<br />build\NOTSA.o:\\IS2\Folder Redirection\TreyFrancis\Documents\TBCC Controls\RJPA\rjpa/./NOTSA.FOR:756: first defined here<br />build\ZETA1.o:ZETA1.FOR:(.bss+0x0): multiple definition of `zeta1_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.bss+0x0): first defined here<br />build\ZETA1.o:ZETA1.FOR:(.bss+0x10): multiple definition of `hidden_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.bss+0x10): first defined here<br />build\ZETA1.o:ZETA1.FOR:(.data+0x0): multiple definition of `ramjet2_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.data+0x0): first defined here<br />build\ZETA1.o:ZETA1.FOR:(.bss+0x20): multiple definition of `ramjet3_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.bss+0x20): first defined here<br />build\ZETA1.o:ZETA1.FOR:(.data+0x160): multiple definition of `ramjet4_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.data+0x160): first defined here<br />build\ZETA1.o:ZETA1.FOR:(.bss+0x160): multiple definition of `ramjet5_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.bss+0x160): first defined here<br />build\ZETA2.o:ZETA2.FOR:(.bss+0x0): multiple definition of `zeta2_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.bss+0x4): first defined here<br />build\ZETA2.o:ZETA2.FOR:(.data+0x0): multiple definition of `days_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.data+0x3a0): first defined here<br />build\ZETA2.o:ZETA2.FOR:(.data+0x40): multiple definition of `months_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.data+0x3e0): first defined here<br />build\ZETA2.o:ZETA2.FOR:(.data+0x80): multiple definition of `years_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.data+0x420): first defined here<br />build\ZETA3.o:ZETA3.FOR:(.bss+0x0): multiple definition of `zeta3_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.bss+0x8): first defined here<br />build\ZETA3.o:ZETA3.FOR:(.data+0x0): multiple definition of `alphan_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.data+0x500): first defined here<br />build\ZETA3.o:ZETA3.FOR:(.data+0x400): multiple definition of `blnk_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.data+0x900): first defined here<br />build\ZETA3.o:ZETA3.FOR:(.bss+0x20): multiple definition of `janaf_&#039;<br />build\BLOCK.o:BLOCK.FOR:(.bss+0x2a0): first defined here<br />collect2.exe: error: ld returned 1 exit status<br />Error: Last command making (target.exe) returned a bad status<br />Error: Deleting (target.exe): Permission denied<br />Error: Make execution terminated</p><p>* Failed *</p>]]></description>
			<author><![CDATA[null@example.com (trey1994)]]></author>
			<pubDate>Thu, 24 Aug 2017 13:25:56 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2998#p2998</guid>
		</item>
	</channel>
</rss>
