Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unresolved external linking to C runtime static library

11 views
Skip to first unread message

dwb

unread,
Mar 14, 2008, 12:10:03 PM3/14/08
to

Call to ftime() links with Dynamic RTL checked but when it is unchecked causes ILINK32 Error "Unresolved external '__ftime' referenced from ....obj". How does one statically link to C runtime library functions? I didn't find a cc3280.lib to include in the project and having the following in the library search path is not enough: $(BDS)\lib;$(BDS)\lib\release;$(BDS)\lib\obj;$(BDS)\lib\psdk

dwb

unread,
Mar 14, 2008, 12:30:46 PM3/14/08
to

>>Call to ftime() links with Dynamic RTL checked

Correction. The call was to _ftime() because CodeGear Help misdirected me to ms-help://borland.bds5/MS.NETFramework.v20.en/dv_vccrt/html/96bc464c-3bcd-41d5-a212-8bbd836b814a.htm . When changed to ftime() linking with Dynamic RTL checked succeeds. (unchecked still does not)

dwb

unread,
Mar 14, 2008, 12:18:21 PM3/14/08
to

>Call to ftime() links with Dynamic RTL checked

Not so, at least anymore. I don't know why it linked successfully that time.

dwb

unread,
Mar 14, 2008, 1:54:06 PM3/14/08
to

>Call to ftime() links with Dynamic RTL checked but when it is unchecked causes ILINK32 Error "Unresolved external '__ftime'

Correction, I called _ftime() because CodeGear Help misdirected me. Calling ftime() and having $(BDS)\lib\release in the library search path seems to be enough. Note: it did not Build correctly until a Clean was performed.

Darko Miletic

unread,
Mar 14, 2008, 2:28:48 PM3/14/08
to
dwb wrote:
>> Call to ftime() links with Dynamic RTL checked but when it is unchecked causes ILINK32 Error "Unresolved external '__ftime'
>
> Correction, I called _ftime() because CodeGear Help misdirected me. Calling ftime() and having $(BDS)\lib\release in the library search path seems to be enough. Note: it did not Build correctly until a Clean was performed.

After any important change in project settings (like switching from
dynamic to static RTL) full rebuild is a must.

0 new messages