Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-22 06:37:34


On Wednesday 22 December 2004 14:18, TEMPLIE Cédric wrote:
> I download the last CVS version.
> When compiling the bjam from jam_src, there is a linking error...
>
> filent.obj : error LNK2019: unresolved external symbol _S_ISREG
> referenced in function _file_is_file
> bootstrap.vc7\jam0.exe : fatal error LNK1120: 1 unresolved externals
>
> Do I have to do special thing to have the new version of bjam ?

Oh well, borland did compile this OK. Can you try checking if changing line
175 of filent.c to

if (_S_ISREG & statbuf.st_mode)

makes it compile (don't have vc around).

> Nevertheless, I try to build my little sample, by launching bjam at the
> top-level (in the directory where Jamfile and project-root.jam are) but
> I have the same error...
>
> I also tried with the nightly build (I succeed to build bjam in this
> build) but I still have the same issue...
>
> Do you use the nighly build or the last cvs version when you tried my
> sample ? (just to investigate what is wrong in my configuration)

I tried both with CVS and this nightly build. And I've just tried on Windows.
Still works. Are you sure your project uses the new version of V2? Maybe your
BOOST_BUILD_PATH or boost-build.jam points to the old version?

- 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