Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 3 > Re: Adapting fr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 11 Topic 73 of 149
Post > Topic >>

Re: Adapting from pm3 to cm3

by Olaf Wagner <wagner@[EMAIL PROTECTED] > Dec 8, 2003 at 09:33 PM

Robin Garner <robin.garner@[EMAIL PROTECTED]
> wrote:
> In the m3makefile, I have

> include_dir("../../lib/src"), to share a handful of common modules
between 
> the 3 programs that comprise my system.  If I compile with the
m3makefiles 
> as written, I get

> % cm3
> --- building in SOLgnu ---
> ***
> *** runtime error:
> ***    Exception "PathnamePosix.CheckedRuntimeError" not in RAISES list
> ***    file "../src/os/POSIX/PathnamePosix.m3", line 98
> ***

> Abort (core dumped)
> % 

> but copying the contents of ../lib/src to ./src and splicing 
> ../lib/src/m3makefile into src/m3makefile, it all compiles and builds
just 
> fine.
> Any ideas ?

Not really, without having a closer look at the code (both your
makefiles' and cm3's). I can only guess that the compiler doesn't
really like include paths that are outside the current package.
Unfortunately, "../src/os/POSIX/PathnamePosix.m3", line 98, is not
really the interesting location concerning this error, but one or
two stack frames up from there. The easiest way to find out
would be to run cm3 in the debugger (gdb should be okay even
on Solaris) and get a stack dump. Could you do that?

Olaf
-- 
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|| Olaf Wagner           | wagner(at)luthien.in-berlin.de (priv.)|
|| Cranachstrasse 7      | wagner(at)elego.de (business)         |
|| D-12157 Berlin        | phone: +49 30  85 60 26 70            | 
|| Germany / Deutschland | fax:   +49 30  85 58 01 88            | 
\/////////////////////////////////////////////////////////////////
 




 11 Posts in Topic:
Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-02 08:58:38 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-03 08:12:42 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-04 02:11:05 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-04 21:35:38 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-08 00:30:40 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-08 21:33:15 
Re: Adapting from pm3 to cm3
"Carl C. Hoff"   2003-12-09 19:54:53 
Re: Adapting from pm3 to cm3
robin.garner@[EMAIL PROTE  2003-12-16 01:01:15 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-18 22:38:32 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-22 03:19:03 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-04 02:25:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:33:23 CDT 2008.