Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] 1.4.1 build problem
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-10-31 10:23:06


Treeve Jelbert wrote:
> using todays git checkout
>
> I used options
> -DENABLE_STATIC=0 -DENABLE_SHARED=1 -DENABLE_DEBUG=0 -DENABLE_RELEASE=1
>
>
>
> [100%] Built target quickbook
> Linking CXX executable ../../bin/bcp
> /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/crt1.o: In
> function `_start':
> (.text+0x20): undefined reference to `main'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/bcp] Error 1
> make[1]: *** [tools/bcp/CMakeFiles/bcp.dir/all] Error 2
>
>
> I have gcc-4-4,2
> cmake-2,8.0-rc4
> boost-1.4.0 is currently installed
>
> full compile log attached
>

Thanks very much for the testing!

>
> I don't think that I actually need bcp, so I could try to disable it if I knew
> how.
>

You can just set BUILD_TOOLS to NONE:

http://sodium.resophonic.com/boost-cmake/current-docs/build_configuration.html#build-tools

bcp should be disabled when building only shared/release, I'll have a look.

> there are also lots of deprecated warnings
>

I believe we get those for free from upstream, I suppose we could add
-Wno-deprecated.

-t


Boost-cmake 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