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
But then here's the nmake dump (make sure you grease your scrollbar)
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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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 -DWI
+N32 -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\min
+gw\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\li
+b\libadvap
i32.a C:\msys\mingw\lib\libshell32.a C:\msys\mingw\lib\libole32.a C:\m
+sys\mingw\
lib\liboleaut32.a C:\msys\mingw\lib\libnetapi32.a C:\msys\mingw\lib\li
+buuid.a C:
\msys\mingw\lib\libws2_32.a C:\msys\mingw\lib\libmpr.a C:\msys\mingw\l
+ib\libwinm
m.a C:\msys\mingw\lib\libversion.a C:\msys\mingw\lib\libodbc32.a C:\ms
+ys\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_regist
+er_extensi
ons'
callperl.o:callperl.c:(.text+0x1c1): undefined reference to `_PL_new_t
+erm_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_t
+erm_ref'
callperl.o:callperl.c:(.text+0x2c6): undefined reference to `_PL_new_t
+erm_ref'
callperl.o:callperl.c:(.text+0x327): undefined reference to `_PL_unify
+_term'
callperl.o:callperl.c:(.text+0x3ba): undefined reference to `_PL_new_t
+erm_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_n
+il'
callperl.o:callperl.c:(.text+0x412): undefined reference to `_PL_get_l
+ist'
callperl.o:callperl.c:(.text+0x462): undefined reference to `_PL_new_t
+erm_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_t
+erm_ref'
perl2swi.o:perl2swi.c:(.text+0x2dd): undefined reference to `_PL_unify
+_chars'
perl2swi.o:perl2swi.c:(.text+0x31b): undefined reference to `_PL_new_a
+tom_nchars
'
perl2swi.o:perl2swi.c:(.text+0x325): undefined reference to `_PL_new_m
+odule'
perl2swi.o:perl2swi.c:(.text+0x32f): undefined reference to `_PL_unreg
+ister_atom
'
perl2swi.o:perl2swi.c:(.text+0x366): undefined reference to `_PL_get_m
+odule'
perl2swi.o:perl2swi.c:(.text+0x3b3): undefined reference to `_PL_new_t
+erm_ref'
perl2swi.o:perl2swi.c:(.text+0x3d1): undefined reference to `_PL_unify
+_chars'
perl2swi.o:perl2swi.c:(.text+0x3f3): undefined reference to `_PL_new_a
+tom_nchars
'
perl2swi.o:perl2swi.c:(.text+0x448): undefined reference to `_PL_get_a
+tom'
perl2swi.o:perl2swi.c:(.text+0x456): undefined reference to `_PL_regis
+ter_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_f
+unctor'
perl2swi.o:perl2swi.c:(.text+0x7e6): undefined reference to `_PL_unify
+_functor'
perl2swi.o:perl2swi.c:(.text+0x7f9): undefined reference to `_PL_unreg
+ister_atom
'
perl2swi.o:perl2swi.c:(.text+0x80d): undefined reference to `_PL_new_t
+erm_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_unreg
+ister_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_t
+erm_ref'
perl2swi.o:perl2swi.c:(.text+0xa37): undefined reference to `_PL_unify
+_list'
perl2swi.o:perl2swi.c:(.text+0xb95): undefined reference to `_PL_new_f
+unctor'
perl2swi.o:perl2swi.c:(.text+0xba1): undefined reference to `_PL_unify
+_functor'
perl2swi.o:perl2swi.c:(.text+0xbb4): undefined reference to `_PL_unreg
+ister_atom
'
perl2swi.o:perl2swi.c:(.text+0xc49): undefined reference to `_PL_new_t
+erm_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_t
+erm_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_a
+tom'
swi2perl.o:swi2perl.c:(.text+0x263): undefined reference to `_PL_get_n
+chars'
swi2perl.o:swi2perl.c:(.text+0x29b): undefined reference to `_PL_get_n
+chars'
swi2perl.o:swi2perl.c:(.text+0x2fd): undefined reference to `_PL_new_t
+erm_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_li
+st'
swi2perl.o:swi2perl.c:(.text+0x3e7): undefined reference to `_PL_get_n
+il'
swi2perl.o:swi2perl.c:(.text+0x3fb): undefined reference to `_PL_new_t
+erm_refs'
swi2perl.o:swi2perl.c:(.text+0x413): undefined reference to `_PL_get_l
+ist'
swi2perl.o:swi2perl.c:(.text+0x44d): undefined reference to `_PL_is_li
+st'
swi2perl.o:swi2perl.c:(.text+0x522): undefined reference to `_PL_compa
+re'
swi2perl.o:swi2perl.c:(.text+0x596): undefined reference to `_PL_get_f
+loat'
swi2perl.o:swi2perl.c:(.text+0x5de): undefined reference to `_PL_get_l
+ong'
swi2perl.o:swi2perl.c:(.text+0x630): undefined reference to `_PL_get_n
+ame_arity'
swi2perl.o:swi2perl.c:(.text+0x6e1): undefined reference to `_PL_new_t
+erm_ref'
swi2perl.o:swi2perl.c:(.text+0x6f6): undefined reference to `_PL_get_a
+rg'
swi2perl.o:swi2perl.c:(.text+0x73f): undefined reference to `_PL_atom_
+chars'
query.o:query.c:(.text+0x1eb): undefined reference to `_PL_open_foreig
+n_frame'
query.o:query.c:(.text+0x259): undefined reference to `_PL_discard_for
+eign_frame
'
query.o:query.c:(.text+0x2a9): undefined reference to `_PL_discard_for
+eign_frame
'
query.o:query.c:(.text+0x2e0): undefined reference to `_PL_close_query
+'
query.o:query.c:(.text+0x38d): undefined reference to `_PL_rewind_fore
+ign_frame'
engines.o:engines.c:(.text+0x31): undefined reference to `_PL_is_initi
+alised'
engines.o:engines.c:(.text+0x3a): undefined reference to `_PL_thread_s
+elf'
engines.o:engines.c:(.text+0x69): undefined reference to `_PL_initiali
+se'
engines.o:engines.c:(.text+0x8e): undefined reference to `_PL_thread_a
+ttach_engi
ne'
engines.o:engines.c:(.text+0xf1): undefined reference to `_PL_thread_d
+estroy_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_blo
+b'
opaque.o:opaque.c:(.text+0x1fa): undefined reference to `_PL_unify_ter
+m'
opaque.o:opaque.c:(.text+0x25d): undefined reference to `_PL_new_atom'
opaque.o:opaque.c:(.text+0x269): undefined reference to `_PL_new_funct
+or'
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/b
+fd/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 sec
+tion `.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.
|