Boost logo

Boost-Build :

From: Ashutosh Lucky (ashutosh_lucky_at_[hidden])
Date: 2008-07-28 03:23:04


Hi,

I am trying to compile boost 1.34.1 filesystem using gcc 3.2.3 on FreeBSD 4.8.

I am compiling using bjam.

I have set option correctly.
./bjam --toolset=gcc stage --with-filesystem -a -d+2

I am getting error for operations.cpp
---------------------------------------------
    "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -I"." -c -o "bin.v2/libs/filesystem/build/gcc-3.2.3/debug/threading-multi/operations.o" "libs/filesystem/src/operations.cpp"

libs/filesystem/src/operations.cpp:69:30: sys/statvfs.h: No such file or directory
libs/filesystem/src/operations.cpp: In function
   `boost::filesystem::detail::space_pair
   boost::filesystem::detail::space_api(const std::string&)':
libs/filesystem/src/operations.cpp:1004: aggregate `
   boost::filesystem::detail::statvfs vfs' has incomplete type and cannot be
   defined
libs/filesystem/src/operations.cpp:1006: `::statvfs' undeclared (first use
   here)
--------------------------------------------

I have searched for this file also and this does not exists any where on FreeBSD4.8.

Is there any workaround to fix this for FreeBSD4.8

Any help will be highly appreciated.
 
Thanks & Regards,
Ashutosh Lucky From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/


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