🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bln.comp.lang.opal
Article #181

Oasys: cannot open shared object

#181
From: Filip Rindler
Date: Sat, 16 Oct 2004 17:02
89 lines
2712 bytes
Hi

I always get something like "cannot open shared object" when using oasys
even with a very simple program. You can see code and OASYS log below. By
the way, the file mentioned in the log (/tmp/filecOzb5Y.so) does not exist
on my system.

I really got stuck with this one, I habe no clue how this mysterious error
is raised...

Thanks for your help!

Fil

PS: You can answer in German if you want



Caller.sign
-------------------------------------------------
SIGNATURE Caller

IMPORT Real ONLY real

FUN squareOfFive: real



Caller.impl:
-------------------------------------------------
IMPLEMENTATION Caller

IMPORT Real COMPLETELY
IMPORT Callee COMPLETELY

DEF squareOfFive == square(5)



Callee.impl:
-------------------------------------------------
IMPLEMENTATION Callee

IMPORT Real COMPLETELY

DEF square(x) == x*x
DEF squareOfFive2 == square(5)



Callee.sign:
-------------------------------------------------
SIGNATURE Callee

IMPORT Real ONLY real

FUN square: real -> real
FUN squareOfFive2: real



OASYS Log:
-------------------------------------------------
filip@filpad:~/opal> oasys
oasys version 1.1e (ocs version 2.3i), (c) 1989-2001 The OPAL Group, TU
Berlin
>a Caller
loading Caller.sign
loading Caller.impl
loading Callee.sign
loading Callee.impl
>f Caller.sign
Caller.sign>e squareOfFive
checking Caller.sign
checking Callee.sign
checking Caller.impl
checking Callee.impl
compiling Callee.impl
compiling Caller.impl
starting evaluator process
evaluator: cannot open shared object
`/tmp/filecOzb5Y.so' (/tmp/filecOzb5Y.so: undefined symbol: __ACallee_1)
WARNING [evaluator]: EXITED(FAILURE)
connection lost
Caller.sign>f Callee.sign
Callee.sign>e squareOfFive2
starting evaluator process
25
Callee.sign>
Technical Details
Message-ID: <ckrk7m$ig6$05$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 108421,dfd204e8758bd1eb,start
X-Google-Attributes: gid108421,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
From: Filip Rindler <filip.rindler@gmx.de>
Newsgroups: bln.comp.lang.opal
Subject: Oasys: cannot open shared object
Date: Sat, 16 Oct 2004 19:02:53 +0200
Organization: T-Online
Lines: 89
Message-ID: <ckrk7m$ig6$05$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: news.t-online.com 1097946166 05 18950 mjZqX6FvJk16UEJ 041016 17:02:46
X-Complaints-To: usenet-abuse@t-online.de
X-ID: GJy4ByZd8esIkKJWcBxfKnk4XZyG2pLlSh0sfNdhxcQIS-HfuiYKE-
User-Agent: KNode/0.7.7