Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JavaScriptCore undefined symbols for KJS classes



No, _javascript_Core and WebCore have a specific export list to limit the symbols exposed.

— Timothy Hatcher


On Oct 4, 2006, at 8:46 PM, Kelly Norton wrote:

Hi Folks,

I have a project where we are attempting to use the KJS classes to manipulate an embedded webview. The application compiles, links and runs when built against a custom build of WebKit, but attempting to build against the stock WebKit frameworks fails to link with a host of undefined symbols. I have copied in some of the output below in case the list of symbols is helpful.

Clearly since _javascript_Core.framework doesn't come equipped with any headers, I can assume that this is outside of the common use case, but Is it possible to build such a project against the stock WebKit?

thanks for your help,
/kelly

##### dump of ld's undefined symbols list ######

/usr/bin/ld: Undefined symbols:
KJS::JSCell::operator new(unsigned long)
KJS::JSLock::lock()
KJS::JSLock::unlock()
KJS::JSObject::putDirect(KJS::Identifier const&, KJS::JSValue*, int)
WTF::fastFree(void*)
KJS::JSCell::getUInt32(unsigned int&) const
_WTFReportAssertionFailure
KJS::Identifier::equal(KJS::UString::Rep const*, char const*)
KJS::JSImmediate::type(KJS::JSValue const*)
KJS::JSImmediate::toString(KJS::JSValue const*)
KJS::PropertyMap::~PropertyMap()
KJS::List::append(KJS::JSValue*)
KJS::JSCell::getObject()
KJS::JSObject::hasInstance(KJS::ExecState*, KJS::JSValue*)
KJS::JSObject::deleteProperty(KJS::ExecState*, unsigned int)
KJS::JSObject::getPropertyNames(KJS::ExecState*, KJS::PropertyNameArray&)
KJS::JSObject::getOwnPropertySlot(KJS::ExecState*, unsigned int, KJS::PropertySlot&)
KJS::JSObject::put(KJS::ExecState*, unsigned int, KJS::JSValue*, int)
KJS::JSObject::mark()
KJS::JSObject::construct(KJS::ExecState*, KJS::List const&)
KJS::JSObject::construct(KJS::ExecState*, KJS::List const&, KJS::Identifier const&, KJS::UString const&, int)
KJS::jsString(char const*)
KJS::jsString(KJS::UString const&)
KJS::Collector::protect(KJS::JSValue*)
KJS::Collector::unprotect(KJS::JSValue*)
KJS::List::at(int) const
KJS::JSObject::implementsConstruct() const
KJS::JSObject::implementsHasInstance() const
KJS::JSObject::get(KJS::ExecState*, KJS::Identifier const&) const
KJS::JSObject::type() const
KJS::JSObject::toNumber(KJS::ExecState*) const
KJS::JSObject::toObject(KJS::ExecState*) const
KJS::JSObject::toString(KJS::ExecState*) const
KJS::JSObject::className() const
KJS::JSObject::toBoolean(KJS::ExecState*) const
vtable for KJS::JSObject
KJS::throwError(KJS::ExecState*, KJS::ErrorType)
KJS::JSImmediate::toObject(KJS::JSValue const*, KJS::ExecState*)
KJS::ArrayInstance::info
KJS::JSObject::call(KJS::ExecState*, KJS::JSObject*, KJS::List const&)
KJS::JSValue::toUInt32(KJS::ExecState*) const
KJS::JSObject::get(KJS::ExecState*, unsigned int) const

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

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >JavaScriptCore undefined symbols for KJS classes (From: "Kelly Norton" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.