Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-08-23 10:51:03


Bugs item #1267229, was opened at 2005-08-23 17:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1267229&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephane Bortzmeyer (bortz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot compile on Sparc/NetBSD: redefinition of `struct

Initial Comment:
I cannot compile Boost on my UltraSparc (64 bits)
machine running NetBSD:

...found 4111 targets...
...updating 325 targets...
gcc-C++-action
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/build/bin/boost/libs/dat
e_time/build/libboost_date_time.so/gcc/release/shared-linkable-true/threading-multi/gr
eg_month.o
In file included from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/type_traits
/intrinsics.hpp:39,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/type_traits
/is_union.hpp:16,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/type_traits
/is_class.hpp:14,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/detail/indi
rect_traits.hpp:10,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/iterator/de
tail/facade_iterator_category.hpp:27,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/iterator/it
erator_facade.hpp:14,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/iterator/it
erator_adaptor.hpp:15,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/token_itera
tor.hpp:21,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/tokenizer.h
pp:20,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/date_time/d
ate_parsing.hpp:12,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/date_time/g
regorian/parsers.hpp:13,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/boost/date_time/g
regorian/greg_facet.hpp:14,
                 from
/usr/pkgsrc/devel/boost-libs/work/boost_1_33_0/libs/date_time/sr
c/gregorian/greg_month.cpp:15:
/usr/include/g++/type_traits.h:55: error: redefinition
of `struct __true_type'
/usr/include/g++/bits/type_traits.h:90: error: previous
definition of `struct
   __true_type'
/usr/include/g++/type_traits.h:58: error: redefinition
of `struct __false_type'
/usr/include/g++/bits/type_traits.h:91: error: previous
definition of `struct
   __false_type'
/usr/include/g++/type_traits.h:62: error: redefinition
of `struct
   __type_traits<_Tp>'
/usr/include/g++/bits/type_traits.h:94: error: previous
definition of `struct
   __type_traits<_Tp>'
/usr/include/g++/type_traits.h:96: error: redefinition
of `struct
   __type_traits<bool>'
/usr/include/g++/bits/type_traits.h:123: error:
previous definition of `struct
   __type_traits<bool>'
/usr/include/g++/type_traits.h:106: error: redefinition
of `struct
   __type_traits<char>'

NetBSD 2.0.1

gcc:

% g++ -v
Using built-in specs.
Configured with:
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure
--enable-long-long --disable-multilib --enable-threads
--disable-symvers --build=i386-unknown-netbsdelf
--host=sparc64--netbsd --target=sparc64--netbsd
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1267229&group_id=7586

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk