γειά σου Απόστολος,

>> I have to admit that I have no clue about libxmlsec's detailed configure
>> requirements, so I'm afraid I can't help here much. But with the
>> knowledge that licrypto comes from openssl, with libxmlsec complaining
>> about the one openssl is providing maybe some changed linker or build
>> options could suffice. I'm sure you're on the right track with the
>> unxsogi.mk changes you suggest below.
>>
> 
> Finally, I have managed to build the library. Whether it is a good one, this 
> is something that I will discover when I will finish.

You are making great progress! Congratulations!

> Now I have another problem. When compiling cppu I I get the following error 
> message:
> 
> Entering /extra/sources/OpenOffice/aoo4/main/cppu/util
> 
> dmake:  /extra/sources/OpenOffice/aoo4/main/solenv/inc/target.mk:  line 545:  
> Warning: -- Macro `SHL2TARGETN' redefined after use

I'm no expert on these makefiles, but the $(SHL2TARGETN) target there
looks redundant because it is usually already defined in
        main/solenv/inc/_tg_shl.mk
and the SHL2TARGETN define is done in
        main/solenv/inc/target.mk
If the one defined in the main/cppu/util/makefile.mk just redefines
whats already there maybe it can be safely removed.

On the other hand make "just" warns about it. Does the build really
break here?

> [...]
> dmake:  Error: -- `uno_purpenvhelper.map' not found, and can't be made

The purpenvhelper.map is another piece of black magic that I know not
much about. People knowing more about it are invited to join...

What I know about it is that it limits the symbol exports of that
particular library to basically only one function:
        cppu::helper::purpenv::Environment_initWithEnterable( uno_Environment*,
cppu::Enterable *);

I wouldn't be surprised if exporting all the symbols of this library
would work just as well. The reduction of the exported symbols to just
the method mentioned above and its parameter types may just be cosmetic.
Again: experts on this topic are invited to join.

> [...]
> Of course there is no uno_purpenvhelper.map file. The code that is 
> responsible for this is inside main/cppu/util/makefile.mk:
> [...]
> SHL2VERSIONMAP:=uno_purpenvhelper$(COMID).map

In main/cppu/source/helper/purpenv/export.mk there is a similar line and
there seems to be a heck of a lot of "cleanup potential" :-/ Makefile
experts are invited...

>From the error message mentioning "uno_purpenvhelper.map" and the recipe
above I see that the COMID define is apparently not set. AFAIK it is
supposed to be set in main/solenv/inc/tg_compv.mk. Maybe one of the many
conditions in there needs to be tweaked for your platform. If you are
building with gcc then COMID should probably be "gcc3" and with a little
bit of luck the already existing uno_purpenvhelpergcc3.map file may
already work.

Hope that helps,
Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to