[TRNSYS-users] Error compiling new component
Marius Müller
m.mueller at solitem.de
Tue Apr 27 05:52:19 PDT 2010
Hi at all,
I am using trnsys with fortran g95 compiler, when I create a new objekt and also when I edit an existing one, compiling is no prolem. bbut when I want to build the file, the error
>g95 -shared -mrtd -o c:\programme\Trnsys16_1\Userlib\ReleaseDlls\Type191coolingDemand.dll trnsysconstants.o trnsysfunctions.o typeck.o messages.o Storage.o Diffeq.o trnsysdata.o pq.o linkck.o Psych.o Type191coolingDemand.o
ld: -shared not supported
>Exit code: 1
appears.
when I delete the "-shared" from the fortran properties the following error appears:
>g95 -mrtd -o c:\programme\Trnsys16_1\Userlib\ReleaseDlls\Type191coolingDemand.dll trnsysconstants.o trnsysfunctions.o typeck.o messages.o Storage.o Diffeq.o trnsysdata.o pq.o linkck.o Psych.o Type191coolingDemand.o
c:/programme/g95/bin/../lib/gcc-lib/i686-pc-mingw32/4.0.4/\libf95.a(main.o)(.text+0x32): undefined reference to `MAIN_'
>Exit code: 1
Maybe someone has some idea what the prolem is,
thanks,
Marius Müller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100427/cc09c272/attachment-0005.htm>
More information about the TRNSYS-users
mailing list