Building the CDC Foundation JDWP

Hi, I've been having problems installing the CDC foundation package. After going through and managing to get it built, I then wanted to use the debugger with the CVM. following the instructions in the porting guide, I built the CDC pakage with the JVMDI support, and then attempted to build the JDWP agent using the following command:
make BOOTDIR=/usr/java/j2sdk1.4.0_0_01
this differs from the documented command line, which was:
make -BOOTDIR=/usr/java/j2sdk1.4.0_0_01/bin/
I found the documented command line simply did not work at all.
However I am still getting an error from the compiler, namely:
make[2]: /micro/tools/i686-redhat-linux/gnu/bin/arm-netwinder-linux-gcc: Command not found
It seems that it's trying to build for the wrong platform? I tried setting the target as linux and linux-i686, however these were not recognised. I've looked through the makefiles and can't find where this command is called.
Any ideas anyone? I'm running redhat 7.3, J2SE 1.4.0, egcs 1.1.2

sorted this now, changed:
/jdk_build/linux/makefiles/Def-linux.mk
commented ARCH=linux-sarm-sidewinder
uncommented ARCH=i686
changed the path on lines 100 and 107.
changed the command to gcc on line 117

Similar Messages

  • I want to run cdc/foundation on xscale target board. what do I do?

    Hi~
    I am porting a cdc/foundation porting on the xscale taget board.
    But, When linking I have some error message.
    ==================================
    Linking ../../build/linux-sarm-dtv/bin/cvm
    /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
    Warning: alignment 4 of symbol 'CVM_java_lang_Class_intfMethodtable' in ../../build/linux-sarm-dtv/obj/libromjava.a(romjavaAux.o)
    /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
    Warning: alignment 4 of symbol 'CVM_java_lang_String_intfMethodtable' in ../../build/linux-sarm-dtv/obj/libromjava.a(romjavaAux.o)
    /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
    Warning: alignment 4 of symbol 'CVM_java_lang_security_AllPermissionCollection_1_intfMethodtable' in ../../build/linux-sarm-dtv/obj/libromjava.a(romjavaAux.o) is smaller than 32 in ../../build/linux-sarm-dtv/obj/libromjava.a(romjavaAux.o)
    /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: cannot find -lfloat
    collect2: ld returned 1 exit status
    What do I do?
    I hope somebody's help me...^^*

    Hi ,
    I am also facing the same problem when compiling cdc foundation profile for arm.
    "ld: cannot find -lfloat"
    Did u get the solution on this?
    If yes please help me.
    Thanks,
    Sara

  • Compiling CDC/ Foundation Profile  and Personal Profile in RedHat 7.3

    When I compile the CDC/Personal Profile,in RedHat 7.3,I get this message:
    ../share/rules.mk:235: ../../build/linux-i686/generated/empty.mk: No such file or directory
    ... mkdir ../../build/linux-i686/generated/javavm/runtime
    touch ../../build/linux-i686/generated/empty.mk
    ... mkdir ../../build/linux-i686/generated/flags
    error:compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null
    ,null,null,null,null,null,null
    100 errors
    make: ***[.compile.btclasses] Error1
    And with CDC/Foundation Profile ,the message is:
    error:compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null
    ,null,null,null,null,null,null
    100 errors
    make: ***[.compile.btclasses] Error1
    What can I do now!
    Can you help me to solve this error?

    Just do export LANG=en_US
    also edit the /etc/sysconfig/i18n file entry for LANG to en_US instead of the UTF.8 stuff
    I don't know the exact reason though.. this will work.
    --Prasanna Kumar                                                                                                                                                                                                                                                                                                                                                                                               

  • How to run CDC Foundation profile on Pocket PC (iPAQ)?

    Hi,
    I'm using IBM Websphere to compile and run CDC Foundation Profile Java apps. My question is, how do I run the JXE files by themselves on my iPAQ?
    Thanks,
    Derek

    Hi Derek,
    I set up a device build for my ppc in Websphere and it builds my .jxe file and copies it accross to my Pocket PC using active sync for me. I can then just run the app by clicking on the shortcut link file.
    If this doesn't work for you try using a link file (mylink.lnk) to run the application. The contents of a link file are like:
    255#"\Program Files\J9\PPRO10\bin\j9w.exe" "-jcl:ppro10:loadlibrary=swt-win32-3101" "-cp" "\Program Files\J9\PPRO10\lib\swt.jar;\Program Files\J9\PPRO10\examples\ex1.jar" "Ex1"
    The number 255# represents how many chars are in the link
    \Program Files\J9\PPRO10\bin\j9w.exe is the path to the VM (.jxe files are proprietry .class files optimized for the J9 VM)
    jcl:ppro10:loadlibrary= is an option for loading a native library (.dll) file i believe. (you may not need this - the example above is using the SWT UI package which needs the swt-win32-3101.dll file so it is included in the lnk),
    "-cp" is the class path (include any external jars you need as well as your application jar)
    then type in the name of the main class to run.
    i think there is also a "-jxe:<jxeFile>" option you can use to run a .jxe file with the J9 VM from IBM.
    hope this helps.
    Walt.

  • Restful services, widgets and the widget foundation

    Hi,
    I installed the widget foundation and found the tutorial helpful when craeting a simple RFC call widget for displaying a customers details.
    In the description document I raed even RESTful services can be created with the foundation.
    Is a tutorial or at least a prototype application available ? How can  a REST service be build in SAP anyway (say for a customer) ?
    Would be great to skip all the RFc and SOAP stuff in favour of http://myserver:port/customers/12345 for all the details.
    Any help on this is appreciated.
    Marcus

    REST service can be simple BSP page which takes some parameters and process them and returns the result in xml or json format.
    check out my weblog at /people/durairaj.athavanraja/blog/2006/10/10/sap-logged-on-users-list-widget ,
    i am using a similar approach
    Raja

  • RMI with CDC + foundation profile

    I'm trying to get RMI working with Java ME on Linux. I built the CDC with the Foundation Profile and installed that on the target device (which has an i486-class processor), and set LD_LIBRARY_PATH to include the path that my native library is in.
    If I run the standard java VM (1.5), it finds the library and runs my test app. However, if I run it with cvm, I get the following error:
    java.lang.UnsatisfiedLinkError: no adm1026 in java.library.path
    at java.lang.ClassLoader.loadLibraryInternal(Ljava/lang/Class;Ljava/lang/String;ZZ)Ljava/lang/Object;(ClassLoader.java:1465)
    at java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V(ClassLoader.java:1349)
    at java.lang.Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V(Runtime.java:814)
    at java.lang.System.loadLibrary(Ljava/lang/String;)V(System.java:854)
    at com.terascala.manager.server.EnclosureSensorReader.<clinit>()V(EnclosureSensorReader.java:71)
    at java.lang.Class.runStaticInitializers()V(Class.java:1523)
    at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Method.java:314)
    at sun.misc.CVM.runMain()V(CVM.java:259)
    I've also tried explicitly setting java.library.path, and it makes no difference. Is there some change I have to make to compile my library so that CVM can load it? I know that Linux will often say it "can't find" a library when it really means that the library isn't compatible with the loader, so I assume something like that is going on here.
    Thanks in advance.

    Hi.
    Some iPAQ's are delivered with Jeode PersonalJava VM. It can also run applets. This is a kind of "old" Java but still "state of the art" for WinCE/PPC.
    For the more up to date J2ME you need a proper VM. CLDC is for devices with restricted resources like mobile phones etc. CDC is for devices with some more resources, e. g PDA, Settop-boxes etc. For these devices and J2ME/CDC I only know the beta of NSIcom's CrE-ME VM, availabe as a 30-days trial at www.nsicom.com.
    Yours
    Michael

  • Problems with CDC/Foundation Profile making on Linux, heip me please!!!

    I am a new to J2ME.My OS is redhat9.0,and building tools is gcc3.4.3.After having downloaded the cdcfoundation-1_0_1-fcs for linux, I unzip it to /home/cdcfoundation/.Under the directory of /build/linux/,I typed the following command:
    make CVM_JAVABIN=/usr/java/jdk1.5.0/bin CVM_DEBUG=true J2ME_CLASSLIB=foundation
    But it failed to build,the error is:
    make: *** No targets specified and no makefile found. Stop.
    I had tried many times,I hope someone can help me!!!
    I am waiting................

    You need ksh (korn shell) in order to compile. It is because this shell provides an option (if I remember well -h) which is not present in other shells like bash.
    So, download it from http://www.kornshell.com and make it available in a folder present in your PATH.
    Hope this help.

  • Problems with CDC/Foundation Profile making on Linux

    I am a new to J2ME.My OS is redhat9.0,and building tools is gcc3.4.3.After having downloaded the cdcfoundation-1_0_1-fcs for linux, I unzip it to /home/cdcfoundation/.Under the directory of /build/linux-i386/,I typed the following command:
    make CVM_JAVABIN=/usr/java/jdk1.5.0/bin CVM_DEBUG=true J2ME_CLASSLIB=foundation CVM_GNU_TOOLS_PATH=/usr/bin
    But it failed to build,the error is:
    make: ksh: Command not found
    make: ksh: Command not found
    H BH B../share/rules.mk:235: ../../build/linux-i686/generated/empty.mk: &#27809;&#26377;&#37027;&#20010;&#25991;&#20214;&#25110;&#30446;&#24405;
    make: ksh: Command not found
    make: *** [../../build/linux-i686/generated/javavm/runtime] Error 127
    I had tried many times,I hope someone can help me!!!
    I am waiting...............

    You need ksh (korn shell) in order to compile. It is because this shell provides an option (if I remember well -h) which is not present in other shells like bash.
    So, download it from http://www.kornshell.com and make it available in a folder present in your PATH.
    Hope this help.

  • Obtain CDC + Foundation Profile

    Hi,
    Where can I get CDC + Foundation Profile HotSpot Implementation?
    For CDC (FP) reference inplementation, does it only support Linux platform?
    Thanks very much,

    Just do export LANG=en_US
    also edit the /etc/sysconfig/i18n file entry for LANG to en_US instead of the UTF.8 stuff
    I don't know the exact reason though.. this will work.
    --Prasanna Kumar                                                                                                                                                                                                                                                                                                                                                                                               

  • How to build the members in essbase based on levels using EAL

    Hi All,
    How to restrict the members to build the in essbase based on levels using EAL.
    I've requirement, in one dimension, needs to build the one level1 member as level0 in essbase.
    please let me know the procedure, if any one implemented or face similar.
    Thanks in advance,
    Kiran

    there's no such functionality in EAL to create Essbase outlines based on levels. the only workaround to this is to use Mapping tables:
    1- create the dimension in essbase with the desired HFM level 1 members as level 0.
    2- set this specific dimension to mapping in your design grid within your EAL Bridge
    3- create the SQL Mapping table and start mapping those members from HFM to Essbase.
    Tanios

  • Classpath error while building the web dynpro project

    Hi
    I have created an application in which on clicking the button on one view , next view opens and data is displayed in the tables. This data i am giving as static, and for that i have created a java file. this java file is located in the subfolder i have created in the package path i have given. While building the application, i get these two errors :
    1) The project was not built due to classpath errors (incomplete or involved in cycle).
    2) Missing required source folder 'BPOutageTable/BPOT'
    BPOutageTable is the application name, and BPOT is the subfolder in which java file is present.
    This application is similar to "The Master/Detail Viewer Application" example in the tutorials.
    Can anybody please help in this?
    Thanks & regards,
    Anupreet

    Hi,
       You have give your classpath in your "lib" folder of the Dynpro application.
       check your lib folder shows exact class path or not.
    if you wish to add any jar files import it to your lib folder so you will not have compilation problem.
    Hope it helps.If it is then close this thread.
    Regards,
    Guru

  • MS office report function does not work after building the appication

    I use the MS office report function  with a custom excel template my application.
    It works properly in de developstate, but after building the application it does not work .
    I use office 2000  and Windows XP

    jmq wrote:
    I use the MS office report function  with a custom excel template my application.
    It works properly in de developstate, but after building the application it does not work .
    What error message if any did you get? It could be a couple things:
    1. Did you include the Report Toolkit's dynamic vis in the app's build process?
    Ref: Error 7 when Running an .EXE Using VIs from Report Generation Toolkit for MS Office
    2. How are you giving the path to you custom template, as a relative or an absolute path? The path will be different for the .exe. You have to strip twice.
    Ref: Why Can't My Executable Load My Included File When I Use Relative Path Encoding?
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • End User will build the report by himself by choosing the columns from tabl

    We are using Oracle 10g Application server (Forms and Report Services), Forms and Report., our most urgent requirement is End User have to build the required reports by him Like wizards style, (Example Adhoc, MIS reports)., More clear, from the form we want to show all the tables structures, queries, after that end user will choose some columns from the form and specified the condition by himself to run the report after that he will press start button , then automatically report has build for the selected columns from the end user., and this report is parmanent afterwords., he can use any time.
    Like this kind of report building is possiable , anyone has faced same situation.

    Yes it is.
    In BW, this can be achieved by using document management. The option will be available to the user via context menu in the report (goto-->documents - text/pdf/img etc). In your case user can choose to create/change/display a 'text' document, which will be attached to the report.
    cheers,

  • How to change the Data Foundation for an existing Business Element

    My Issue:
    I have quite a few reports that use the same Business View. The Business View has an under lying Data Foundation that uses a Dynamic Data Connection (DDC). I no longer want to use this DDC because production users are complaining they do not want to have to select a data source each time (multiple times when the report includes sub reports) they run/refresh their reports.
    The Holy Grail:
    I would like to change the Data Foundation that my Business Element layer is built upon and use another data foundation with identical tables, linking, and fields. The new data foundation would be using a production connection. This solves my immediate issue and has a great side benefit of providing a convenient way to promote reports from development to stage/test, to production and would not require production users  to have to select which environment they want their report to run against.
    I am logged in to BVM as administrator:
    When I look at the Business Element layer Property Browser,  I see a Data Foundation Property but is is disabled (such that it can not be changed).
    Is there a way to change the Data Foundation that is used by an existing Business Element layer ?
    I'd appreciate any help that someone can offer on this topic. Even if it is not possible and someone can shed some light on why this would not work or would not be a good idea, I'd be interested in learning

    Technically No the system will not allow you to change as it is involved with many depreciation areas and change is not permitted for control reason.
    You only need to retire the asset, reverse the postings, assign correctly and repost the values.

  • How to use ant1.3 in Wndows ME to build the examples in J2EE Tutorial?

    When I tried to build the examples bundled with j2ee tutorial in the ..\j2eetutorial\examples directory using the ant 1.3 on Wndows ME I get the following exception.Anybody please help me.Is there any other build tool available for download?
    StringIndexOutOfboundsException
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples> ant -verbose all
    Ant version 1.3 compiled on March 2 2001
    Buildfile: build.xml
    Detected Java Version: 1.3
    Detected OS: Windows Me
    parsing buildfile D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml with URI
    = file:D:/JAVATUTORIAL/J2EE/j2eetutorial/examples/build.xml
    Project base dir set to: D:\JAVATUTORIAL\J2EE\j2eetutorial\examples
    Build sequence for target `all' is [init, savingsaccount, bank, cart, checker, c
    onfirmer, converter, enroller, order, salesrep, storagebin, teller, htmlreader,
    warehouse, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-
    ejb, bookstore2, bookstore3, web, all]
    Complete build sequence is [init, savingsaccount, bank, cart, checker, confirmer
    , converter, enroller, order, salesrep, storagebin, teller, htmlreader, warehous
    e, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-ejb, boo
    kstore2, bookstore3, web, all, create-storagebin-table, get-cci-jar, procs, cci,
    connector, create-salesrep-table, create-procs-alias, create-coffee-table, abou
    t, create-enroller-table, create-savingsaccount-table, create-web-db, create-war
    ehouse-table, create-bank-table, clean, create-order-table, create-teller-table,
    prepare, create-ejb-db]
    init:
    [property] Loading Environment myenv.
    BUILD FAILED
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: D:\JAVATUTORIAL\J2EE\j2
    eetutorial\examples\build.xml:19: java.lang.StringIndexOutOfBoundsException: Str
    ing index out of range: -1
    --- Nested Exception ---
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: java.lang.StringIndexOu
    tOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1476)
    at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
    248)
    at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    Total time: 2 seconds
    D:\JAVATUTORIAL\J2EE\j2eetutorial\examples>
    *********************************************************************

    Please Help Me

Maybe you are looking for

  • Some graphs don't display in OEM Grid Control 10gR5 (10.2.0.5)

    A number of the performance graphs (e.g. Top Activity) don't display i.e. there is nothing but if if you right-click in the empty area you get a small pull down with Print, Settings, About Adobde Flash 10. This has all happend after upgrading to 10.2

  • Hp LaserJet 1010 windows 7 driver

    pledriversent

  • Wildcard value in case statement

    Hi,  How would I use a wildcard value in my case statement. I evaluate a string value of numbers and try to do this "1234***" but it doesn't work. "***" represents any 3 number.  Please advise. Thanks dphan128

  • XSL function or code for ASCII conversion ?

    I am a newbie in XSL and I tried searching and didn't find a XSL function to convert ASCII values in an XML to its equivalent alphanumerals using XSL transformation. Is there a XSL function to do the same ? Any suggestions would be really helpful.

  • USE OF AT LINE-SELECTION IN AN ALV_GRID REPORT

    Hi people, I am a learner in Abap. I have generated a report through 'REUSE_ALV_GRID_DISPLAY'. Now I want to display the additional records of the contents of the line which gets selected, help me to do that. any report code which does the same thing