• 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
Re: Linker fails to link in static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker fails to link in static library


  • Subject: Re: Linker fails to link in static library
  • From: Xochitl Lunde <email@hidden>
  • Date: Mon, 17 Jan 2011 17:45:35 -0600



> Hi, thanks for the tips. Architectures all appear to be i386 and
> nothing is being built for multiple archs. 'file' prints out:
>    librivregistrar-no.a: current ar archive random library


That's interesting.  My dylib will print much more information:
xochitl-lundes-imac:Debug xlunde$ file libcontrol.dylib
libcontrol.dylib: Mach-O universal binary with 2 architectures
libcontrol.dylib (for architecture i386): Mach-O dynamically linked shared library i386
libcontrol.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64

ld: warning: Fl_Input::~Fl_Input()has different visibility (default)
> in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib/libfltk.a(Fl_Input.
> o) and (hidden) in /Users/philip/Work/Builds/Arcade Typing Tutor.
> build/Debug/Arcade Typing Tutor-FLTK.build/Objects-normal/i386/GameWindow.o


I seem to recall that I was never able to make anything link when I had this warning, but it's been a very long time.  In your library, what's set under "Symbols Hidden by Default" ?  I'm not sure this is the right field to fix the warning, but it's the closest thing I see.
 _______________________________________________
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

References: 
 >Re: Linker fails to link in static library (From: Philip White <email@hidden>)

  • Prev by Date: Re: Linker fails to link in static library
  • Next by Date: Re: Linker fails to link in static library SOLVED
  • Previous by thread: Re: Linker fails to link in static library
  • Next by thread: Re: Linker fails to link in static library
  • Index(es):
    • Date
    • Thread