|
From: Michael K. <mic...@gm...> - 2011-08-17 20:11:00
|
On 08/10/2011 03:13 PM, Sam Steingold wrote:
> so, what should be included on your system?
I have almost the same setup:
MINGW32_NT-6.0 MICHAEL-PC 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys
GCC 4.5.2
I don't have winternl.h and ntstatus.h. I assume configure checks for
them because they are needed on cygwin.
Only ddk/ntifs.h is needed for NtQueryInformationFile (instead of
ddk/winddk.h and/or ddk/ntddk.h).
With the attached diffs boot/lisp.exe compiles, but not base. (same
error as reported by Angel Popov on cygwin). I tried to investigate but
didn't make any progress... How is this last linker command constructed?
Is it correct to define DLL_EXPORT and PIC?
Thanks & Regards
Michael
configure: ** Regexp (Done)
make[1]: Entering directory `/c/users/michael/repo/clisp/build.test/regexp'
/c/users/michael/repo/clisp/build.test/clisp -K boot -E UTF-8 -Emisc
1:1 -Epathname 1:1 -norc -q -c
/c/users/michael/repo/clisp/modules/regexp/regexp.lisp -o ./
;; Compiling file C:\users\michael\repo\clisp\modules\regexp\regexp.lisp
...
;; Wrote file C:\Users\Michael\repo\clisp\build.test\regexp\regexp.fas
Folgende Funktionen wurden verwendet, aber nicht definiert:
REGEXP:REGEXP-COMPILE REGEXP:REGEXP-EXEC
0 Errors, 0 Warnungen
/c/users/michael/repo/clisp/build.test/clisp -K boot -E UTF-8 -Emisc
1:1 -Epathname 1:1 -norc -q -C
C:\\Users\\Michael\\repo\\clisp\\build.test\\linkkit/modprep
/c/users/michael/repo/clisp/modules/regexp/regexi.c ./
;; MODPREP: "c:/users/michael/repo/clisp/modules/regexp/regexi.c" -->
#P"C:regexi.m.c"
;; MODPREP: reading
"c:/users/michael/repo/clisp/modules/regexp/regexi.c": 5,332 bytes, 141
lines
;; MODPREP: 11 objects, 3 DEFUNs
;; packages: ("REGEXP")
MODPREP: wrote C:regexi.m.c (9,732 bytes)
gcc -I/usr/local/include -I/c/users/michael/repo/clisp/src
-I/c/users/michael/repo/clisp/build.test/gllib
-I/c/users/michael/repo/clisp/src/gllib
-I/c/users/michael/repo/clisp/build.test/gllib
-I/c/users/michael/repo/clisp/src/gllib -g -O2 -W -Wswitch -Wcomment
-Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations
-Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations
-falign-functions=4 -D_WIN32 -DENABLE_UNICODE -DNO_TERMCAP_NCURSES
-DDYNAMIC_MODULES -DDLL_EXPORT -DPIC
-IC:\\Users\\Michael\\repo\\clisp\\build.test\\linkkit \
-c regexi.m.c -o regexi.o
ln /c/users/michael/repo/clisp/modules/regexp/preload.lisp .
make[1]: Leaving directory `/c/users/michael/repo/clisp/build.test/regexp'
rm -rf base
MAKE=make CLISP="/c/users/michael/repo/clisp/build.test/clisp -K boot
-E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" with_dynamic_modules=no
./clisp-link add boot base i18n syscalls regexp || (rm -rf base ; exit 1)
make[1]: Entering directory `/c/users/michael/repo/clisp/build.test/i18n'
make[1]: Nothing to be done for `clisp-module'.
make[1]: Leaving directory `/c/users/michael/repo/clisp/build.test/i18n'
make[1]: Entering directory
`/c/users/michael/repo/clisp/build.test/syscalls'
make[1]: Nothing to be done for `clisp-module'.
make[1]: Leaving directory `/c/users/michael/repo/clisp/build.test/syscalls'
make[1]: Entering directory `/c/users/michael/repo/clisp/build.test/regexp'
make[1]: Nothing to be done for `clisp-module'.
make[1]: Leaving directory `/c/users/michael/repo/clisp/build.test/regexp'
gcc -I/usr/local/include -I/c/users/michael/repo/clisp/src
-I/c/users/michael/repo/clisp/build.test/gllib
-I/c/users/michael/repo/clisp/src/gllib -g -O2 -W -Wswitch -Wcomment
-Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations
-Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations
-falign-functions=4 -D_WIN32 -DENABLE_UNICODE -DNO_TERMCAP_NCURSES
-DDYNAMIC_MODULES -DDLL_EXPORT -DPIC
-I/c/users/michael/repo/clisp/build.test/linkkit -c modules.c
modules.c:16:14: warning: 'module_count' redeclared without dllimport
attribute: previous dllimport ignored
gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit
-Wreturn-type -Wmissing-declarations -Wno-sign-compare
-Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4
-D_WIN32 -DENABLE_UNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_MODULES
-DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o regexi.o calls.o
bogomips.o -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a lisp.def
-lintl -luser32 -lole32 -loleaut32 -luuid -liconv -L/usr/local/lib
-lsigsegv libgnu.a -lws2_32 -o lisp.exe
libgnu.a(regex.o): In function `rpl_regerror':
c:\users\michael\repo\clisp\build.test\gllib/../../src/gllib/regcomp.c:559:
undefined reference to `libintl_gettext'
libgnu.a(regex.o): In function `rpl_re_compile_pattern':
c:\users\michael\repo\clisp\build.test\gllib/../../src/gllib/regcomp.c:238:
undefined reference to `libintl_gettext'
collect2: ld returned 1 exit status
./clisp-link: failed in /c/users/michael/repo/clisp/build.test/base
make: *** [base] Error 1
|