From: Sal <sv...@gm...> - 2011-03-21 16:34:56
|
My fault. Eclipse errors due to my coniguration, I rebuilt, that error was resolved. Now: gcc -w -std=c99 -I../src -c ../src/mark.c -o build/obj/mark.o ../src/mark.c: In function `GC_mark_some': ../src/mark.c:544: error: `asm' undeclared (first use in this function) ../src/mark.c:544: error: (Each undeclared identifier is reported only once ../src/mark.c:544: error: for each function it appears in.) ../src/mark.c:544: error: syntax error before "volatile" ../src/mark.c:553: error: syntax error before "volatile" make: *** [build/obj/mark.o] Error 1 I am using mingw32 - trying to compile the Posix target - should this be usable yet? On 3/21/11, Arno Puder <ar...@pu...> wrote: > Can you please try "ant clean" and re-build XMLVM? > > Arno > > On Mar 21, 2011, at 8:20 AM, Sal <sv...@gm...> wrote: > >> Arno - >> >> Currently getting an error from a fresh SVN checkout. Using 'make' >> after the command: >> >> java -Xmx700m -jar dist/xmlvm.jar --target=posix >> --in=bin/org/xmlvm/test/ReflectionTest.class --out=ReflectionTest >> >> gcc -w -std=c99 -I../src -c ../src/java_lang_Object.c -o >> build/obj/java_lang_Obj >> ect.o >> ../src/java_lang_Object.c:3:43: java_lang_Object_AddedMembers.h: No such >> file or >> directory >> ../src/java_lang_Object.c:35: error: >> `__CLASS_java_lang_Object_AddedMembers' und >> eclared here (not in a function) >> ../src/java_lang_Object.c:35: error: initializer element is not constant >> ../src/java_lang_Object.c:35: error: (near initialization for >> `__field_reflectio >> n_data[1].type') >> ../src/java_lang_Object.c:40: error: initializer element is not constant >> ../src/java_lang_Object.c:40: error: (near initialization for >> `__field_reflectio >> n_data[1]') >> make: *** [build/obj/java_lang_Object.o] Error 1 >> >> On 3/18/11, Sal <sv...@gm...> wrote: >>> I'll begin the search for those posts, then - thanks much for the tip, >>> Arno. >>> >>> Potentially if I get it to work I'd like to help make it automated - >>> possibly add some Ant logic to take care of the things needed? Just to >>> make >>> it easier to stay in sync with all the great, exciting work you guys are >>> doing here. Let me know any thoughts on this, >>> >>> Thanks again for all the help, >>> >>> - Sal >>> >>> On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: >>> >>>> >>>> the default targets are still using the Objective-C backend (what is >>>> described in the documentation). The C backend is still >>>> work-in-progress. Do a grep on this mailing list and you will find some >>>> posts that explain how to cross-compile iFireworks using the C backend. >>>> >>>> We are making good progress on the C backend but it will take some more >>>> time to make the switch. I will send an update sometime soon. >>>> >>>> Arno >>>> >>>> >>>> On 3/18/11 12:06 AM, Sal wrote: >>>>> Thanks for the link! >>>>> >>>>> However I don't see mention of the 'C' target or Harmony support - is >>>>> this all handled by one of the generic targets? Or has to be configured >>>>> explicitly at the command line when building? I do see mention of the >>>>> objc and c++ things. >>>>> >>>>> Thanks again for the help, I will shortly attempt a fresh checkout and >>>>> build of the codebase. >>>>> >>>>> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... >>>>> <mailto:in...@op...>> wrote: >>>>> >>>>>> Hi sal, >>>>>> >>>>>> send a piece of the command line output to see what's happen.. >>>>>> >>>>>> >>>>>> to run one of the demo projects take a look the Documentation at >>>>>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >>>>>> directlink: >>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >>>>>> >>>>>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >>>>>> <mailto:sv...@gm...>> >>>>>> >>>>>> >>>>>> What are the steps to get a simple 'hello world' iPhone app up and >>>>>> running from the latest SVN snapshot? Possibly with the Harmony >>>>>> support included? (printing to standard out is fine, I understand >>>>>> ui is underway). >>>>>> >>>>>> I read through the manual, but the c target didn't seem >>>>>> mentioned... Maybe I missed it, if so apologies - if there are >>>>>> docs I'll try those. >>>>>> >>>>>> I tried (quickly) a svn download and running the ant scripts but >>>>>> lots of errors with JDK classes missing, etc. I was wondering what >>>>>> the 'proper' way was to hack through it before I started debugging. >>>>>> >>>>>> If it works I would be happy to put together a wiki page on it, >>>>>> possibly put binaries someplace for other newbies to use as well >>>>>> to help with getting Java apps compiled on iOS. >>>>>> >>>>>> Thanks in advance, >>>>>> >>>>>> Sal >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Colocation vs. Managed Hosting >>>>>> A question and answer guide to determining the best fit >>>>>> for your organization - today and in the future. >>>>>> >>>>>> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >>>>>> _______________________________________________ >>>>>> xmlvm-users mailing list >>>>>> >>>>>> <mailto:xml...@li...>xml...@li... >>>>>> <mailto:xml...@li...> >>>>>> >>>>>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>>> >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Colocation vs. Managed Hosting >>>>> A question and answer guide to determining the best fit >>>>> for your organization - today and in the future. >>>>> http://p.sf.net/sfu/internap-sfd2d >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> xmlvm-users mailing list >>>>> xml...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>> >>>> ------------------------------------------------------------------------------ >>>> Colocation vs. Managed Hosting >>>> A question and answer guide to determining the best fit >>>> for your organization - today and in the future. >>>> http://p.sf.net/sfu/internap-sfd2d >>>> _______________________________________________ >>>> xmlvm-users mailing list >>>> xml...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>> > |