Results 1 to 2 of 2
  1. Kaihmeyer's Avatar
    Posts
    53 Posts
    Global Posts
    54 Global Posts
       #1  
    I'm having a terribly difficult time installing the PDK on windows. I'm a die hard linux nerd, so running Windows feels like having my hands tied behind my back, dipped in cement, and thrown of a bridge.

    PDK Download - Palm Developer Center
    Went well, no errors.

    PDK - Preparing the Device for Development - Palm Developer Center
    I'm very familiar with developer mode, and have developed some SDK programs before, so I only followed step 2. My phone rebooted just like it's supposed to.

    PDK - Running the Sample Application - Palm Developer Center
    Build fails, and so does ssh (plink) and scp (pscp).

    Code:
    PS C:\Program Files\Palm\PDK\share\samplecode\simple> .\buildit.cmd
     -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
    c:/program files/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libnapp.so, needed by C:\Program Files\Palm\PDK\device\lib/libSDL.so, not found (try using -rpath or -rpath-link)
    c:/program files/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libPiranha.so, needed by C:\Program Files\Palm\PDK\device\lib/libSDL.so, not found (try using -rpath or -rpath-link)
    c:/program files/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libpalmvibe.so, needed by C:\Program Files\Palm\PDK\device\lib/libSDL.so, not found (try using -rpath or -rpath-link)
    c:/program files/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libIMGegl.so, needed by C:\Program Files\Palm\PDK\device\lib/libGLESv2.so, not found (try using -rpath or -rpath-link)
    c:/program files/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libsrv_um.so, needed by C:\Program Files\Palm\PDK\device\lib/libGLESv2.so, not found (try using -rpath or -rpath-link)
    Code:
    PS C:\Program Files\Palm\PDK\share\samplecode\simple> plink -P 10022 root@localhost -pw "" "killall -9 gdbserver simple"
    FATAL ERROR: Server unexpectedly closed network connection
    What's broken? Not only is ssh broken (/etc/passwd shows no password configured for root), but I can't even build the app, and copy it over via USB mode either.

    *edit*
    Figured out my problem with buildit.cmd. I was running Power Shell as my user, not as administrator, so I couldn't write out the "simple" file.

    I can now run "simple" from inside Visual Studio and from the palm. However, my ssh server is still broken. I'll keep looking for a solution for that one.
    Last edited by Kaihmeyer; 05/26/2010 at 04:44 PM.
  2. Kaihmeyer's Avatar
    Posts
    53 Posts
    Global Posts
    54 Global Posts
       #2  
    Fixed my ssh issues. Dropbear uses /etc/shells to verify that your configured shell is valid. I modified /etc/passwd to use /opt/bin/bash when I installed bash from optware. Apparently dropbear cares, but openssh from preware doesn't care about /etc/shells, or has it's own, that I've removed from my system to make sure that it didn't conflict with dropbear. It works fine now.

Posting Permissions