Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-07

Building Lazarus on MacOS 10.3.9 Panther

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roland Turcan

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.

Reply by email

Tom Gregorovic
to Roland Turcan
Roland Turcan wrote 76 lines
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

Reply by email

Roland Turcan
to Tom Gregorovic

Hello Tom,

Thanks for your answer. Could you tell me, why GTK1 widgetset has problem too?

TRoland;

<<< 15.7.2008 20:10 - Tom Gregorovic "" >>>

Roland Turcan wrote 76 lines
> 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. >

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

TG> Tom

Reply by email