From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c5aa7c92538993f5,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 115d32,c5aa7c92538993f5,start X-Google-Attributes: gid115d32,public X-Google-ArrivalTime: 1994-02-16 04:00:47 PST Xref: gmd.de comp.sys.dec:13427 comp.protocols.iso:2883 Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!Germany.EU.net!netmbx.de!zib-berlin.de!news.th-darmstadt.de!fauern!lrz-muenchen.de!IWBNewsServ!IWBNewsServ!News From: schmidf@iwb.mw.tu-muenchen.de (Frank Schmid) Newsgroups: comp.sys.dec,comp.protocols.iso Subject: problems using DEComni within C++ Date: 16 Feb 1994 13:00:47 +0100 Organization: IWB - Technical University Munich Message-ID: <2jt1tf$cu6@indis.iwb.mw.tu-muenchen.de> NNTP-Posting-Host: indis.iwb.mw.tu-muenchen.de Keywords: DEComni,MAP,MMS,C++,CC 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 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