"Undefined sym: _main" Why I get this error?
"Undefined sym: _main" I get this error at runtime in Flash
CS4, any idea why?
Im trying to run an OpenGL sample..
Up.
I'm having the same problem. I've tried compiling the code with a custom Makefile or with Flash Builder, but he doesn't see my main function.
He doesn't even enter this function on run, it's an immediate "Undefined sym: _main". The decoration must be wrong somewhere, but when we look into the library.swf found in the resulting swc, we can find a _main in the middle of the hexa soup.
The call to gcc for the swf:
gcc ./opengles/testApp.o ./opengles/src/Config.o [more .o ...] -swc -o "test.swc"
The code of my main function:
int main()
unsigned int i;
fprintf(stderr,"kikoo");
AS3_Val swcEntries[] =
AS3_Function(NULL, swcInit)
,AS3_Function(NULL, swcFrame)
// construct an object that holds refereces to the functions
AS3_Val result = AS3_Object(
"swcInit:AS3ValType,swcFrame:AS3ValType"
,swcEntries[0]
,swcEntries[1]
for(i = 0; i < sizeof(swcEntries)/sizeof(swcEntries[0]); i++)
AS3_Release(swcEntries[i]);
// notify that we initialized -- THIS DOES NOT RETURN!
AS3_LibInit(result);
return 0; //never used
Can't give you the line to create the swf as it is hidden somewhere in Flash Builder which doesn't write in the console, for some reason.
Similar Messages
-
Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?
Read this
http://support.apple.com/kb/ts1583 -
When I Run my applet in the local computer It works fine but when I upload the applet in remote server and run the applet I get this error in Java console and the applet is not displayed...Will any one help me to solve the problem
Thank u
Vijay
IOException Loading Archive: http://digitaltantra.com/chart/ClientTrial.jar
java.io.EOFException: Unexpected end of ZLIB input stream
at java/util/zip/InflaterInputStream.fill
at java/util/zip/InflaterInputStream.read
at java/util/zip/ZipInputStream.read
at java/io/BufferedInputStream.fill
at java/io/BufferedInputStream.read
at com/ms/vm/loader/JarArchiveSet.loadNextJar
at com/ms/vm/loader/JarArchiveSet.getResourceBits
at com/ms/vm/loader/JarArchiveSet.getClassData
at com/ms/vm/loader/ResourceLoader.getClassData
at com/ms/vm/loader/URLClassLoader.findClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.securedClassLoad
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
java.lang.ClassNotFoundException: Display
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.securedClassLoad
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.runI think ur java runtime is buggy. why dont u load the latest JRE from sun or the MVM from MS.
-
Why iam getting this error in while scheduling?
Hi,
Experts,
I am doing plat file data into Bi system scnario i am getting data into PSA but while scheduling i am getting this error which i have mention below:
MATE_NAME : Data record 2 ('Maj '): Version 'Nokia88 ' is not valid RSDMD 194
MATE_ID : Data record 2 ('Maj '): Version 'Maj ' is not valid RSDMD 194
MATE_NAME and MATE_ID are info objects of charecter infocatalog.
pass with good solution.
Thank u,
Shabeer ahmed.HI,
here are some of flatfile errors:
1.check whether in flat file ur using Uppercase or Lowercase letters.
u sholud use all uppercase letter, or if u want to use lowercase also then while defining info object for that char u should select the check box "lower case".
2. check your attribute length settings and type..may be the chanracter values are not as per the definition of ur infoobject
3. Check whether ur using any spaces or special characters that BI cannot display...if you check in RSA3 for the record in the source system do you also see the space or some other character?
hope this leps u,
Thanks
Sai Chand -
I dont understand why i get this error when trying to type "else"
Hello Everybody,
Im new to java and am writing a simple program which gets a input number between 0 and 100 and is to print A for (grade>=90), B for (90>grade>=80) and so on, when grades < 60 get F.
i use a series of if/else, but when i get to the FINAL else it gets an error (red wavy line under the last else). this ruins the program bcoz now a grade 61 will output "D" AND "F".
can anyone explaing why this error msg? and how can i fix it?
this is the code:
public class Assignment02Q04 {
public static void main (String[] args){
int grade = (Integer.parseInt(args[0]));
if (grade >= 90){
System.out.println("A");}
else {if (grade >= 80){
System.out.println("B");}
else {if (grade >= 70){
System.out.println("C");}
else {if (grade >=60);{
System.out.println("D");}
else System.out.print("F");
}Please ignore the rude bits... this is a pro-forma post most often trotted out to suspected trolls... i.e. It's NOT directed at you personally.
h1. The Ubiquitous Newbie Tips
* DON'T SHOUT!!!
* Homework dumps will be flamed mercilessly.
* Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
h5. Ask a good question
* Don't forget to actually ask a question. No, The subject line doesn't count.
* Ask once
- Don't Crosspost!
- Two people answering one question independantly is a waste of there time.
* Don't even talk to me until you've:
(a) [googled it|http://www.google.com.au/] and
(b) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
(c) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
(d) referred to the JLS (for "advanced" questions).
* [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
- Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
- FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
- Often you discover your own mistake whilst forming a "Good question".
- Many of the regulars on these forums will bend over backwards to help with a "Good question",
especially to a nuggetty problem, because they're interested in the answer.
* Improve your chances of getting laid tonight by writing an SSCCE
- For you normal people, That's a: Short Self-Contained Compilable Example.
- Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
- Often you discover your own mistake whilst writing an SSCCE.
- Solving your own problem yields a sense of accomplishment ;-)
h5. Formatting Matters
* Post your code between a pair of {code} tags
- That is: {code} ... your code goes here ... {code}
- This makes your code easier to read by preserving whitespace and highlighting java syntax.
- Copy&paste your source code directly from your editor. The forum editor basically sucks.
- The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
- Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
- Lines longer than 80 characters should be wrapped.
- Proper indentation illustrates program logic.
* Post your error messages between a pair of {code} tags:
- That is: {code} ... errors here ... {code}
- To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
System.out.println("Your momma!); // <<<< ERROR 1
- Note that error messages are rendered basically useless if the code has been
modified AT ALL since the error message was produced.
- Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
* The forum editor has a "Preview" pane. Use it.
- If you're new around here you'll probably find the "Rich Text" view is easier to use.
- WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
- To see how a posted "special effect" is done, click reply then click the quote button.
If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
h1. The pledge!
We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game.
Edited by: corlettk on 17/03/2009 23:25 ~~ Doh! -
I was given this link to re download my programs. https://helpx.adobe.com/creative-suite/kb/cs5-5-product-downloads.html
anyone know why i am not getting them to download?One way to bypass the Gatekeeper is to right or ctrl click on the Installer and choose Open from the Context menu.
Then it will give you that option to run the installer app. -
Can anyone tell me why im getting this error while doing expdp?
Hi,
My question is
I have a script scheduled in cronjob which is having stmts for taking export backup for many schemas.
Before doing that it will remove all the dmp files in the directory to create new dmp files everyday.
But yesterday, it took backup for only one schema, it failed for remaining schemas.
So currently one dmp file is there in dmp destination.
and previous day log files are there in log destinaton.
So, after checking this i have taken logical backup for a single schema in background.
then i checked in another terminal whether any backup is going on or not.
It was showing nothing even though i have given the backup manually.
So, i tried to take the backup again normally (not in background)
then it was giving the following errors.
ORA-31634: job already exists
ORA-31664: unable to construct unique job name when defaulted
Can any one tell why this happens?
Thanks in advance.Error: ORA-31664 (ORA-31664)
Text: unable to construct unique job name when defaulted
Cause: The job name was defaulted, and the name creation algorithm was
unable to find a unique job name for this schema where the table
name (for the master table) didn't already exist.
Action: Specify a job name to use or delete some of the existing tables
causing the name conflicts. -
I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?
In relation to my previous inquiry regarding inability to view a pdf file using Safari...
Is it possible that I can view other online bills from other website but not this particular bill from one specific website?
Sorry if I missed any important point in this article -->Apple Safari 5.1 and Adobe Reader/Acrobat Advisory
Thanks again! -
Why do I get this error message when I open Organizer in Photoshop Elements 11 "Elements Organizer has stopped working"? My only option is to Close Program so I am effectively locked out of my photo catalogue. I have tried reinstalling the program but it made no difference to the error message.
Could someone help please? StephHi,
Please give a try to Photoshop Elements (PSE) knowledge base. steps mentioned on this and see if it works.
Regards
Kishan -
Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.
I may have already resolved this issue buy removing the device from my computer and re-pairing it. It is currently working just fine.
-
Not much to add. Before Firefox will open, I get this error message, "plug-in object: TypeError: Components.classes[cid] is undefined". I click the "OK" button; Firefox opens and I have no further problems.
I use an Apple with OS v. 10.6.7 and had no problems until I downloaded Firefox 4.0That indicates you have an add-on that is not compatible with Firefox 4. For details of how to troubleshoot that see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
-
What can I do about this:
After upgrading to firefox 6, I get this error.
When I click to open Firefox, A box open with the following error:
JAVASCRIPT Application
TypeError: Components.classes[cid] is undefined?
After I click close on the box, then Firefox will start. I really just want to get the error fixed so that when I want firefox open, I don't have to see this box anymore.You need to figure out which add-on is causing that error and disable it until the developer of that add-on fixes it. There may be an error message about that in the Error Console, accessed through the Web Developer menu item or through {Ctrl + Shft + J}.
Also see this: <br />
http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes -
I am receiving the error code (-50) when trying to access the itunes store. The original itune songs etc were installed on a win 7 32 bit system and I have now moved to a win 7 64 bit system (same PC) and have copied the folder across. Has the switch from 32 to 64 bit caused the problem? Is this why I get the error code? I can, however, access the itunes store to view my account. Any ideas please?
Hello,
The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
As it's off-topic here, I am moving the question to the
Where is the forum for... forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Why am getting this ME083 error in BATCH JOB, where as ONLINE not getting?
Hi Experts,
Am creating Purchse Requisation by using BAPI ---> BAPI_PR_CREATE.
If I run ONLINE, Purchse Requisations are creating in EBAN table, with out any erorr messages, fine.
If the same prog. is scheduled as BATCH JOB in production, the Purchse Requisations are creating, fine, but, there is a ERROR MESSAGE in JOB LOG, saying that " ENTER PLANT " of M essage ID& # is "ME 083 "
So, let me know that,
1 - Why am not getting this error message, If I run it ONLINE?
2 - Even though there r error message in JOB LOG (as I mentione din the above), Why the Purc. requisations are creating?
3 - How to track that, from Where this error is coming in BATCH JOB, How to debug the BATCH JOB, after its scheduling?
4 - How to fix it?It is not uncommon for informational/warning messages to appear when a BAPI is run in batch.
Such messages do not prevent the completion of a job, but may provide information about the status of processing.
When you run the job online the message may just flash briefly on the bottom of the screen, and you might not even notice it.
I get similar messages when I run other BAPIs, where the message is logged but the process continues to run.
To address the question of the message itself, if you look at the code underlying the BAPI, for example, include L2105I01, which contains the methods, you can see the place where the message is issued.
The message is issued if field PR_TYPE in the header structure is initial.
This is fairly easy to find just by examining the source behind the BAPI and the methods that it uses.
You can navigate to include L2105I01 just by clicking on Method process in BAPI_PR_CREATE, just as you can with any other navigable object in ABAP.
You should see this in BAPI_PR_CREATE around line 108.
CALL METHOD l_ref_bapi->process( ).
Double click on process.
Method renumbering is then called by Method process if the actyp = hin (a constant meaning add/create which is set in BAPI_PR_CREATE), and if ITEM_INTVL (Item number interval) is not initial.
Double click on Method renumbering.
Method renumbering then checks if field PR_TYPE is initial, and if it is, then the message 083 that you are getting will be issued. You will also see that the message is issued as a warning only, which is why the document is still created.
You can drill down through the code by double clicking, as usual with navigation.
I found this initially by clicking method set_header, which brought up the include with the method code. I then searched for 083, which is the message id. I then backtracked to find out what the path to Method renumbering was.
Always do a little digging in the source, the message has to come from somewhere. If the first search does not get a hit, try the next one until you exhaust the possibilities. I chose set_header, since it appeared to be specific to the function of the BAPI, and something like that will usually be the best place to start. In this case, it took me right to it.
Brian -
Every time I use F.F. I get this error. TypeError: Components.classes['@softage.ru/skype/SkypeFfExtension;1'] is undefined
Does anyone else get this and or know how to remove it?
Many thanks for your help and supportThis issue is caused by the Skype extension for Firefox.
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
Maybe you are looking for
-
Has anyone gotten a message when trying to access their itunes that says this version of Itunes has not been correctly localized for this language. Please run the English version
-
Java Digital Signature - certificate validation question
I am not sure if this is possible but here is my problem/question: I need to publish a web based program in Citrix. My question is, everytime a user logs into Citrix and executes this application they are prompted to trust the Java certificate. Usual
-
Problem with date format convertion
Dear All, i want to convert the current system date to particular format that i have specified below in SimpleDateFormat but when ever i exceute my program it comes in different format could you help me to solve the problem DateFormat sdf = new Simpl
-
Where can I get a back to factory disc for a hp g6000 laptop
Where can I get a back to factory recovery disc for a hp g6000 laptop
-
FLAGS column on SYS.AUX_STATS$
Trying to find documentation on the meaning of the FLAGS column in the SYS.AUX_STATS$ table, but a quick 10 minute search around Google has turned up nothing useful. Anyone have any pointers? Thanks.