SWI Prolog Runtime configuration.
- From: "Sujai" <sujai.antony@xxxxxxxxx>
- Date: 30 Aug 2006 00:03:00 -0700
Hello all.
I am trying to run SWI prolog by enabling runtime option
(-disable-gmp --disable-readline --enable-shared
--enable-runtime ).
Initially, I got a linker error with the function 'exception_hook'.
This issue was resolved by making a minor chaning in pl-wam.c and now
I have got the plrt and plrt.prc files.
However, when I try running plrt,I get the following warnings and an
assertion failure:
# ./plrt -p library=.
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:80: (loading (null))
directive fai
led: system: (module_transparent $set_pattr/2, (dynamic)/1,
(multifile)/1, (modu
le_transparent)/1, (discontiguous)/1, (volatile)/1, (thread_local)/1,
noprofile/
1, $hide/2)]
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:107: (loading (null))
directive fa
iled: system:noprofile((call/1, catch/3, once/1, ignore/1,
call_cleanup/3, ^ /2)
)]
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:114: (loading (null))
directive fa
iled: system: (module_transparent (;)/2, (|)/2, (,)/2, call/1, call/2,
call/3, c
all/4, call/5, call/6, ^ /2, not/1, (\+)/1, (->)/2, (*->)/2, once/1,
ignore/1, b
lock/3, catch/3, call_cleanup/2, call_cleanup/3, apply/2)]
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:250: (loading (null))
directive fa
iled: user: (dynamic exception/3, prolog_event_hook/1)]
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:252: (loading (null))
directive fa
iled: user: (multifile exception/3, prolog_event_hook/1)]
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:297: (loading (null))
directive fa
iled: system:$hide($calleventhook, 1)]
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:642: (loading (null))
directive fa
iled: user: (dynamic library_directory/1, $start_compilation/2,
$end_compilation
/2, prolog_load_file/2)]
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:647: (loading (null))
directive fa
iled: user: (multifile library_directory/1, $start_compilation/2,
$end_compilati
on/2, prolog_load_file/2)]
plrt: /users/a19043/pl-5.6.9/src/pl-attvar.c:80: assignAttVar:
Assertion `(((*av
) & 0x00000007L) == 0x00000001L)' failed.
Aborted
Do we have a workaround/solution for this issue?
thanks
Sujai.
.
- Follow-Ups:
- Re: SWI Prolog Runtime configuration.
- From: Jan Wielemaker
- Re: SWI Prolog Runtime configuration.
- Prev by Date: SWI-Prolog : current_prolog_flag(unknown, fail) is failing.
- Next by Date: Re: to insert output in a specific folder
- Previous by thread: SWI-Prolog : current_prolog_flag(unknown, fail) is failing.
- Next by thread: Re: SWI Prolog Runtime configuration.
- Index(es):