[Lazarus] Building Lazarus on MacOS 10.3.9 Panther

Tom Gregorovic _tom_ at centrum.cz
Tue Jul 15 20:10:03 CEST 2008


On Tue, Jul 15, 2008 at 6:30 PM, Roland Turcan <konf at rotursoft.sk> wrote:
> Hello General mailing list!
>
> I have checked out the latest FPC and Lazarus SVNs. Building and
> installing FPC was without any problem.
>
> But the building of Lazarus has the following problems:
>
> Tests-Computer:~/freepascal/lazarus test$ make clean all PP=ppcppc LCL_PLATFORM=gtk
>
> Linking ../lazarus
> /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
> symbol __libiconv_version used from dynamic library /sw/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(iconv.o)
> symbol _aliases_lookup used from dynamic library /sw/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(iconv.o)
> symbol _libiconv used from dynamic library /sw/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(iconv.o)
> symbol _libiconv_close used from dynamic library /sw/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(iconv.o)
> symbol _libiconv_open used from dynamic library /sw/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(iconv.o)
> symbol _libiconvctl used from dynamic library /sw/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(iconv.o)
> symbol _libiconvlist used from dynamic library /sw/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(iconv.o)
> symbol _locale_charset used from dynamic library /sw/lib/libintl.1.dylib(localcharset.lo) not from earlier dynamic library /usr/lib/libiconv.2.dylib(localcharset.o)
> symbol _libiconv_relocate used from dynamic library /sw/lib/libiconv.2.dylib(relocatable.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(relocatable.o)
> symbol _libiconv_set_relocation_prefix used from dynamic library /sw/lib/libiconv.2.dylib(relocatable.o) not from earlier dynamic library /usr/lib/libiconv.2.dylib(relocatable.o)
> /usr/bin/ld: Undefined symbols:
> _iconv
> _iconv_close
> _iconv_open
> An error occurred while linking
> Error: Error while linking
> Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[1]: *** [ide] Error 2
> make: *** [ide] Error 2
>
>
> -----------------
>
> Tests-Computer:~/freepascal/lazarus test$ make clean all PP=ppcppc LCL_PLATFORM=carbon
>
>
> Linking ../lazarus
> /usr/bin/ld: Undefined symbols:
> _kCGColorSpaceGenericRGB
> _CGContextSetBlendMode
> _CGImageCreateWithImageInRect
> _HIShapeCreateEmpty
> _HIViewSetNeedsDisplayInShape
> _kCGColorSpaceGenericGray
> _CGContextAddEllipseInRect
> _CGContextClipToMask
> _CGContextDrawLayerInRect
> _CGLayerCreateWithContext
> _CGLayerGetContext
> _CGLayerRelease
> _HIViewSetNeedsDisplayInRect
> _HIViewSetText
> _HIComboBoxSetListVisible
> _DataBrowserSetMetric
> _kUTTypePlainText
> _kUTTypeUTF16PlainText
> _kUTTypeUTF8PlainText
> _iconv
> _iconv_close
> _iconv_open
> An error occurred while linking
> Error: Error while linking
> Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[1]: *** [ide] Error 2
> make: *** [ide] Error 2
>
>
> What can I do to fix this problem?
>
> PS: Freepascal 2.3.1 compiler is used for building.
>

You need to upgrade Mac OS X to 10.4 or higher to use Carbon interface.

Tom



More information about the Lazarus mailing list