<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>Message</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 5 6 2 2 2 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.9pt 70.9pt 70.9pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-AU link=blue vlink=blue>

<div class=Section1>

<div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Paul,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It looks like the symbol (ENTHALPY)
appears (and defined) twice. Check: if they have the same definition (function,
purpose), then disable one of them (usually the one residing in your program). However
if they serve different purpose then simply rename one of them.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Cheers,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>ehalawa</span></font></p>

</div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-US style='font-size:
10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
trnsys-users-bounces@engr.wisc.edu [mailto:trnsys-users-bounces@engr.wisc.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Paul.Kohlenbach@csiro.au<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, 30 August 2006
11:06 AM<br>
<b><span style='font-weight:bold'>To:</span></b> trnsys-users@engr.wisc.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> [TRNSYS-users] Multiply
defined symbols, STEC type 205,dll linking error</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am trying to implement the STEC type 205 (CIEMAT turbine)
into my dll using CVF66 and TRNSYS 16.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The type requires a subroutine called gas.for. I have added
the following line to gas.for to convert it into legacy mode:</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>      !DEC$ATTRIBUTES DLLEXPORT ::
GAS</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>It compiles OK but then I do get the following linking
error:</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Linking...<br>
Gas.obj : error LNK2005: _ENTHALPY already defined in Comv-phy.obj<br>
Gas.obj : warning LNK4006: _ENTHALPY already defined in Comv-phy.obj; second
definition ignored<br>
   Creating library Release/TRNDll.lib and object Release/TRNDll.exp<br>
Release/TRNDll.dll : fatal error LNK1169: one or more multiply defined symbols
found<br>
Error executing link.exe.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Looks like it clashes with the Type 56 which uses the
comv.phy.obj</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Can anyone give me advice how to solve this problem?</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks, cheers</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

<p class=MsoNormal><strong><b><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Dr.-Ing. Paul Kohlenbach</span></font></b></strong></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Postdoctoral Research Fellow</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Distributed Generation</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>CSIRO Energy Technology</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>10 Murray Dwyer Circuit</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Steel River Estate</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Mayfield West, 2304  NSW,  Australia</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Tel: (02) 4960 6107</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Fax: (02) 4960 6111</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Email: <a href="mailto:paul.kohlenbach@CSIRO.au">paul.kohlenbach@CSIRO.au</a></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<div>

<p class=MsoNormal><b><i><font size=5 color=green face=Webdings><span
style='font-size:18.0pt;font-family:Webdings;color:green;font-weight:bold;
font-style:italic'>P</span></font></i></b><b><i><font size=5 color=green
face=Arial><span style='font-size:18.0pt;font-family:Arial;color:green;
font-weight:bold;font-style:italic'> </span></font></i></b><b><i><font size=2
color=green face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:green;font-weight:bold;font-style:italic'>please consider the environment
before printing this email</span></font></i></b></p>

</div>

<p class=MsoNormal><b><i><font size=1 color=green face="Arial Narrow"><span
style='font-size:8.0pt;font-family:"Arial Narrow";color:green;font-weight:bold;
font-style:italic'>__________________________________________________________________________</span></font></i></b></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

<p class=MsoNormal><b><font size=2 color=navy face="Arial Narrow"><span
style='font-size:10.0pt;font-family:"Arial Narrow";color:navy;font-weight:bold'>PLEASE
NOTE</span></font></b><i><font size=2 color=navy face="Arial Narrow"><span
style='font-size:10.0pt;font-family:"Arial Narrow";color:navy;font-style:italic'>
<br>
</span></font></i><font size=2 color=navy face="Arial Narrow"><span
style='font-size:10.0pt;font-family:"Arial Narrow";color:navy'>The information
contained in this e-mail may be confidential or privileged. Any unauthorised
use or disclosure is prohibited. If you have received this e-mail in error,
please delete it immediately and notify the sender by return email. Thank you.
To the extent permitted by law, CSIRO does not represent, warrant and/or
guarantee the integrity of this communication has been maintained nor the
communication is free of error, virus, interception or interference.</span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>

</div>

</div>

</body>

</html>