From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,c4122e5630110a7,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-04-17 10:09:25 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!nctuccca.edu.tw!news.cc.nctu.edu.tw!nchud5.nchu.edu.tw!dec8.ncku.edu.tw!system7!yshuang From: yshuang@system7 (Huang Yi-Sheng) Subject: help:DCE RPC app Message-ID: <1994Apr17.170925.13423@dec8.ncku.edu.tw> Sender: usenet@dec8.ncku.edu.tw (USENET Manager) Organization: National Cheng Kung University, Tainan, Taiwan X-Newsreader: TIN [version 1.1 PL8] Date: Sun, 17 Apr 1994 17:09:25 GMT Please help me. I'm new with DCE. I've spent a few weeks on DCE's RPC. I've got some applications from ftp.uu.net /published/oreilly/dce/applic_guide/arithmetic.tar.Z ....... But there're something error when I "make" that application. (The end of this post is the messages.) Is that the problem of my system's library ? (SunOS Release 4.1.3) I never call the assert(),catopen(),catclose()..... in any files, why they show up ? I'm so nervous because I haven't completed any RPC program after so many days. Please help me. Thank you very much. ############################################################################## ### make error of arithmetic ### ## in the directory of arithmetic , I just type make, the following shows: idl -v arithmetic.idl Running C preprocessor /lib/cpp arithmetic.idl -I. -I/usr/include Importing IDL file /usr/include/dce/nbase.idl Running C preprocessor /lib/cpp /usr/include/dce/nbase.idl -I. -I/usr/include Operation sum_arrays has no binding handle parameter; [auto_handle] assumed Creating include file arithmetic.h Creating stub module arithmetic_cstub.c Creating stub module arithmetic_sstub.c Compiling stub module cc -c -I. -I/usr/include arithmetic_cstub.c Compiling stub module cc -c -I. -I/usr/include arithmetic_sstub.c Deleting stub module arithmetic_cstub.c Deleting stub module arithmetic_sstub.c cc -DLOCAL -o local_client client.c procedure.c client.c: procedure.c: Linking: rm client.o procedure.o cc -target sun4 -c client.c cc -o client client.o arithmetic_cstub.o -ldce ld: Undefined symbol __assert _catclose _catopen _catgets _strtoul _difftime _labs ___infinity ### <---- this line is erased by adding -lm in the LIBS *** Error code 2 make: Fatal error: Command failed for target `client' ########################################################################