Subject: Re: Commit: FJF's wv patches
From: Paul Rohr (paul@abisource.com)
Date: Fri Aug 10 2001 - 17:12:06 CDT
At 01:21 PM 8/10/01 -0700, I wrote:
>At 03:20 PM 8/10/01 -0400, Dom Lachowicz wrote:
>>Please go ahead and check the windows build. CVS update wv, libiconv, and
abi
>>and let me know how things go.
>
>Will do. :-)
OK. I just finished a "make realclean" build, and I agree with Jeremy
Davis' earlier report -- it builds and runs for me, too.
However, some new warnings have crept in:
-- snip --
lookup.c(495) : warning C4005: 'FREEP' : macro redefinition
-- snip --
The explicit local definition is redundant now, via the following inclusion
chain:
lookup.c --> ut_iconv.h --> ut_types.h (where FREEP lives)
Is this warning Win32-specific, or are the Unix builds too noisy for stuff
like this to stand out?
-- snip --
libole2/ms-ole.c(179) : warning C4013: 'open' undefined; assuming
extern returning int
libole2/ms-ole.c(257) : warning C4013: 'read' undefined; assuming
extern returning int
libole2/ms-ole.c(278) : warning C4013: 'close' undefined; assuming
extern returning int
libole2/ms-ole.c(296) : warning C4013: 'write' undefined; assuming
extern returning int
libole2/ms-ole.c(318) : warning C4013: 'lseek' undefined; assuming
extern returning int
-- snip --
This looks like wv's configure isn't recognizing that Win32 *does*
HAVE_IO_H, even though I'm the one who added the offending include. Silly
configure ... why can't it read my mind? ;-)
Actually, it's probably something more subtle than that, because according
to the configure output, it *has* read my mind:
-- snip --
Found libwv in peer directory
creating cache ./config.cache
checking for gcc... cl.exe
checking whether the C compiler (cl.exe ) works... yes
checking whether the C compiler (cl.exe ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... .exe
checking for object suffix... obj
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for gcc... (cached) cl.exe
checking whether the C compiler (cl.exe ) works... yes
checking whether the C compiler (cl.exe ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cl.exe accepts -g... no
checking for non-GNU ld... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for dlltool... dlltool
checking for as... as
checking for objdump... objdump
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... obj
checking for executable suffix... (cached) .exe
checking for cl.exe option to produce PIC... none
checking if cl.exe supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if cl.exe static flag works...
checking if the linker (/bin/ld) is GNU ld... yes
checking whether the linker (/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /bin/ld option to reload object files... -r
checking dynamic linker characteristics... Win32 ld.exe
checking if libtool supports shared libraries... yes
checking if package supports dlls... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking how to run the C preprocessor... cl.exe -nologo -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for io.h... yes
checking for sys/file.h... no
checking for sys/ioctl.h... no
checking for unistd.h... no
checking for working const... yes
checking for zlib.h... no
checking for glib-config... no
checking for png.h... no
checking for malloc.h... yes
checking for iconv.h... yes
checking need for const in iconv... yes
checking for Magick-config... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking whether byte ordering is bigendian... no
checking for getopt_long... no
checking for strerror... yes
checking for strcasecmp... no
checking for memcpy... yes
checking for unistd.h... (cached) no
checking for getpagesize... no
checking for working mmap... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating wvAbw
creating wvHtml
creating wvLatex
creating wvCleanLatex
creating wvText
creating wvWml
creating oledecod/Makefile
creating libole2/Makefile
creating glib-wv/Makefile
creating expat/Makefile
creating expat/xmltok/Makefile
creating expat/xmlparse/Makefile
creating exporter/Makefile
creating iconv/Makefile
creating magick/Makefile
creating config.h
-- snip --
Any ideas?
bottom line
-----------
The former is clearly an easy fix, but I'm unsure about the latter.
Paul
This archive was generated by hypermail 2b25 : Fri Aug 10 2001 - 17:04:24 CDT