debugger: Try to be more helpful if linux libraries are not installed. Fixes #774.

db4
Doug Coleman 2013-03-29 10:35:51 -07:00
parent 81aec8be21
commit b44ff05616
1 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,9 @@ HOOK: signal-error. os ( obj -- )
: undefined-symbol-error. ( obj -- )
"Cannot resolve C library function" print
"Symbol: " write dup third symbol>string print
"Library: " write fourth . ;
"Library: " write fourth .
"You are probably missing a library or the library path is wrong." .
"See http://concatenative.org/wiki/view/Factor/Requirements" . ;
: stack-underflow. ( obj name -- )
write " stack underflow" print drop ;