Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-02 09:56:47


On Thursday 02 December 2004 17:33, Toon Knapen wrote:
> Vladimir Prus wrote:
> > lib libmpi
> >
> > : # sources
> >
> > #mpiheaders
> >
> > : # requirements
> >
> > <file>/usr/lib/libz.a
> > #<parallelism>none
> >
> > On NT, .a is not an extension known to V2.
> >
> > Could you quickly verify if that's really the case, while I'm figuring
> > out how to emit more reasonable warning.
>
> I verified it and there were some libraries in my user-config with a
> '.a' extension (although they were not used). I commented them out but
> that does not change the situation ;-(

I'm afraid I cannot reproduce this, even on Windows. I replaced libmpi
definition with "alias libmpi" (since I don't have any libs), and then
defined

alias fake_mpi ;

in Jamfile (I could not find any definition for that target). It does not
generate the error. Could you modify generators.jam like this:

--- generators.jam 12 Nov 2004 08:11:04 -0000 1.75
+++ generators.jam 2 Dec 2004 14:54:46 -0000
@@ -553,6 +553,11 @@
rule consume-directly ( source : consumed-var : missing-types-var )
{
local real-source-type = [ $(source).type ] ;
+ if ! $(real-source-type)
+ {
+ ECHO "No type for " [ $(source).str ] ;
+ }
+

And tell what's output then?

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk