I added Mathlib to a project in developement for PalmOS 3.5

After changing the #include pilot.h to the new include libraries,
and loaded the path lbgcc.a that fixes the floating point problem in
PRC-Tools.

I was still unable to compile receiving the following error:

/prc-tools/H-i586-cygwin32/m68k-palmos/lib/gcrt0.o(.text+0x6a):crt0.c:
undefined reference to `PilotMain'
/prc-tools/H-i586-cygwin32/m68k-palmos/lib/libcrt.a(gdbstub.o)(.text+0x48):g
dbstub.c: undefined reference to `PilotMain'
collect2: ld returned 1 exit status
LandingDistance.o: In function `StartApplication':
LandingDistance.c:285: undefined reference to `MathLibRef'
LandingDistance.c:287: undefined reference to `MathLibRef'
LandingDistance.c:289: undefined reference to `MathLibRef'
LandingDistance.o: In function `StopApplication':
LandingDistance.c:304: undefined reference to `MathLibRef'
LandingDistance.c:307: undefined reference to `MathLibRef'
collect2: ld returned 1 exit status
/PalmDev/PRC-TO~1/H-I586~1/BIN/M68K-~13.EXE: can't open `LandingDistance':
No such file or directory
/PalmDev/PRC-TO~1/H-I586~1/BIN/BUILD-~1.EXE: can't read raw file `*.grc': No
such file or directory
File not found


My environment is:
PRC-Tools 2.0
Cygnus Cygwin 20 GCC
Pilrc 2.7b
SDK 3.5
VFDIDE


If I delete de debug switches from my compile lines,
I still get the same errors, but now for crt0.o and dbstub.o

Any idee's what this error can be and how to solve this?

Thanks
Bert





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to