Home > Archive > SQL Anywhere ultralite > May 2005 > UL Static C++ compilation problem (using Power ++)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author UL Static C++ compilation problem (using Power ++)
tszacon

2005-05-10, 3:23 am

Hello,

I have a problem with compiling simple application like APITutorial for
Windows 32 (XP) using static C++ interface. All headers and libs were
added to project but during makeing exe file I get list errors like
below:

Message Event File
======= ===== ====
_ULDatabase is an undefined reference. <unknown> debug\lwt.exe
Ulpp_init_ is an undefined reference. <unknown> debug\lwt.exe
Ulpp_fini_ is an undefined reference. <unknown> debug\lwt.exe
Ulpp_setconnect_by_n
um_ is an undefined reference. <unknown> debug\lwt.exe
Ulpp_connect_ is an undefined reference. <unknown> debug\lwt.exe

and simmilar. I'm sure that compiler "sees" ulimp.lib. Maybe Power++ is
too old or lib format is not apropriate for this compiler ?

Enviroment configuration.
Windows XP Porfessional SP2,
SQL Anywhere Studio version 9.0.2.3044
Compiler Power++ 2.5 build 616

Any suggestions ?
Thanks in advance.
Tom
Nick Elson

2005-05-10, 9:23 am

Power++ went EOL circa 1997/1998 (I believe) and
the last note I can find with it mentioned is with the 6.0.2
maintenance release.

Power++ utilized the Watcom C/C++ compilers and
it targets only the WIN32 platform.

I believe you will find we build the UL libraries for WIN32
with the Microsoft compilers, so name mangling will probably
be incompatible with the Watcom compilers (from that era at
least).


"tszacon" <tszacon@gazeta.pl> wrote in message
news:42805c41$1@foru
ms-2-dub...
> Hello,
>
> I have a problem with compiling simple application like APITutorial for
> Windows 32 (XP) using static C++ interface. All headers and libs were
> added to project but during making exe file I get list errors like below:
>
> Message Event
> File
> ======= =====
> ====
> _ULDatabase is an undefined reference. <unknown> debug\lwt.exe
> Ulpp_init_ is an undefined reference. <unknown> debug\lwt.exe
> Ulpp_fini_ is an undefined reference. <unknown> debug\lwt.exe
> Ulpp_setconnect_by_n
um_ is an undefined reference. <unknown> debug\lwt.exe
> Ulpp_connect_ is an undefined reference. <unknown> debug\lwt.exe
>
> and similar. I'm sure that compiler "sees" ulimp.lib. Maybe Power++ is too
> old or lib format is not apropriate for this compiler ?
>
> Enviroment configuration.
> Windows XP Porfessional SP2,
> SQL Anywhere Studio version 9.0.2.3044
> Compiler Power++ 2.5 build 616
>
> Any suggestions ?
> Thanks in advance.
> Tom



tszacon

2005-05-11, 3:23 am

Hello,

Thanks for answer...I wil try write dll in MVC and wrap all UL
stuff..Maybe this help...
Nick Elson napisał(a):
> Power++ went EOL circa 1997/1998 (I believe) and
> the last note I can find with it mentioned is with the 6.0.2
> maintenance release.
>
> Power++ utilized the Watcom C/C++ compilers and
> it targets only the WIN32 platform.
>
> I believe you will find we build the UL libraries for WIN32
> with the Microsoft compilers, so name mangling will probably
> be incompatible with the Watcom compilers (from that era at
> least).

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com