Menu

PalmOS/prc-tools Makefile added

Kidong Lee
2004-06-14
2004-06-24
  • Kidong Lee

    Kidong Lee - 2004-06-14

    I added Makefile for PalmOS/prc-tools to CVS.
    And I divided modules to multi segment, but it's not builded correctly.
    (I have no development experience on PalmOS =)

    Is there anyone to fix it?

     
    • Peter Thompson

      Peter Thompson - 2004-06-15

      Ah, the joys of PalmOS development.  I ran into a similar problem earlier in a private development of the toolkit.  IMHO, Not much to be done about it, other than hacking with the code to see if it can be fixed.

      Cheers,
          Peter

       
    • MaxG

      MaxG - 2004-06-23

      Hello all,

      I wondered if that problem was fixed now.

      I am working under Palm OS developer Suite 1.0 with PalmOS/PrcTools for a Palm OS 5.2 device, do you think I can use the SyncML C Toolkit in my application ?

      thank you

       
    • Darryl Champagne

      I don't think that particular build problem has been fixed, but the toolkit has been used for SyncML projects on the Palm.  It's purely a matter of having someone with the tools take a look at it - there is nothing intrinsicly difficult about it.
      Just keep in mind it is a toolkit, not an application - you can use it to add generic sync to an application, it does not sync the palm datastores for you.  You still have to read, write, and convert the data, as well as track ID's, statuses, and such.
      dgc

       
    • MaxG

      MaxG - 2004-06-24

      Thank you, but I wonder : How can I use the toolkit if I cannot build it ?

      I started a new file in my project with some toolkit statements. I included the headers and I also included the build path in my makefile.

      I tried to compile it and the compilation is OK but the linking does not work because it gives "undefined references" for the functions of the toolkit. I think it's because I did not build toolkit before.

      Then, I decided to build the toolkit using the makefile for Palm and all the prcTools updated files provided  by briankdlee in the CVS depository.

      But I have big linking problems such as :

      libsml-dispatch.o(.text+0xd2):libsml-dispatch.s: relocation truncated to fit: DISP16 smlLibFree
      libsml-dispatch.o(.text+0xd4):libsml-dispatch.s: undefined reference to `smlLibMalloc'

      libsml-dispatch.o(.text+0xd4):libsml-dispatch.s: relocation truncated to fit: DISP16 smlLibMalloc
      libsml-dispatch.o(.text+0xd6):libsml-dispatch.s: undefined reference to `smlLibMemcmp'

      ...

      Should I try to build it again using the whole CVS depositary files ?

      Any hint for using or buildind that toolkit for Palm OS 5.x and prcTools (or PalmOS developper Suite) would be greatly appreciated.

      Maxime

       

       
      • Darryl Champagne

        > Thank you, but I wonder : How can I use the
        > toolkit if I cannot build it ?

        Well, you fix the build errors for your particular platform :-).  It's just plain C code, nothing fancy.

        I think people have already been pretty clear about either not having the time, or not having the tools to do it for you.

        I would certainly work with the latest repository files.

        Beyond that, it's your build environment.  Looks like there is a discrepancy between a "DISP16 smlLibMalloc" and a "smlLibMalloc", such that you need to get the headers/prototypes fixed so that you call what actually builds.  Perhaps something is calling the function without first having included a prototype, or perhaps there is a type mismatch.  Build and check the mapfiles to see what you actually have.

        There are people available who do paid consulting, or you can ask on a palm forum what the errors mean.

        dgc

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.