• 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
WEAK linking to TWO dylibs fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WEAK linking to TWO dylibs fails


  • Subject: WEAK linking to TWO dylibs fails
  • From: Ruslan Zasukhin <email@hidden>
  • Date: Tue, 06 Feb 2007 13:47:09 +0200
  • Thread-topic: WEAK linking to TWO dylibs fails

Hi,

I have V4RB project which has option

Other Linker Flags
    -lvshared_ppc_debug -weak-lvkernel_ppc_debug -weak-lvclient_ppc_debug

As you see, I try link last 2 dylibs as WEAK.
But then I get this strange error on linking:

    /usr/bin/libtool: can't open file: * (No such file or directory)

Full listing:

-------------------------------------------------
Checking Dependencies
Ld "/PARADIGMA/Developer_2/V4RB/xcode/build/Debug (Native)/V4RB.dylib"
normal ppc
    cd /PARADIGMA/Developer_2/V4RB/xcode
    setenv MACOSX_DEPLOYMENT_TARGET 10.3
    setenv NEXT_ROOT /Developer/SDKs/MacOSX10.3.9.sdk
    /usr/bin/g++-3.3 -o /PARADIGMA/Developer_2/V4RB/xcode/build/Debug\
(Native)/V4RB.dylib -L/PARADIGMA/Developer_2/V4RB/xcode/build/Debug\
(Native) -L/Developer/SDKs/MacOSX10.3.9.sdk/usr/local/lib/vcomponents
-L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3
-F/PARADIGMA/Developer_2/V4RB/xcode/build/Debug\ (Native)
-F/Developer/SDKs/MacOSX10.3.9.sdk/usr/local/lib/vcomponents -filelist
/PARADIGMA/Developer_2/V4RB/xcode/build/V4RB.build/Debug\
(Native)/V4RB.build/Objects-normal/ppc/V4RB.LinkFileList -framework Carbon
-framework QuickTime -arch ppc -prebind -Wl,-single_module
-compatibility_version 2.4.3 -current_version 2.4.3 -install_name
/usr/local/lib/V4RB.dylib -Wl,-Y,1455 -dynamiclib -mmacosx-version-min=10.3
-lvshared_ppc_debug -weak-lvkernel_ppc_debug -weak-lvclient_ppc_debug
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk

/usr/bin/libtool: NEXT_ROOT environment variable ignored because -syslibroot
specified

/usr/bin/libtool: can't open file: * (No such file or directory)
-------------------------------------------------


If I remove WEAK for at least one dylib it links without problems:

All these combinations do work:

    -lvshared_ppc_debug -weak-lvkernel_ppc_debug -lvclient_ppc_debug
    -lvshared_ppc_debug -lvkernel_ppc_debug -weak-lvclient_ppc_debug
    -lvshared_ppc_debug -lvkernel_ppc_debug -lvclient_ppc_debug


It looks to me as a bug in linker?


--
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


 _______________________________________________
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

  • Prev by Date: Re: Bizarre x86 segment layout problem causing select() slowdown
  • Next by Date: RE: Xcode dependency handling
  • Previous by thread: Re: Examples of Makefiles for Universal Binaries?
  • Next by thread: Promblems with dyld and QuickTIme framework
  • Index(es):
    • Date
    • Thread