From: schmidf@iwb.mw.tu-muenchen.de (Frank Schmid)
Subject: problems using DEComni within C++
Date: 16 Feb 1994 13:00:47 +0100 [thread overview]
Message-ID: <2jt1tf$cu6@indis.iwb.mw.tu-muenchen.de> (raw)
F.Schmid/ C.Feldmann
IWB
Karl-Hammerschmidt-Str.39
855609 Muenchen
Germany
Tel.: 0994-219 oder 089/528055(priv.)
Fax.: 90994-118
email: schmidf@feanor.iwb.mw.tu-muenchen.de
Hi,
I am having problems using DEComni in an C++ programming environment:
Using the cc Copiler everything is fine, but with CC the following problems occur :
The CC-Compiler doesn't like the include-file <omni_codes.h>
The problem is that in this header a variablename class is used.
After renaming this variable in the header the compiler works fine,but the Linker
gives me the following error-messages :
gloin::schmidf [218] # CC -g -G 7 -o omni_ivp_resp omni_ivp_resp.c -lods -lomni -lomnicma1
-li -ll
CC +g omni_ivp_resp.c:
"/usr/include/omni_integrator2_defs_include.h", line 95: warning: ``/*'' in comment
"omni_ivp_resp.c", line 592: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 594: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 596: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 638: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 640: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 642: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 698: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 700: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 702: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 739: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 741: warning: argument 1: long passed as unsigned int
"omni_ivp_resp.c", line 743: warning: argument 1: long passed as unsigned int
cc -L/usr/local/dist/DIR/cfront-2.1/lib -o omni_ivp_resp -g -G 7 omni_ivp_resp.c -lods -lomni -lomnicma1 -li -ll -lC
ld:
Undefined:
omni_initialize(char*,unsigned int,char*,unsigned int,char*,unsigned int)
omni_print_message(unsigned int,char*,char*,char*,char*,char*)
omni_define(long,long*)
omni_modify_definition(long,long*,long*,void*,unsigned int)
omni_listen(long,unsigned int,long*,_omni_r_vmd_def*,_omni_r_iosb*,_omni_r_ctrl*)
omni_accept_connect(long,char,unsigned char,_omni_r_iosb*,_omni_r_ctrl*)
omni_get_indications(long,long*,long*,long*,char,_omni_r_iosb*,_omni_r_ctrl*)
omni_put_value(long*,long,long,void*,unsigned int,long,_omni_r_iosb*,_omni_r_ctrl*)
omni_get_value(long*,long,long,void*,unsigned int,long,_omni_r_iosb*,_omni_r_ctrl*)
gloin::schmidf [219] #
note : cc -g -G 7 -o omni_ivp_resp omni_ivp_resp.c -lods -lomni -lomnicma1 -li -ll works fine
Does anybody know a workaround ?
I appreciate any kind of help,
Frank
reply other threads:[~1994-02-16 12:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox