Building libraries for Dev++ ... usual steps don't work :(

View: New views
5 Messages — Rating Filter:   Alert me  

Building libraries for Dev++ ... usual steps don't work :(

by leper :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I'm brand new to this, but I've just spent my morning trying to use bjam to build gcc libraries for boost.

I've carefully followed instructions from these two websites:
http://wagjo.com/index.php?id=27
and
http://www.mpi-inf.mpg.de/~dfischer/manual/manual_topic38.html#topic41

But after running, bjam leaves my Boost\lib folder empty (That is, it creates the folder, but does not put anything in it.)

At the end of the bjam output:
...failed updating 1400 targets...
...skipped 574 targets...


If anyone knows what is happening, or if there are downloadable .libs for gcc (I'm using DevC++ 4.9.9.2, by the way) please let me know!

Thanks,
Tim

Re: Building libraries for Dev++ ... usual steps don't work :(

by Bugzilla from ghost@cs.msu.su :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 18 January 2008 18:54:53 leper wrote:
>
> Hi all,
> I'm brand new to this, but I've just spent my morning trying to use bjam to
> build gcc libraries for boost.
>
> I've carefully followed instructions from these two websites:
> http://wagjo.com/index.php?id=27
> and
> http://www.mpi-inf.mpg.de/~dfischer/manual/manual_topic38.html#topic41

It does not appear that those instructions are up-to-date for 1.34.*.
Did you check http://boost.org/more/getting_started/index.html ?

>
> But after running, bjam leaves my Boost\lib folder empty (That is, it
> creates the folder, but does not put anything in it.)
>
> At the end of the bjam output:
> ...failed updating 1400 targets...
> ...skipped 574 targets...

This suggest that lots of targets failed to build.
What are the error messages?

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Building libraries for Dev++ ... usual steps don't work :(

by leper :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Vladmir, thanks for your response.

Since I am using Dev-C++ 4.9.9.2, which I believe uses gcc version 3.4.2, I used the command

bjam --toolset=gcc-3.4.2 stage --with-thread

today, as per the instructions here:
http://boost.org/doc/html/thread/build.html#thread.build
(I only require the thread libraries)

Initially I recieve about 20 or 30 lines of the following error:

warning: Unable to construct ./stage-unversioned

After this I get many errors, such as:

...failed gcc.compile.c++ bin.v2\libs\thread\build\gcc-3.4.2\release\link-static\runtime-link-static\threading-multi\xtime.o...

...skipped <pbin.v2\libs\thread\build\gcc-3.4.2\release\link-static\runtime-link-static\threading-multi>libboost_thread-gcc34-mt-s-1_34_1.a(clean) for lack of <pbin.v2\libs\thread\build\gcc-3.4.2\release\link-static\runtime-link-static\threading-multi>barrier.o


and finally

...failed updating 72 targets...
...skipped 20 targets...
...updated 13 tagets...


And still no libaries in the \stage\lib folder.





Vladimir Prus wrote:
On Friday 18 January 2008 18:54:53 leper wrote:
>
> Hi all,
> I'm brand new to this, but I've just spent my morning trying to use bjam to
> build gcc libraries for boost.
>
> I've carefully followed instructions from these two websites:
> http://wagjo.com/index.php?id=27
> and
> http://www.mpi-inf.mpg.de/~dfischer/manual/manual_topic38.html#topic41

It does not appear that those instructions are up-to-date for 1.34.*.
Did you check http://boost.org/more/getting_started/index.html ?

>
> But after running, bjam leaves my Boost\lib folder empty (That is, it
> creates the folder, but does not put anything in it.)
>
> At the end of the bjam output:
> ...failed updating 1400 targets...
> ...skipped 574 targets...

This suggest that lots of targets failed to build.
What are the error messages?

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Building libraries for Dev++ ... usual steps don't work :(

by Bugzilla from ghost@cs.msu.su :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 22 January 2008 15:08:09 leper wrote:

>
> Hi Vladmir, thanks for your response.
>
> Since I am using Dev-C++ 4.9.9.2, which I believe uses gcc version 3.4.2, I
> used the command
>
> bjam --toolset=gcc-3.4.2 stage --with-thread
>
> today, as per the instructions here:
> http://boost.org/doc/html/thread/build.html#thread.build
> (I only require the thread libraries)
>
> Initially I recieve about 20 or 30 lines of the following error:
>
> warning: Unable to construct ./stage-unversioned
>
> After this I get many errors, such as:
>
> ...failed gcc.compile.c++
> bin.v2\libs\thread\build\gcc-3.4.2\release\link-static\runtime-link-static\threading-multi\xtime.o...

In addition to such messages there should be:

1. The actual command being executed.
2. Error messages from that command.

Can you provide those?

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Building libraries for Dev++ ... usual steps don't work :(

by leper :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here is a dump of the first 30 or so lines from the console window:


C:\BoostNew>bjam --toolset=gcc stage --with-thread
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
warning: Unable to construct ./stage-unversioned
...patience...
...found 420 targets...
...updating 92 targets...
gcc.compile.c++ bin.v2\libs\thread\build\gcc\debug\threading-multi\barrier.o
'-ftemplate-depth-128' is not recognized as an internal or external command,
operable program or batch file.

      -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads  -DBOOST_ALL_NO_LI
B=1 -DBOOST_THREAD_BUILD_DLL=1  -I"." -c -o "bin.v2\libs\thread\build\gcc\debug\
threading-multi\barrier.o" "libs\thread\src\barrier.cpp"

...failed gcc.compile.c++ bin.v2\libs\thread\build\gcc\debug\threading-multi\bar
rier.o...
gcc.compile.c++ bin.v2\libs\thread\build\gcc\debug\threading-multi\condition.o
'-ftemplate-depth-128' is not recognized as an internal or external command,
operable program or batch file.

 and these are the last 30 lines...


 -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads  -
DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2\lib
s\thread\build\gcc\release\link-static\runtime-link-static\threading-multi\tss.o
" "libs\thread\src\tss.cpp"

...failed gcc.compile.c++ bin.v2\libs\thread\build\gcc\release\link-static\runti
me-link-static\threading-multi\tss.o...
gcc.compile.c++ bin.v2\libs\thread\build\gcc\release\link-static\runtime-link-st
atic\threading-multi\xtime.o
'-ftemplate-depth-128' is not recognized as an internal or external command,
operable program or batch file.

      -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -mthreads  -
DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2\lib
s\thread\build\gcc\release\link-static\runtime-link-static\threading-multi\xtime
.o" "libs\thread\src\xtime.cpp"

...failed gcc.compile.c++ bin.v2\libs\thread\build\gcc\release\link-static\runti
me-link-static\threading-multi\xtime.o...
...skipped <pbin.v2\libs\thread\build\gcc\release\link-static\runtime-link-stati
c\threading-multi>libboost_thread-gcc-mt-s-1_34_1.a(clean) for lack of <pbin.v2\
libs\thread\build\gcc\release\link-static\runtime-link-static\threading-multi>ba
rrier.o...
...skipped <pbin.v2\libs\thread\build\gcc\release\link-static\runtime-link-stati
c\threading-multi>libboost_thread-gcc-mt-s-1_34_1.a for lack of <pbin.v2\libs\th
read\build\gcc\release\link-static\runtime-link-static\threading-multi>barrier.o
...
...skipped <pstage\lib>libboost_thread-gcc-mt-s-1_34_1.a for lack of <pbin.v2\li
bs\thread\build\gcc\release\link-static\runtime-link-static\threading-multi>libb
oost_thread-gcc-mt-s-1_34_1.a...
...failed updating 72 targets...
...skipped 20 targets...
...updated 13 targets...


I think that includes what you asked for.

Thanks again,
Tim

Vladimir Prus wrote:
On Tuesday 22 January 2008 15:08:09 leper wrote:
>
> Hi Vladmir, thanks for your response.
>
> Since I am using Dev-C++ 4.9.9.2, which I believe uses gcc version 3.4.2, I
> used the command
>
> bjam --toolset=gcc-3.4.2 stage --with-thread
>
> today, as per the instructions here:
> http://boost.org/doc/html/thread/build.html#thread.build
> (I only require the thread libraries)
>
> Initially I recieve about 20 or 30 lines of the following error:
>
> warning: Unable to construct ./stage-unversioned
>
> After this I get many errors, such as:
>
> ...failed gcc.compile.c++
> bin.v2\libs\thread\build\gcc-3.4.2\release\link-static\runtime-link-static\threading-multi\xtime.o...

In addition to such messages there should be:

1. The actual command being executed.
2. Error messages from that command.

Can you provide those?

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build