Subject: Re: Windows build mystery solved
From: Frodo Looijaard (frodol@dds.nl)
Date: Wed Jan 24 2001 - 12:44:24 CST
Tom Briggs wrote:
>
>
> I finally managed to track down the cause of the problems on Windows. (And
> there was much rejoicing... yay.)
>
> On line 540 of abi/src/config/abi_defs.mk is the following:
>
> CFLAGS += -I$(ABI_ROOT)/../psiconv
>
> This breaks compilation of ms-ole.c in the wv tree because the config.h
> that exists in the psiconv directory is #included instead of the config.h
> in the wv directory.
The psiconv include-files are at the moment only needed by some files
in de impexp directory. Another fix would be to add the include flags
only to the Makefile in that directory, and then again only to the files
that need them (ie_{imp,exp}_Psion.cpp). Actually, that is basically what
is done for wv too. It is not a trivial fix though, because several
other files in the impexp-directory need wv :-(
Strange, though, that there is no problem with Unix. Must be the way
the include-paths are evaluated?
Looking at it, somebody (perhaps I myself?) already added the flags
to the impexp-Makefile, so the global ones can go away. This will
at least make your compilation go forth until the impexp directory...
Good luck,
Frodo
-- Frodo Looijaard <frodol@dds.nl> PGP key and more: http://huizen.dds.nl/~frodol Defenestration n. (formal or joc.): The act of removing Windows from your computer in disgust, usually followed by the installation of Linux or some other Unix-like operating system.
This archive was generated by hypermail 2b25 : Wed Jan 24 2001 - 12:44:47 CST