Some people reports that building of Firefox failed with
"error: 'BTOA_DataToAscii' was not declared in this scope" .
For example,
http://lists.freebsd.org/pipermail/freebsd-questions/2012-July/243943.htmlhttp://lists.freebsd.org/pipermail/freebsd-questions/2012-July/243957.html
This is caused by unintended interference with Firefox local base64.h and /usr/local/include/base64.h .
Some ports install /usr/local/include/base64.h , or manually put it,
then, Firefox sourcecode include it mistaken, and build failed.
Fix:
This is not fix, but workaround.
Temporarily move or rename /usr/local/include/base64.h during build of Firefox,
(or uninstall the ports that have /usr/local/include/base64.h
(security/heimdal))
A candidate of fix is modify heimdal ports to install
/usr/local/include/heimdal/base64.h , instead of /usr/local/include/base64.h .
But IMHO, the best is modify include search path of build of Firefox .