[Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

Sergey sh0375 at gmail.com
Tue Nov 27 12:04:03 CET 2012


Hello,

I built QT 4.7.4 on MacOS 10.4 Tiger.
When I build my app, I get this error while linking:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_CFDataGetBytePtr
_CFDataGetLength
_CFDataGetTypeID
_CFGetTypeID
___CFConstantStringClassReference
_FrontWindow
_GetCurrentProcess
_SelectWindow
_SetFrontProcess
_ShowWindow
_deflate
_deflateEnd
_deflateInit2_
_deflateInit_
_inflate
_inflateEnd
_inflateInit2_
_inflateInit_
_zError
_zlibVersion
collect2: ld returned 1 exit status


Where these symbols must be defined and how to add them to linking process?


--
Thanks!



More information about the Interest mailing list