Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5088: Odd definition of main() inside library on AIX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-19 22:06:36
#5088: Odd definition of main() inside library on AIX
--------------------------------+-------------------------------------------
Reporter: hstong@⦠| Owner: johnmaddock
Type: Patches | Status: new
Milestone: To Be Determined | Component: regex
Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Comment (by hstong@â¦):
This is AIX with IBM's linker.
A normal build produces:
{{{
ld: 0711-224 WARNING: Duplicate symbol: .main
}}}
When using `-qextchk` (adds XCOFF type-check information):
{{{
ld: 0711-197 ERROR: Type mismatches for symbol: .main
}}}
The confusion over needing `main()` in the library sounds like an issue
with not setting `-bnoentry` on the link step. I believe that this was
resolved with a fix to `vacpp.jam`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5088#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC