[Libreoffice] o3tl/cow_wrapper.hxx not found

Simon Brouwer simon.oo.o at xs4all.nl
Fri Sep 9 13:01:12 PDT 2011


Hi Matus, all,

I made that change, did make clean in o3tl and then make, now there is
another error:

C:/cygwin/home/Simon/git/libo
/workdir/wntmsci12.pro/CxxObject/o3tl/qa/cow_wrapp
er_clients.o C:/cygwin/home/Simon/git/libo
/workdir/wntmsci12.pro/CxxObject/o3tl
/qa/test-cow_wrapper.o C:/cygwin/home/Simon/git/libo
/workdir/wntmsci12.pro/CxxO
bject/o3tl/qa/test-heap_ptr.o C:/cygwin/home/Simon/git/libo
/workdir/wntmsci12.p
ro/CxxObject/o3tl/qa/test-range.o C:/cygwin/home/Simon/git/libo
/workdir/wntmsci
12.pro/CxxObject/o3tl/qa/test-vector_pool.o
LINK : warning LNK4044: unrecognized option
'/workdir/wntmsci12.pro/CxxObject/o3
tl/qa/cow_wrapper_clients.o'; ignored
LINK : warning LNK4044: unrecognized option
'/workdir/wntmsci12.pro/CxxObject/o3
tl/qa/test-cow_wrapper.o'; ignored
LINK : warning LNK4044: unrecognized option
'/workdir/wntmsci12.pro/CxxObject/o3
tl/qa/test-heap_ptr.o'; ignored
LINK : warning LNK4044: unrecognized option
'/workdir/wntmsci12.pro/CxxObject/o3
tl/qa/test-range.o'; ignored
LINK : warning LNK4044: unrecognized option
'/workdir/wntmsci12.pro/CxxObject/o3
tl/qa/test-vector_pool.o'; ignored
LINK : fatal error LNK1181: cannot open input file
'C:/cygwin/home/Simon/git/lib
o.obj'
make: ***
[/home/Simon/git/libo/workdir/wntmsci12.pro/LinkTarget/CppunitTest/ite
st_o3tl_tests.lib] Error 157

Sorry for the formatting, I need to use webmail on my build machine.

I guess I better move the libo tree to another directory out of the cygwin
tree and start building from the beginning. If I moved git\libo\... from
C:/cygwin/home/Simon/ to C:/ would that be OK? I suppose I need to run
autogen.sh and/or make clean after moving the tree?

Best regards,
Simon




Matúš Kukan schreef:
> On 9 September 2011 09:19, Tor Lillqvist <tml at iki.fi> wrote:
>> (re-formatting the make output for clarity)
>>
>>> [ build CXX ] o3tl/qa/cow_wrapper_clients
>>> R=c:/cygwin/home/Simon/git &&
>>> O=$R/libo/solver/wntmsci12.pro &&
>>> W=$R/libo/workdir/wntmsci12.pro &&
>>> S=$R/libo &&
>>
>> Here the build mechanism sets some shell variables that will then be
>> used later on the same command line. (Yeah, weird, but apparently this
>> *is* a good idea, I don't know or recall the details.)
>>
>>> mkdir -p $W/CxxObject/o3tl/qa/$W/Dep/CxxObject/o3tl/qa/ &&
>>> /cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin/cl.exe
>>> -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE
>>> -DENABLE_GTK
>>
>> [...], looks fine so far
>>
>>> -IC:/cygwin$O/inc/stl
>>> -IC:/cygwin$O/inc/external -IC:/cygwin$O/inc
>>> -IC:/cygwin$S/solenv/wntmsci12/inc
>>> -IC:/cygwin$S/solenv/inc
>>> -IC:/cygwin$S/res
>>
>> But these are all screwed up, the $O and $S shell variables are not
>> expanded, and even if they were, they are used in locations that don't
>> make sense.
>>
> I had the same problem and was wondering why I'm the only one.
>
>> You are supposed to see -I flags with the $O and $S expanded. In your
>> case O=c:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro and
>> S=c:/cygwin/home/Simon/git/libo as far as I can see).
>>
>> For instance the first -I option there, -IC:/cygwin$O/inc/stl , would
>> with $O expanded be
>> -IC:/cygwinc:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro/inc/stl
>> which of course makes no sense.
>>
>> There must be something wrong in the gbuild make function mechanisms
>> that mishandles your case. I wonder if it is the fact that you are
>> building in your home directory, does the fact that the build location
>> starts with c:/cygwin confuse some substitution pattern, or something?
>> I will try to investigate.
>>
> --- a/solenv/gbuild/platform/windows.mk
> +++ b/solenv/gbuild/platform/windows.mk
> @@ -234,10 +234,10 @@ endef
>  endif
>
>  # Helper class
> -gb_Helper_SRCDIR_NATIVE := $(shell cygpath -m $(SRCDIR) | $(gb_AWK)
> -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }')
> -gb_Helper_WORKDIR_NATIVE := $(shell cygpath -m $(WORKDIR) | $(gb_AWK)
> -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }')
> -gb_Helper_OUTDIR_NATIVE := $(shell cygpath -m $(OUTDIR) | $(gb_AWK)
> -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }')
> -gb_Helper_REPODIR_NATIVE := $(shell cygpath -m $(REPODIR) | $(gb_AWK)
> -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }')
> +gb_Helper_SRCDIR_NATIVE := $(shell cygpath -m $(SRCDIR))
> +gb_Helper_WORKDIR_NATIVE := $(shell cygpath -m $(WORKDIR))
> +gb_Helper_OUTDIR_NATIVE := $(shell cygpath -m $(OUTDIR))
> +gb_Helper_REPODIR_NATIVE := $(shell cygpath -m $(REPODIR))
>
> Has solved problem for me I think. There was something else maybe (but
> only warnings, I'm not sure now what exactly), but this helped to
> continue building.
>
> HTH,
>
> Matúš
>
>


-- 
Vriendelijke groet,

Simon Brouwer
-*- nl.openoffice.org -*- http://www.opentaal.org -*-



More information about the LibreOffice mailing list