#3 Can't build from sources

closed-fixed
nobody
None
5
2005-06-14
2003-08-03
Artiom Neganov
No

I got astroinfo sources from CVS today but can't build anything. First, I wondered why there are no README, INSTALL and other usual support files. Neither configure, nor automake sources. As a result I don't know exact compile procedure, what other packages do I need to get and etc.

Thus, my next question may look stupid, sorry for that:

My configuration:
Debian 3.0 woody, kernel 2.4.20 custom
Pilrc-2.9 built form sources
PRC-Tools 2.2 deb package
PalmOS-sdk-5.0 deb package

Here is what I get when run "make":

m68k-palmos-gcc: unrecognized option `-palmos4.0.1'
In file included from Astro.c:22:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from PalmUtil.h:25,
from Astro.h:24,
from Astro.c:25:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from AstroDST.h:24,
from Astro.h:25,
from Astro.c:25:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from AstroRocker.h:24,
from Astro.h:26,
from Astro.c:25:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from AstroCat.h:25,
from Astro.c:27:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from FixedPoint.h:24,
from Astro.c:29:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from AstroOptions.h:24,
from Astro.c:33:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from AstroSS.h:24,
from Astro.c:34:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
In file included from AstroPhaseCal.h:25,
from Astro.c:35:
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h if you really mean to use the 3.1 SDK or earlier; you may need to run palmdev-prep or use a suitable -palmosX option -- see "http://prc-tools.sourceforge.net/cgi-bin/info/palmdev-prep" for details
Astro.c:39: HostControl.h: No such file or directory
make[1]: *** [Astro.o] Error 1
make: *** [subdir-all] Error 1

Help please

Discussion

  • Logged In: YES
    user_id=18252

    Have you run palmdev-prep? It should list the SDK's that are installed.
    You can change the palmos version in Makefile.config (e.g.
    OSLEVEL=-palmos5)

    Besides the components you listed you need a Java SDK (I think 1.2 is
    enough) to build the star catalogs and timezone database. You may
    also need the very latest pilrc patch.

     
  • Artiom Neganov
    Artiom Neganov
    2003-08-10

    Logged In: YES
    user_id=654652

    Thank you for reply.
    I removed -palmos option since m68k-palmos-gcc doesn't understand it but
    is used to compile (according to Makefile). It seems the other way is to use
    patched gcc, but latest release of PRC-tools has a patch only for gcc-2.95.3
    and I use 2.95.4.
    Can I use m68k-palmos-gcc instead if patched gcc?

    Now I have another problem with compiling:

    m68k-palmos-gcc -Wall -Wmissing-prototypes -g -mdebug-labels -O2
    -DAPPID="'MWH2'" -DERROR_CHECK_LEVEL=ERROR_CHECK_FULL
    -DSELFTEST -I /PalmDev/HanderaSDK/include/ -c -o AstroSky.o AstroSky.
    c
    AstroSky.c:39: Vga.h: No such file or directory

    Do I need "/PalmDev/HanderaSDK" and where to get it if so? PalmOS SDK5
    doesn't contain it.

     
  • Logged In: YES
    user_id=18252

    I think you need the patched gcc from prctools. Unless the patches are
    all merged into 2.95.4, which I don't think is the case. It is easiest to
    use 2.95.3, it should be possible to patch 2.95.4 but it is much more
    hassle.

    As for the HanderaSDK, this is for the Handspring extensions in their
    double density devices. Unfortunately I can't find the SDK on their
    homepage anymore. I put a tar achive of it at
    http://astroinfo.sf.net/HanderaSDKv103.tar.gz

     
  • Michael Heinz
    Michael Heinz
    2005-06-14

    • status: open --> closed-fixed