Boost logo

Boost-Build :

Subject: [Boost-build] bootstrap failed using sun studio 11 - Please help
From: Alex Lai (Scotia Capital) (Alex_Lai_at_[hidden])
Date: 2011-05-13 15:34:18

Hi experts,

            I'm trying to build boost 1.46.1 with Sun Studio 11 on a sparc machine. Below is what I did:

# which CC
# CC=/opt/SUNWspro11/SUNWspro/bin/CC; export CC

# cd /var/tmp/boost_1_46_1
            # ./ --with-toolset=sun-11.0 --prefix=/usr/local/boost1.46.1-sun --with-python=python3 --with-python-root=/usr/local/bin
-n Building Boost.Jam with toolset sun-11.0...

Failed to build Boost.Jam
Consult 'bootstrap.log' for more details

# tail bootstrap.log
"fileunix.c", line 190: cannot initialize parameter: files
"fileunix.c", line 191: syntax error before or at: }
"fileunix.c", line 201: parameter not in identifier list: files
"fileunix.c", line 212: warning: function prototype parameters must have types
"fileunix.c", line 212: parameter not in identifier list: profile_exit
"fileunix.c", line 213: syntax error before or at: }
"fileunix.c", line 216: parameter not in identifier list: file_info_t
"fileunix.c", line 217: parameter not in identifier list: file_query
"fileunix.c", line 217: cannot recover from previous errors
cc: acomp failed for fileunix.c

            It looks like the cc is used instead of CC.
            Could someone please help?

Thanks in advance,


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. No member of the Scotiabank Group is liable for any errors or omissions in the content or transmission of this email or accepts any responsibility or liability for loss or damage arising from the receipt or use of this transmission. Scotiabank Group may monitor, retain and/or review email. Trading instructions received by e-mail or voicemail will not be accepted or acted upon. Unless indicated in writing, opinions contained in this email are those of the author and are not endorsed by any member of the Scotiabank Group. 
For information on some members of the Scotiabank Group:
For authorized users of the Scotia Capital trademark:
Pour obtenir la traduction en français:
Traducción en español:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at