From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-28 19:16:48
I'm fairly certain that's not a build system problem but a problem with
the threading library source. I think your version of GCC enforces
consistent linkage of extern "C" functions, whereas many older GCCs
----- Original Message -----
Sent: Thursday, March 28, 2002 7:06 PM
Subject: [jamboost] Missing environment variable?
> I'm reasonably sure I'm missing an environment variable somewhere but
> can't for the life of me figure out what it is.
> Environment is Redhat Linux 7.2. I used to Redhat RPMs to install
> BOOST_ROOT was populated using the boost_1_27_0.tar.gz. From the
> ~/boost_1_27_0 directory, command line was: "jam -sBOOST_ROOT=.
> libs/thread/build/../src/once.cpp: In function `void boost::call_once
> (void (*) (), once_flag &)':
> boost/thread/once.hpp:38: previous declaration of `void
> boost::call_once (void (*) (), once_flag &)' with C++ linkage
> libs/thread/build/../src/once.cpp:77: conflicts with new declaration
> with C linkage
> libs/thread/build/../src/once.cpp: At top level:
> libs/thread/build/../src/once.cpp:135: parse error at end of input
> g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -pthread
> -I"libs/thread/build" -I"." -o
> </partial result>
> Can someone point me in the right direction?
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