At 08:20 AM 1/26/2005, you wrote:
Hi,

I'm trying to migrate a project from Codewarrior to PODS 1.1 .
In Pods I imported this Project as a managed make 68k c/c++ project.
This Project depends on a Library from IBM DB2 (DB2e.lib).
I icluded this library under PRC-Tools 68k Linker General
(-LC:\db2\DB2Everyplace\Clients\PalmOS\database\
-lDB2e)
The library is a .lib.

PODS uses PRC-Tools which doesn't understand CodeWarrior-format static libraries. For PRC-Tools, you will need libraries built just for that.


After a long compile I'm getting errors for every appearence of a
db2 based function call:

dbaTimeDB.o(.text+0xf4): In function `VN_GetData':
dbaTimeDB.c:43: undefined reference to `SQLFetch'

These are from not linking to the appropriate DB2 libraries.

Also I'm getting errors for TxtGlueUpperChar but I definitely included the
TxtGlue.h.

Did you add -lPalmOSGlue to your library listing?

Check out the article at
http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=831


-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/



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

Reply via email to