On Nov 27, 2012, at 6:04 AM, Sergey <[email protected]> wrote: > 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!
Looks like you are building for i386 but the zLib that you are linking against was built for another arch (ppc I am assuming since you are on 10.4). Which zLib are you linking against? System supplied or Qt supplied or somewhere else? ---- Mike J. _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
