frozen export missing: NewApplication_Fv

Login to reply to this topic.
Mon, 2005-04-25 20:12
Joined: 2005-02-21
Forum posts: 47
I'm really stuck now.
Linking my application for ARMI UREL (using codewarrior), I get the link error below:
-----
MAKEDEF ERROR: command-line: 1 Frozen Export(s) missing from object code:
NewApplication_Fv @1
-----

I've cleaned my object code (even copied a sourcecode and started a clean new project) as suggested @symbian forum but nothing helps.
And I don't understand the logic behind - I'm not creating a library (DLL) to have a frozen export points... And at the end - there IS NewApplication_Fv at object files. Ok, I know, it is not frozen but I can not get it frozen either.

any help is precious
  Ahti.

Mon, 2005-04-25 20:38
Joined: 2004-08-26
Forum posts: 34
frozen export missing: NewApplication_Fv
EDIT: Another suggestion and a little blabla..

Are you sure you have EXPORT_C at your NewApplication? If you're doing an .app, it actually is a DLL. Afaik all polymorphic interface DLLs must export the NewObject function as 1. ordinal.

For quality Symbian idling, join #symbian at irc.freenode.net

Mon, 2005-04-25 20:53
Joined: 2005-02-21
Forum posts: 47
frozen export missing: NewApplication_Fv
ok, I have two confessions to make:

- the trouble begun after a gcc upgrade (from 2.9 to 3.0) ... but I got it to compile (it had couple of gotchas for compile as well) .. with 2.9 it was ok, even the EXPORT_C is still there

- trying to compile using abld.bat, gives me thousands of linker errors against  third party library. Funny, I don't get those when linking using IDE ...

Ahti.
Mon, 2005-04-25 21:14
Joined: 2004-08-26
Forum posts: 34
frozen export missing: NewApplication_Fv
Can't help you there.. Sad Have you tried replacing the EXPORT_C with just __declspec(dllexport), in case the macros are somehow screwed with the new gcc?

For quality Symbian idling, join #symbian at irc.freenode.net

Tue, 2005-04-26 05:07
Joined: 2004-08-30
Forum posts: 53
frozen export missing: NewApplication_Fv
IIRC, GCC >= 3.x breaks compatibility:

The 2.x series that's used has a HUGE number of kludges to support all the weird stuff required by Symbian OS -- and I don't think that all those patches were carried forward in the newer GCCs.

There was a "GCC improvement project" somewhere that apparently did all the necessary work to "fix" the newer GCC (by incorporating all the patches from Symbian's release), but that build isn't officially supported by Gnu (or Symbian I think).

Try googling for it, or you might find a link on Symbian's site -- I think most stuff was reported to work just fine, but there were also scattered reports of compatibility issues and compiler trouble.

Nevermind -- It's here: http://www.inf.u-szeged.hu/symbian-gcc/

Please follow up with your results so others will know what's up.
Tue, 2005-04-26 07:23
Joined: 2005-02-21
Forum posts: 47
frozen export missing: NewApplication_Fv
yes, that's exactly the upgrade I use and end up with the problems up there.
Tue, 2005-04-26 08:50
Joined: 2004-08-30
Forum posts: 53
frozen export missing: NewApplication_Fv
Their last update was a while ago, but you can always try contacting them.
Wed, 2005-04-27 10:05
Joined: 2005-02-21
Forum posts: 47
frozen export missing: NewApplication_Fv
ok, just to inform you that the problem is somehow, haven't figured it out completely yet, related to environment settings. Because if I start CW IDE from the commandline, program links without a NewApplication error. But starting from windows's startmenu - error.

dlltool manages to create an empty .inf file on one occasion but works ok from cmdline. Even looking with filemon to see if it is a different dlltool or something but nothing revealed yet.
Also, comparing system-wide env with cmdline's one does not clear up things ... almost the same

rgds,
 Ahti.
Thu, 2005-04-28 00:52
Joined: 2004-08-30
Forum posts: 53
frozen export missing: NewApplication_Fv
If it works as you described, I'd suspect either an environment variable isn't set correctly, or it's using an older version of the tools -- and not the ones you think it's actually running.

You can probably specify the explicit path for the tools and/or move them (or rename them) to make sure that your system can only find the ones you want it to.

If it still works in that case, at least you have a way to get it operating.
Fri, 2006-02-24 15:35
Joined: 2006-01-30
Forum posts: 8
Re: frozen export missing: NewApplication_Fv
 Huh plz plz help me .......

 I am new to symbian...

 I have made my application using Wizard. Which has generated both Export_........

and

E32DLL......


Then i have added some class code in it.

After i complied and ran in emulator without error...

But when i tried to make app for sis

it gives me::


MAKEDEF ERROR: command-line: 1 Frozen Export(s) missing from object files:
  NewApplication__Fv @1
make[1]: *** [..\..\..\SYMBIAN\7.0S\NOKIA_7710_SDK\EPOC32\RELEASE\ARMI\UREL\PINK
S.APP] Error 255

make: *** [TARGETPINKS] Error 2
  make -r  -f "\Symbian\7.0s\Nokia_7710_SDK\EPOC32\BUILD\WORK\PINKS\GROUP\ARMI.m
ake" FINAL CFG=UREL VERBOSE=-s

plz .... help me

 Afro



  • Login to reply to this topic.