C:\Perl\Language-Prolog-Yaswi-0.18>perl Makefile.PL Set up gcc environment - 3.4.5 (mingw special) retrieving SWI-Prolog configuration: running 'plcon.exe -dump-runtime-variables' PLBASE: c:/program files/prolog PLARCH: i386-win32 PLLIBS: PLLIB: libpl.lib PLCFLAGS: /MD /GX PLLDFLAGS: PLSOEXT: dll PLVERSION: 50664 PLSHARED: yes PLTHREADS: yes checking thread support in Perl and SWI-Prolog: thread support enabled creating plconfig.c Note (probably harmless): No library found for -lpl Writing Makefile for Language::Prolog::Yaswi::Low Writing Makefile for Language::Prolog::Yaswi #### C:\Perl\Language-Prolog-Yaswi-0.18>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. nmake -f Makefile all -nologo gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" Low.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" callback.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" callperl.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" hook.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" perl2swi.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" swi2perl.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" plconfig.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" argv.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" query.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" vars.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" context.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" engines.c gcc -c -I. -I"c:/program files/prolog/include" -DNDEBUG -DWIN32 -D_CON SOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_ LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.18\" -DXS_V ERSION=\"0.18\" "-IC:\Perl\lib\CORE" opaque.c Running Mkbootstrap for Language::Prolog::Yaswi::Low () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Low.bs dlltool --def Low.def --output-exp dll.exp g++ -o ..\blib\arch\auto\Language\Prolog\Yaswi\Low\Low.dll -Wl,--base-fi le -Wl,dll.base -mdll -L"C:\Perl\lib\CORE" Low.o callback.o callperl.o hook.o pe rl2swi.o swi2perl.o plconfig.o argv.o query.o vars.o context.o engines.o opaque. o -Wl,--image-base,0x28030000 C:\Perl\lib\CORE\perl58.lib C:\msys\mingw\lib\lib kernel32.a C:\msys\mingw\lib\libuser32.a C:\msys\mingw\lib\libgdi32.a C:\msys\mi ngw\lib\libwinspool.a C:\msys\mingw\lib\libcomdlg32.a C:\msys\mingw\lib\libadvap i32.a C:\msys\mingw\lib\libshell32.a C:\msys\mingw\lib\libole32.a C:\msys\mingw\ lib\liboleaut32.a C:\msys\mingw\lib\libnetapi32.a C:\msys\mingw\lib\libuuid.a C: \msys\mingw\lib\libws2_32.a C:\msys\mingw\lib\libmpr.a C:\msys\mingw\lib\libwinm m.a C:\msys\mingw\lib\libversion.a C:\msys\mingw\lib\libodbc32.a C:\msys\mingw\l ib\libodbccp32.a C:\msys\mingw\lib\libmsvcrt.a dll.exp Low.o:Low.c:(.text+0x2b6): undefined reference to `_PL_is_initialised' Low.o:Low.c:(.text+0x4a0): undefined reference to `_PL_toplevel' Low.o:Low.c:(.text+0x793): undefined reference to `_PL_new_term_ref' Low.o:Low.c:(.text+0x7ff): undefined reference to `_PL_get_functor' Low.o:Low.c:(.text+0x812): undefined reference to `_PL_functor_arity' Low.o:Low.c:(.text+0x81c): undefined reference to `_PL_new_term_refs' Low.o:Low.c:(.text+0x847): undefined reference to `_PL_unify_arg' Low.o:Low.c:(.text+0x875): undefined reference to `_PL_pred' Low.o:Low.c:(.text+0x895): undefined reference to `_PL_open_query' Low.o:Low.c:(.text+0xb7e): undefined reference to `_PL_next_solution' Low.o:Low.c:(.text+0xbaa): undefined reference to `_PL_exception' callperl.o:callperl.c:(.text+0x24): undefined reference to `_PL_register_extensi ons' callperl.o:callperl.c:(.text+0x1c1): undefined reference to `_PL_new_term_ref' callperl.o:callperl.c:(.text+0x1f8): undefined reference to `_PL_unify_term' callperl.o:callperl.c:(.text+0x200): undefined reference to `_PL_raise_exception ' callperl.o:callperl.c:(.text+0x2bf): undefined reference to `_PL_new_term_ref' callperl.o:callperl.c:(.text+0x2c6): undefined reference to `_PL_new_term_ref' callperl.o:callperl.c:(.text+0x327): undefined reference to `_PL_unify_term' callperl.o:callperl.c:(.text+0x3ba): undefined reference to `_PL_new_term_ref' callperl.o:callperl.c:(.text+0x3c8): undefined reference to `_PL_copy_term_ref' callperl.o:callperl.c:(.text+0x3fb): undefined reference to `_PL_get_nil' callperl.o:callperl.c:(.text+0x412): undefined reference to `_PL_get_list' callperl.o:callperl.c:(.text+0x462): undefined reference to `_PL_new_term_ref' callperl.o:callperl.c:(.text+0x4a9): undefined reference to `_PL_unify_term' callperl.o:callperl.c:(.text+0x4b1): undefined reference to `_PL_raise_exception ' hook.o:hook.c:(.text+0x1b): undefined reference to `_PL_atom_chars' hook.o:hook.c:(.text+0x9f): undefined reference to `_PL_atom_nchars' hook.o:hook.c:(.text+0x149): undefined reference to `_PL_agc_hook' perl2swi.o:perl2swi.c:(.text+0x2bf): undefined reference to `_PL_new_term_ref' perl2swi.o:perl2swi.c:(.text+0x2dd): undefined reference to `_PL_unify_chars' perl2swi.o:perl2swi.c:(.text+0x31b): undefined reference to `_PL_new_atom_nchars ' perl2swi.o:perl2swi.c:(.text+0x325): undefined reference to `_PL_new_module' perl2swi.o:perl2swi.c:(.text+0x32f): undefined reference to `_PL_unregister_atom ' perl2swi.o:perl2swi.c:(.text+0x366): undefined reference to `_PL_get_module' perl2swi.o:perl2swi.c:(.text+0x3b3): undefined reference to `_PL_new_term_ref' perl2swi.o:perl2swi.c:(.text+0x3d1): undefined reference to `_PL_unify_chars' perl2swi.o:perl2swi.c:(.text+0x3f3): undefined reference to `_PL_new_atom_nchars ' perl2swi.o:perl2swi.c:(.text+0x448): undefined reference to `_PL_get_atom' perl2swi.o:perl2swi.c:(.text+0x456): undefined reference to `_PL_register_atom' perl2swi.o:perl2swi.c:(.text+0x4e7): undefined reference to `_PL_unify_chars' perl2swi.o:perl2swi.c:(.text+0x53f): undefined reference to `_PL_copy_term_ref' perl2swi.o:perl2swi.c:(.text+0x5a4): undefined reference to `_PL_unify_nil' perl2swi.o:perl2swi.c:(.text+0x5e7): undefined reference to `_PL_unify' perl2swi.o:perl2swi.c:(.text+0x5fd): undefined reference to `_PL_unify_integer' perl2swi.o:perl2swi.c:(.text+0x630): undefined reference to `_PL_unify_atom_ncha rs' perl2swi.o:perl2swi.c:(.text+0x64e): undefined reference to `_PL_unify_float' perl2swi.o:perl2swi.c:(.text+0x7da): undefined reference to `_PL_new_functor' perl2swi.o:perl2swi.c:(.text+0x7e6): undefined reference to `_PL_unify_functor' perl2swi.o:perl2swi.c:(.text+0x7f9): undefined reference to `_PL_unregister_atom ' perl2swi.o:perl2swi.c:(.text+0x80d): undefined reference to `_PL_new_term_ref' perl2swi.o:perl2swi.c:(.text+0x823): undefined reference to `_PL_unify_arg' perl2swi.o:perl2swi.c:(.text+0x882): undefined reference to `_PL_unify_nil' perl2swi.o:perl2swi.c:(.text+0x901): undefined reference to `_PL_unregister_atom ' perl2swi.o:perl2swi.c:(.text+0x980): undefined reference to `_PL_copy_term_ref' perl2swi.o:perl2swi.c:(.text+0x988): undefined reference to `_PL_new_term_ref' perl2swi.o:perl2swi.c:(.text+0xa37): undefined reference to `_PL_unify_list' perl2swi.o:perl2swi.c:(.text+0xb95): undefined reference to `_PL_new_functor' perl2swi.o:perl2swi.c:(.text+0xba1): undefined reference to `_PL_unify_functor' perl2swi.o:perl2swi.c:(.text+0xbb4): undefined reference to `_PL_unregister_atom ' perl2swi.o:perl2swi.c:(.text+0xc49): undefined reference to `_PL_new_term_ref' perl2swi.o:perl2swi.c:(.text+0xc5e): undefined reference to `_PL_unify_arg' perl2swi.o:perl2swi.c:(.text+0xdee): undefined reference to `_PL_copy_term_ref' perl2swi.o:perl2swi.c:(.text+0xdf5): undefined reference to `_PL_new_term_ref' perl2swi.o:perl2swi.c:(.text+0xe3f): undefined reference to `_PL_unify_list' perl2swi.o:perl2swi.c:(.text+0xecb): undefined reference to `_PL_unify_nil' swi2perl.o:swi2perl.c:(.text+0x180): undefined reference to `_PL_atom_nchars' swi2perl.o:swi2perl.c:(.text+0x1b8): undefined reference to `_PL_atom_wchars' swi2perl.o:swi2perl.c:(.text+0x21d): undefined reference to `_PL_get_atom' swi2perl.o:swi2perl.c:(.text+0x263): undefined reference to `_PL_get_nchars' swi2perl.o:swi2perl.c:(.text+0x29b): undefined reference to `_PL_get_nchars' swi2perl.o:swi2perl.c:(.text+0x2fd): undefined reference to `_PL_new_term_ref' swi2perl.o:swi2perl.c:(.text+0x341): undefined reference to `_PL_unify_term' swi2perl.o:swi2perl.c:(.text+0x349): undefined reference to `_PL_raise_exception ' swi2perl.o:swi2perl.c:(.text+0x370): undefined reference to `_PL_term_type' swi2perl.o:swi2perl.c:(.text+0x3aa): undefined reference to `_PL_is_list' swi2perl.o:swi2perl.c:(.text+0x3e7): undefined reference to `_PL_get_nil' swi2perl.o:swi2perl.c:(.text+0x3fb): undefined reference to `_PL_new_term_refs' swi2perl.o:swi2perl.c:(.text+0x413): undefined reference to `_PL_get_list' swi2perl.o:swi2perl.c:(.text+0x44d): undefined reference to `_PL_is_list' swi2perl.o:swi2perl.c:(.text+0x522): undefined reference to `_PL_compare' swi2perl.o:swi2perl.c:(.text+0x596): undefined reference to `_PL_get_float' swi2perl.o:swi2perl.c:(.text+0x5de): undefined reference to `_PL_get_long' swi2perl.o:swi2perl.c:(.text+0x630): undefined reference to `_PL_get_name_arity' swi2perl.o:swi2perl.c:(.text+0x6e1): undefined reference to `_PL_new_term_ref' swi2perl.o:swi2perl.c:(.text+0x6f6): undefined reference to `_PL_get_arg' swi2perl.o:swi2perl.c:(.text+0x73f): undefined reference to `_PL_atom_chars' query.o:query.c:(.text+0x1eb): undefined reference to `_PL_open_foreign_frame' query.o:query.c:(.text+0x259): undefined reference to `_PL_discard_foreign_frame ' query.o:query.c:(.text+0x2a9): undefined reference to `_PL_discard_foreign_frame ' query.o:query.c:(.text+0x2e0): undefined reference to `_PL_close_query' query.o:query.c:(.text+0x38d): undefined reference to `_PL_rewind_foreign_frame' engines.o:engines.c:(.text+0x31): undefined reference to `_PL_is_initialised' engines.o:engines.c:(.text+0x3a): undefined reference to `_PL_thread_self' engines.o:engines.c:(.text+0x69): undefined reference to `_PL_initialise' engines.o:engines.c:(.text+0x8e): undefined reference to `_PL_thread_attach_engi ne' engines.o:engines.c:(.text+0xf1): undefined reference to `_PL_thread_destroy_eng ine' engines.o:engines.c:(.text+0x1f1): undefined reference to `_PL_thread_at_exit' opaque.o:opaque.c:(.text+0x28): undefined reference to `_PL_blob_data' opaque.o:opaque.c:(.text+0x69): undefined reference to `_PL_blob_data' opaque.o:opaque.c:(.text+0xb8): undefined reference to `_PL_blob_data' opaque.o:opaque.c:(.text+0xd0): undefined reference to `_Sfprintf' opaque.o:opaque.c:(.text+0x10f): undefined reference to `_PL_new_term_ref' opaque.o:opaque.c:(.text+0x1b1): undefined reference to `_PL_unify_blob' opaque.o:opaque.c:(.text+0x1fa): undefined reference to `_PL_unify_term' opaque.o:opaque.c:(.text+0x25d): undefined reference to `_PL_new_atom' opaque.o:opaque.c:(.text+0x269): undefined reference to `_PL_new_functor' opaque.o:opaque.c:(.text+0x2f8): undefined reference to `_PL_new_term_ref' opaque.o:opaque.c:(.text+0x311): undefined reference to `_PL_get_arg' opaque.o:opaque.c:(.text+0x33a): undefined reference to `_PL_get_blob' C:\msys\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: BFD ( GNU Binutils) 2.18.50.20080109 assertion fail ../../binutils-2.18.50/bfd/cofflin k.c:2270 C:\msys\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:\ms ys\mingw\lib\libmsvcrt.a(dsjhs00137.o): bad reloc address 0x154 in section `.tex t' C:\msys\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: final link failed: Invalid operation collect2: ld returned 1 exit status NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop.