Hello,

At 17:55 -0700 on 2012-4-11 Alexander Hansen wrote:
 >
 > On 4/11/12 4:57 PM, Stefan Bruda wrote:
 > > Webkit fails as follows on a fresh fink install on 10.7 (Xcode 4.2).
 > > I noticed an older thread dealing with the same package and at least
 > > in part same error
 > > <http://thread.gmane.org/gmane.os.macosx.fink.user/33461>, but there
 > > was no resolution on that one either.  Advice is appreciated.
 > >
 > >    CXXLD  Programs/jsc
 > >    CCLD   Programs/minidom
 > >    CXXLD  libwebkit-1.0.la
 > > libtool: link: warning: `-no-install' is ignored for 
 > > x86_64-apple-darwin11.3.0
 > > libtool: link: warning: assuming `-no-fast-install' instead
 > > clang: warning: argument unused during compilation: '-ansi'
 > > Undefined symbols for architecture x86_64:
 > > Undefined symbols for architecture x86_64:
 > >    "unsigned long WTF::arrayLength<JSC::JSString*, 256ul>(JSC::JSString* 
 > > (&) [256ul])", referenced from:
 > >    "unsigned long WTF::arrayLength<JSC::JSString*, 256ul>(JSC::JSString* 
 > > (&) [256ul])", referenced from:
 > >        JSC::SmallStrings::SmallStrings() in 
 > > libJavaScriptCore.a(libJavaScriptCore_la-SmallStrings.o)
 > >        JSC::SmallStrings::SmallStrings() in 
 > > libJavaScriptCore.a(libJavaScriptCore_la-SmallStrings.o)
 > >        JSC::SmallStrings::SmallStrings() in 
 > > libJavaScriptCore.a(libJavaScriptCore_la-SmallStrings.o)
 > >        JSC::SmallStrings::SmallStrings() in 
 > > libJavaScriptCore.a(libJavaScriptCore_la-SmallStrings.o)
 > > ld: symbol(s) not found for architecture x86_64
 > > ld: symbol(s) not found for architecture x86_64
 > > clang: clang: error: error: linker command failed with exit code 1 (use -v 
 > > to see invocation)linker command failed with exit code 1 (use -v to see 
 > > invocation)
 > >
 > > make[1]: *** [Programs/minidom] Error 1
 > > make[1]: *** Waiting for unfinished jobs....
 > > make[1]: *** [Programs/jsc] Error 1
 > > ld: duplicate symbol findEntity(char const*, unsigned int) in 
 > > WebCore/html/.libs/libwebkit_1_0_la-PreloadScanner.o and 
 > > WebCore/html/.libs/libwebkit_1_0_la-HTMLTokenizer.o for architecture x86_64
 > > clang: error: linker command failed with exit code 1 (use -v to see 
 > > invocation)
 > > make[1]: *** [libwebkit-1.0.la] Error 1
 > > make[1]: Leaving directory 
 > > `/opt/sw/src/fink.build/webkit-1.0.2-1.2.7-1/webkit-1.2.7'
 > > make: *** [all] Error 2
 > > make: Leaving directory 
 > > `/opt/sw/src/fink.build/webkit-1.0.2-1.2.7-1/webkit-1.2.7'
 > > ### execution of /tmp/fink._cksH failed, exit code 2
 > >
 > > Best regards,
 > > Stefan
 > >
 > It looks similar with clang-3.1 (Xcode 4.3.2).

... which just gave me an idea to try and use llvm.  I thus included
the usual

    SetCC: llvm-gcc
    SetCXX: llvm-g++

and webkit-1.0.2 compiles and appears to work well.

Am I doing anything unorthodox using the SetCC/SetCXX options this
way?

Best regards,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please <http://bruda.ca/ascii>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to