Boost logo

Boost-Build :

From: BRIDGES Dick (Dick.Bridges_at_[hidden])
Date: 2005-05-02 15:49:59


------_=_NextPart_001_01C54F58.81668E92 Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Host system is RedHat Fedora and I've clearly angered bjam because, not
matter how I try to compile threads, I get the following:

=20

<stimulus>

[fool_at_mycomputer boost_1_32_0]# bjam --v2 gcc-3.4arm

</stimulus>

=20

<response>

...patience...

...found 1481 targets... <<=3D=3D Note that everything else compiled ok
(days ago)

...updating 13 targets...

gcc.compile.c++
bin.v2/libs/thread/build/gcc-3.4arm/debug/threading-multi/condition.o

In file included from
/usr/local/boost_1_32_0/boost/thread/detail/config.hpp:18,

from libs/thread/src/condition.cpp:12:

/usr/local/boost_1_32_0/boost/config/requires_threads.hpp:47:5: #error
"Compiler threading support is not turned on. Please set the correct
command line options for threading: -pthread (Linux), -pthreads
(Solaris) or -mthreads (Mingw32)"

[snip] [snip] [snip] [snip] . . . [snip]

</response>

=20

user-config.jam contains everything I could think of:

=20

<snippet>

using gcc : 3.4arm : /my_path/bin/arm-softfloat-linux-gnu-c++ : \

<cxxflags>-I/my_path/include/c++/3.3.3/ \

<cxxflags>-I/my_path/include/c++/3.3.3/arm-softfloat-linux-gnu/bits/ \

<compileflags>-pthread \

<compileflags>-DBOOST_HAS_THREADS \

<linkflags>-L/my_path/lib \

<linkflags>-L/my_path/lib/gcc-lib/arm-softfloat-linux-gnu/3.3.3 \

;

</snippet>

=20

I clearly missed some instructions somewhere. Can someone point me in
the right direction?

=20

Sincere thanks for any assistance,

Dick Bridges

=20

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken

=20

=20

 ------_=_NextPart_001_01C54F58.81668E92 Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>Host system is RedHat Fedora and I&#8217;ve clea=
rly
angered bjam because, not matter how I try to compile threads, I get the
following:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;stimulus&gt;</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>[fool_at_mycomputer
boost_1_32_0]# bjam --v2 gcc-3.4arm</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>&lt;/stimulus&gt;</spa=
n></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></font></=
p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;response&gt;</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>...patience...</span><=
/font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>...found 1481 targets.=
..&nbsp;
&lt;</span></font><font size=3D2 face=3DWingdings><span style=3D'font-size:=
10.0pt;
font-family:Wingdings'>&ccedil;</span></font><font size=3D2 face=3D"Courier=
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'> Note that everything =
else
compiled ok (days ago)</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>...updating 13 targets=
...</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>gcc.compile.c++
bin.v2/libs/thread/build/gcc-3.4arm/debug/threading-multi/condition.o</span=
></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>In file included from
/usr/local/boost_1_32_0/boost/thread/detail/config.hpp:18,</span></font></p=
>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from libs/thread/src/condition.cpp:12:</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3D"C=
ourier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>/usr/local/boost_1_32_=
0/boost/config/requires_threads.hpp:47:5:
#error &quot;Compiler threading support is not turned on. Please set the
correct command line options for threading: -pthread (Linux), -pthreads
(Solaris) or -mthreads (Mingw32)&quot;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>[snip] [snip] [snip] [snip] . . . [snip]</span><=
/font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;/response&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>user-config.jam contains everything I could thin=
k of:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;snippet&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&nbsp;&nbsp; using gcc : 3.4arm : /my_path/bin/a=
rm-softfloat-linux-gnu-c++
: \</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;cxxflags&gt;-I/my_path/include/c++/3.3.3/ \<=
/span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;cxxflags&gt;-I/my_path/include/c++/3.3.3/arm=
-softfloat-linux-gnu/bits/
\</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;compileflags&gt;-pthread \</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;compileflags&gt;-DBOOST_HAS_THREADS \</span>=
</font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;linkflags&gt;-L/my_path/lib \</span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;linkflags&gt;-L/my_path/lib/gcc-lib/arm-soft=
float-linux-gnu/3.3.3
\</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&lt;/snippet&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>I clearly missed some instructions somewhere.&nb=
sp;
Can someone point me in the right direction?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>Sincere thanks for any assistance,</span></font>=
</p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>Dick Bridges</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span style=3D'fon=
t-size:12.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span style=3D'fon=
t-size:10.0pt;
font-family:"Courier New"'>&quot;For every complex problem, there is a solu=
tion
that is simple, neat, and wrong.&quot;&nbsp; H.L. Mencken</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span style=3D'fon=
t-size:12.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Courier New"><span style=3D'fon=
t-size:12.0pt;
font-family:"Courier New"'>&nbsp;</span></font></p>

</div>

</body>

</html>
 ------_=_NextPart_001_01C54F58.81668E92-- ------=_NextPartTM-000-85097718-2217-4804-bb8f-b2e5507201d2--


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