Unable to build LibreOffice core on OSX 10.7.5

While building LO core on osx 10.7.5 following the step listed here: https://wiki.documentfoundation.org/Development/BuildingOnMac

after a long time building I got the following errors:

ld: bad codegen, pointer diff in WPXSvInputStream::WPXSvInputStream(com::sun::star::uno::Referencecom::sun::star::io::XInputStream)to global weak symbol vtable for WPXInputStreamfor architecture i386
collect2: ld returned 1 exit status

make[1]: *** Waiting for unfinished jobs…
ld: bad codegen, pointer diff in DocumentHandler::DocumentHandler(com::sun::star::uno::Referencecom::sun::star::xml::sax::XDocumentHandler&)to global weak symbol vtable for OdfDocumentHandlerfor architecture i386
collect2: ld returned 1 exit status

Do you have some suggestions?
Thank you in advance.

Riccardo