|
Boost Users : |
Subject: [Boost-users] [filesystem] error compiling win win7/mingw
From: Gustavo Villada (villada_at_[hidden])
Date: 2011-11-04 10:04:51
Hi Guys,
I'm trying to compile boost.filesystem on a win7 with mingw.
MinGW is installed by default.
I've already compile bjam, b2 and successful boostrap.bat
I got this error, suggestions?
C:\boost_1_47_0>bjam toolset=gcc --with-filesystem stage
Component configuration:
- chrono : not building
- date_time : not building
- exception : not building
- filesystem : building
- graph : not building
- graph_parallel : not building
- iostreams : not building
- math : not building
- mpi : not building
- program_options : not building
- python : not building
- random : not building
- regex : not building
- serialization : not building
- signals : not building
- system : not building
- test : not building
- thread : not building
- wave : not building
...patience...
...found 525 targets...
...updating 8 targets...
gcc.compile.c++
bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi\v3\src\operations.o
In file included from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1:0,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from libs\filesystem\v3\src\operations.cpp:117:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1:23:
error: #include nested too deeply
libs\filesystem\v3\src\operations.cpp:655:26: warning:
'<unnamed>::create_symbolic_link_api' defined but not used
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads
-DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -I"." -c -o
"bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi\v3\src\operations.o"
"libs\filesystem\v3\src\operations.cpp"
...failed gcc.compile.c++
bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi\v3\src\operations.o...
...skipped <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi>libboost_filesystem-mgw45-mt-d-1_47.a(clean)
for lack of <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi>v3\src\operations.o...
...skipped <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi>libboost_filesystem-mgw45-mt-d-1_47.a
for lack of <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi>v3\src\operations.o...
...skipped <pstage\lib>libboost_filesystem-mgw45-mt-d-1_47.a for lack
of <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi>libboost_filesystem-mgw45-mt-d-1_47.a...
gcc.compile.c++
bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi\v3\src\operations.o
In file included from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1:0,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from libs\filesystem\v3\src\operations.cpp:117:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1:23:
error: #include nested too deeply
libs\filesystem\v3\src\operations.cpp:655:26: warning:
'<unnamed>::create_symbolic_link_api' defined but not used
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
-Wall -mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1
-DNDEBUG -I"." -c -o
"bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi\v3\src\operations.o"
"libs\filesystem\v3\src\operations.cpp"
...failed gcc.compile.c++
bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi\v3\src\operations.o...
...skipped <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi>libboost_filesystem-mgw45-mt-1_47.a(clean)
for lack of <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi>v3\src\operations.o...
...skipped <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi>libboost_filesystem-mgw45-mt-1_47.a
for lack of <pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi>v3\src\operations.o...
...skipped <pstage\lib>libboost_filesystem-mgw45-mt-1_47.a for lack of
<pbin.v2\libs\filesystem\build\gcc-mingw-4.5.2\release\link-static\threading-multi>libboost_filesystem-mgw45-mt-1_47.a...
...failed updating 2 targets...
...skipped 6 targets...
C:\boost_1_47_0>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net