[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jan 26 12:43:01 2001 
Subject:Re: new problems 
From:Aaron Sloman See text for reply address 
Volume-ID:1010126.03 

[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]

Hello Monika,

> i have two problems: the first deals with including an external library, the
> second with producing a saved image.
>
> 1) using an external libary:
> ....
> pop11: error in loading shared libaries: ./matmul.so: undefined symbol:
> dgemm

I can't help you with this except to suggest that you find out on
your local machine where dgemm is defined and where it is used in
your programs, and maybe that will enable you to fix the problem.

If it is an irix library procedure you will have problems!

A quick answer to your second problem:-

> 2. producing a saved image:
>
> i want to store a set of my basic functions as a saved image. for this
> purpose,
> i used the following script:
>
> $popsys/pop11 %noinit << \\\\

Try adding, before "<<"

    %nort


> when i execute this script, i get the following message:
> ....
> WARNING - RUN-TIME ACTIONS DONE, SAVED IMAGE MAY BE COMPROMISED

The flag %nort stops "run-time actions" being done when pop-11
starts up.

> pop11 +save %x
>
> the system does not start with the x-functionality.

What sort of x-functionality do you want? If you just want to
run X routines and use Xved instead of Ved you can use %nort, as
above, and then when you start up do

    "x" -> vedusewindows;

to make Xved your default editor.

If you want the saved image to start up automatically using
Xved and with the Poplog control panel available (which requires
motif I think!) then create your saved image differently.

One possibility that should work is this. Instead of
this:

| $popsys/pop11 %noinit %nort << \\\\
|
| load loadinit.p;
|
| sysgarbage();
| syssave('sicher.psv') =>
| sysexit();

Do this in your shell script (copied partly from $popcom/mkplog):

$popsys/pop11 %nort %noinit \
	$popliblib/mkimage.p \
            sicher.psv \
                loadinit.p

There's more information in HELP MKIMAGE

See REF SYSTEM, if you want to know more gory details.

There are several scripts for making saved images in

    $popcom

e.g.
    mkstartup
    mkplog
    mkboole
    mkclisp
    mkct
    mkeliza

etc. and if you look at them you may get some useful ideas.

I hope you manage to solve your other problem also.

Aaron
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk   (ReadATas@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html