From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b19471aa234c3c08 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-15 07:50:56 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: lin@post.com (Lin) Newsgroups: comp.lang.ada Subject: Re: Ada with Protected Object & Importing C program in Linux Date: 15 Sep 2001 07:50:55 -0700 Organization: http://groups.google.com/ Message-ID: <86772402.0109150650.2a190d46@posting.google.com> References: <86772402.0109131712.7583f07f@posting.google.com> <3BA15E67.D41D1D84@worldnet.att.net> NNTP-Posting-Host: 144.32.177.108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1000565456 6897 127.0.0.1 (15 Sep 2001 14:50:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 15 Sep 2001 14:50:56 GMT Xref: archiver1.google.com comp.lang.ada:13091 Date: 2001-09-15T14:50:56+00:00 List-Id: Thanks for the advice. But after adding "void" before the C routine, it still raise "segmentation error". --------------------- ---the C program--- --------------------- #include Calling_C(){ printf ("\nC is Called now"); } ----------------------