English 中文(简体)
Bada联系人没有抱怨丢失的标志,可能发生故障
原标题:Bada linker does not complain on missing symbols, runtime crashes possible

取样器具,任何一台。 例如,“基本应用”。 加入:

extern void Hello();

在任何地方都没有界定职能。 随后在MainForm:On Initializing下向它发出呼吁:

MainForm::OnInitializing(void)
{
    Hello();
    //...

这些评估汇编并链接起来只是罚款,并符合这一条。 然后坠毁。 坠毁事件并不是夸张的断点。

SDK 2.0.5,瞄准Va 2.0 HVGA。 所有环境都是缺省。

与这种联系者的行为有何关联? 我怎么能够像存在的其他每一个联系人一样,检查未决象征?

最佳回答

EDIT 技术支持法庭:

增加以下选择:-Wl,-no-un Defin,在项目探索者->中正确点击你的项目;Properties->C++ 1. 建设和开发; C++ Linker->Miscellaneous->Linkercodes。

问题回答

暂无回答




相关问题
Where are the symbols etext, edata and end defined?

This is a code from Linux man page: #include <stdio.h> #include <stdlib.h> extern char etext, edata, end; int main() { printf("First address past: "); printf(" program text (...

Problem statically linking MFC libraries

I have a Visual Studio 6 workspace I m trying to convert to a Visual Studio 2008 solution. The output of said solution is a .dll. It has to be a .dll and it needs to statically link MFC as I can t ...

Create a shared lib using another shared lib

I have a shared library "libwiston.so". I am using this to create another shared library called "libAnimation.so", which will be used by another project. Now, the second library "libAnimation.so" can ...

C++ linker - Lack of duplicate symbols

Why does the following code not give me a duplicate symbol linker error for Impl? I ran across this problem in some code I inherited and I m recreating a shorter version here for simplicity. I have ...

problem w/ linking static function g++

I am trying to build a small program and I have my own library libfoo. I have a camera class that is calling a static function from my Vector3 class (i.e. crossProduct). My camera class and Vector3 ...

Extract statically linked libraries from an executable

I m not sure if this is even possible, but given an executable file (foo.exe), with has many libraries which has been linked statically. Is there any software that extract from this file the .lib ( ...

热门标签