From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ba4,54717784b9205253 X-Google-Attributes: gidf9ba4,public X-Google-Thread: f678f,54717784b9205253 X-Google-Attributes: gidf678f,public X-Google-Thread: 115614,54717784b9205253 X-Google-Attributes: gid115614,public X-Google-Thread: 111308,54717784b9205253 X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1995-03-17 16:14:35 PST Newsgroups: comp.soft-sys.dce,comp.unix.aix,comp.client-server,comp.unix.osf.misc Path: bga.com!news.sprintlink.net!howland.reston.ans.net!ix.netcom.com!netcomsv!uu3news.netcom.com!netcom.com!trey From: trey@netcom.com (Trey Thompson) Subject: Re: PROBLEMS with DCE RPC on AIX Message-ID: Keywords: DCE RPC ANSI-C AIX Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <1995Mar16.112111.26682@informatik.uni-ulm.de> Date: Fri, 17 Mar 1995 22:27:10 GMT Sender: trey@netcom7.netcom.com Xref: bga.com comp.soft-sys.dce:595 comp.unix.aix:26690 comp.client-server:6915 comp.unix.osf.misc:1630 beuter@cocoon.informatik.uni-ulm.de (Thomas Beuter) writes: > >... xlc produces an error message "Function >cannot be redeclared". The reason is that data types are interpreted >differently. >example: >error_status_t rpc_call([in] long num, [out, string] char txt[20]); >The IDL compiler interprets char as unsigned char (macro idl_char -> >ndr_char -> unsigned char). Whereas the xlc compiler interprets it as >signed char. Therefore the function's declaration in the header file >(produced by idl compiler) isn`t compliant to the function`s >definition. Have you tried defining AIX_PROD ? It has something to do with problem OT7619 CMVC5209 whatever that means. I have never seen a reference to this anywhere, but it seems to help in many cases. You can either #define AIX_PROD somewhere or make a change in the /etc/xlc.cfg (or /etc/xlC.cfg for C++) Anybody from IBM want to clarify this?