[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Tue, 24 Feb 2004 03:19:32 +0000 (UTC) 
Subject:Re: please guide me. 
From:Aaron Sloman 
Volume-ID: 

Jenab

> I have written a C program that implements a neural net. The program
> has used a nn-utility ,and I have to compile it with g++ command(
> and not xgcc). I make its object file as following:
> g++ -o neural-net.so -shared neural-net.cpp -lnn-utility
>
> But poplog at run time,gives a "MISHAP interrupted" on
> "external load mytag
>  neural-net
> endexternal"
>
> Apparently, poplog doesn't accept neural-net.so by g++.
> (There is not such problem with xgcc command for usual C programs).

If your program is essentially C++, pop11 cannot access it directly
(presumably because of the problems of working out the type
structure).

However if you write something in C which invokes C++ it may work.

As a last resort you may have to post some of your code, showing
the definition of the procedure you are trying to access from pop11.

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/ (And free book on Philosophy of AI)
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html