🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: bln.comp.lang.opal
1 messages
1 total messages Started by Filip Rindler Sat, 16 Oct 2004 17:02
Oasys: cannot open shared object
#181
Author: 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>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads