• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Mark Grob <email@hidden>
  • Date: Tue, 22 Mar 2005 22:11:57 -0500

Darn Link Error with zLib? suggestions on completing linker?
I am using the -lz option under Xcode and I still get this link error ld: Undefined symbols:
_z_inflate
_z_inflateEnd
_z_inflateInit_
ld: Undefined symbols:
_z_inflate
_z_inflateEnd
_z_inflateInit_


Any suggestions?

-Mark Grob
www.vrshell.com

Error Log:
/usr/bin/g++-3.3 -o "/Lore/torque/example/Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug OSX" "-L/Lore/torque/example" "-L../lib/vorbis/macosx" "-L/Lore/torque/pb/MacOSX" "-L/Lore/torque/pb" "-L/Lore/torque/lib/zlib" "-L/Lore/torque/lib/sdl/MacOSX" "-F/Lore/torque/example" "-F../lib/openal/macCarb" "-F/Lore/torque/pb" "-F/Lore/torque/lib/sdl/MacOSX" -filelist /Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/LinkFileList "-arch" "ppc" "-prebind" "-Wl,-no_arch_warnings" "-pg" "-flat_namespace" "-lz" "-framework" "AGL" "-framework" "Carbon" "-framework" "OpenGL" "-framework" "CoreFoundation" "-framework" "DrawSprocket" "-framework" "CoreServices" "-logg" "-lvorbis" "-lisense" "-lSDL_mixer" "-lSDL" "-lSDLmain" "-lz"
ld: warning prebinding disabled because dependent library: libisense.dylib is not prebound
ld: warning multiple definitions of symbol _crc32
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/crc32.o definition of _crc32 in section (__TEXT,__text)
/usr/lib/libz.dylib(crc32.o) definition of _crc32
ld: warning multiple definitions of symbol _get_crc_table
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/crc32.o definition of _get_crc_table in section (__TEXT,__text)
/usr/lib/libz.dylib(crc32.o) definition of _get_crc_table
ld: warning multiple definitions of symbol _deflate
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflate in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflate
ld: warning multiple definitions of symbol _deflateCopy
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflateCopy in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflateCopy
ld: warning multiple definitions of symbol _deflateReset
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflateReset in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflateReset
ld: warning multiple definitions of symbol _deflateSetDictionary
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflateSetDictionary in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflateSetDictionary
ld: warning multiple definitions of symbol _deflateInit2_
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflateInit2_ in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflateInit2_
ld: warning multiple definitions of symbol _deflateEnd
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflateEnd in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflateEnd
ld: warning multiple definitions of symbol _deflateParams
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflateParams in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflateParams
ld: warning multiple definitions of symbol _deflateInit_
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/deflate.o definition of _deflateInit_ in section (__TEXT,__text)
/usr/lib/libz.dylib(deflate.o) definition of _deflateInit_
ld: warning multiple definitions of symbol _zError
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/zutil.o definition of _zError in section (__TEXT,__text)
/usr/lib/libz.dylib(zutil.o) definition of _zError
ld: warning multiple definitions of symbol _zlibVersion
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/zutil.o definition of _zlibVersion in section (__TEXT,__text)
/usr/lib/libz.dylib(zutil.o) definition of _zlibVersion
ld: warning multiple definitions of symbol _inflateEnd
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflateEnd in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflateEnd
ld: warning multiple definitions of symbol _inflateSync
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflateSync in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflateSync
ld: warning multiple definitions of symbol _inflateSyncPoint
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflateSyncPoint in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflateSyncPoint
ld: warning multiple definitions of symbol _inflate
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflate in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflate
ld: warning multiple definitions of symbol _inflateSetDictionary
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflateSetDictionary in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflateSetDictionary
ld: warning multiple definitions of symbol _inflateInit2_
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflateInit2_ in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflateInit2_
ld: warning multiple definitions of symbol _inflateReset
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflateReset in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflateReset
ld: warning multiple definitions of symbol _inflateInit_
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/inflate.o definition of _inflateInit_ in section (__TEXT,__text)
/usr/lib/libz.dylib(inflate.o) definition of _inflateInit_
ld: warning multiple definitions of symbol _adler32
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/adler32.o definition of _adler32 in section (__TEXT,__text)
/usr/lib/libz.dylib(adler32.o) definition of _adler32
ld: warning multiple definitions of symbol _gzeof
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzeof in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzeof
ld: warning multiple definitions of symbol _gzclose
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzclose in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzclose
ld: warning multiple definitions of symbol _gzdopen
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzdopen in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzdopen
ld: warning multiple definitions of symbol _gzerror
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzerror in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzerror
ld: warning multiple definitions of symbol _gzflush
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzflush in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzflush
ld: warning multiple definitions of symbol _gzgetc
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzgetc in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzgetc
ld: warning multiple definitions of symbol _gzgets
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzgets in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzgets
ld: warning multiple definitions of symbol _gzopen
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzopen in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzopen
ld: warning multiple definitions of symbol _gzprintf
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzprintf in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzprintf
ld: warning multiple definitions of symbol _gzputc
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzputc in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzputc
ld: warning multiple definitions of symbol _gzputs
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzputs in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzputs
ld: warning multiple definitions of symbol _gzread
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzread in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzread
ld: warning multiple definitions of symbol _gzrewind
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzrewind in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzrewind
ld: warning multiple definitions of symbol _gzseek
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzseek in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzseek
ld: warning multiple definitions of symbol _gzsetparams
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzsetparams in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzsetparams
ld: warning multiple definitions of symbol _gztell
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gztell in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gztell
ld: warning multiple definitions of symbol _gzwrite
/Lore/torque/example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/ Objects-normal/ppc/gzio.o definition of _gzwrite in section (__TEXT,__text)
/usr/lib/libz.dylib(gzio.o) definition of _gzwrite
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _Sleep used from dynamic library /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/OSServices.framework/Versions/A/OSServices(PowerPriv.o) not from earlier dynamic library libisense.dylib(single module)
ld: Undefined symbols:
_z_inflate
_z_inflateEnd
_z_inflateInit_
ld: Undefined symbols:
_z_inflate
_z_inflateEnd
_z_inflateInit_


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: (no subject)
      • From: Justin Walker <email@hidden>
References: 
 >XCode does not find libraries in an umbrealla framework (From: Andreas Grosam <email@hidden>)

  • Prev by Date: bug in xcode interface?
  • Next by Date: help with debugger, urgent!
  • Previous by thread: XCode does not find libraries in an umbrealla framework
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread