Subject: Windows build mystery solved
From: Tom Briggs (tom@sane.com)
Date: Wed Jan 24 2001 - 11:26:39 CST
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. (This happens because ms-ole.c is built from a
subdirectory; thus the config.h that ms-ole.c wants is really "../config.h",
not just "config.h".)
This change was commited on the 18th as part of Frodo's psiconv work;
I'm therefore lax to change anything because I don't know anything about how
psiconv is compiled into Abi. It doesn't appear that any of the other modules'
directories are forced into the general abi include path, so on basic
principal I have to wonder if removing it from the global CFLAGS isn't the right
thing to do. The only other thing I can think of is to force ms-ole.c to
include ../config.h, but that seems like a really poor hack.
Lemme know if none of this makes sense; I'm not feeling too well today, and
I don't really feel like I'm explaining myself very well. :)
-Tom
This archive was generated by hypermail 2b25 : Wed Jan 24 2001 - 11:27:43 CST