Am Montag, 23. Juni 2008 13:58 schrieb Adrian Pop:
> [...]
>
> If you drop Corba support you can use only the old
> OMShell (mosh) terminal utility to connect to the
> OMC compiler. The QT based OMShell, OMNotebook or
> the MDT Eclipse environment will not be able to
> connect to OMC.

Hmm, I'd rather have these. I am compiling now with CORBA support, but I hit a 
snag as the compiler seems not to find mico's libraries at linking time 
(header inclusion is ok though).

g++ -o omc Absyn.o Algorithm.o Builtin.o Ceval.o ClassInf.o ClassLoader.o 
Codegen.o Connect.o Convert.o DAE.o DAELow.o Derive.o Debug.o DFA.o Dump.o 
DumpGraphviz.o Constants.o Env.o Error.o Exp.o SCode.o Graphviz.o Inst.o 
Interactive.o Lookup.o Main.o MetaUtil.o Mod.o ModUtil.o Patternm.o Prefix.o 
Static.o SimCodegen.o Types.o TaskGraph.o Util.o Values.o VarTransform.o 
Refactor.o 
DAEQuery.o ../absyn_builder/absyn_builder.a ../runtime/systemimpl.o 
../../c_runtime/libc_runtime.a ../runtime/rtopts.o ../runtime/socketimpl.o 
../runtime/printimpl.o ../runtime/ptolemyio.o ../runtime/errorext.o 
../runtime/ErrorMessage.o ../runtime/daeext.o ../runtime/corbaimpl.o 
../runtime/omc_communication_impl.o ../runtime/omc_communication.o  
../modpar/libmodpar.a ../runtime/settingsimpl.o -lm 
-L/scratch/zenith/usr//lib/plain -lrml -L/scratch/zenith/usr/lib/ -lantlr  
-L/scratch/zenith/usr//lib -lmico -lcrypto -lssl -lpthread -ldl 
-L../../build/lib -lsendData
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot 
find -lmico

The -L/scratch/zenith/usr//lib option is present, and since I do have 
a /scratch/zenith/usr/lib/libmico2.3.12.so library I would think this should 
be no problem... however -lmico is not found. Is it because of the weird 
versioning of libmico2.3.12.so (instead of libmico.so.2.3.12)?

I tried to hack around this by editing Compiler/omc_release/Makefile manually, 
changing -lmico into -lmico2.3.12. The make instruction managed to compile 
successfully, but all this looks rather suspicious... I am not sure whether 
this is a OpenModelica or a mico problem, really.

Cheers,
-Federico

Attachment: pgpmJe73Ur4a1.pgp
Description: PGP signature

Reply via email to