[BDB 11gR2 Beta] [#18415] Compilation errors and warnings

Alex Gorrod alexander.gorrod at oracle.com
Thu Mar 11 19:38:03 PST 2010


Hi Raj,

First, I'd like to clarify. Are you building for Windows Mobile?

If so, there are some known issues with the 5.0.11 release related to 
Windows Mobile that have since been fixed.

I have attached versions of:
sql/adapter/btree.c and
sql/adapter/btreeInt.h
Files from our latest development tree, that contain the relevant fixes. 
Could you try replacing those files in your source tree, and see if the 
build completes?

Thanks,
Alex

On 12/03/2010 12:52 PM, Raj Laad wrote:
> Hi,
>
> I downloaded “db-5.0.11.zip” and compiled using “Visual Studio 2005”,
> instead of “eMbedded Visual C++ 4.0” as per documentation, since I do
> not have “eMbedded Visual C++ 4.0”. It compile all the source. I got 3
> errors and 209 warnings. All errors and few warnings are below.
>
> I have three questions:
>
> · Is it OK to use “Visual Studio 2005”? Seems to compile fine.
>
> · How can these errors be fixed?
>
> · Where is libdb_sql50sd.lib?
>
> -----------------------------------
>
> Error 210 error C2065: 'db_errno' : undeclared identifier
> c:\Projects\Oracle\db-5.0.11\sql\adapter\btree.c 3005
>
> Error 211 error C2106: '=' : left operand must be l-value
> c:\Projects\Oracle\db-5.0.11\sql\adapter\btree.c 3005
>
> Error 212 fatal error LNK1181: cannot open input file
> 'libdb_sql50sd.lib' wce_sql
>
> Warning 1 warning LNK4099: PDB 'vc80.pdb' was not found with
> '.\debug_pocketpc2003_armv4\wce_tpcb\TpcbUI.obj' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info TpcbUI.obj
>
> Warning 2 warning LNK4099: PDB 'vc80.pdb' was not found with
> '.\debug_pocketpc2003_armv4\wce_tpcb\TpcbExample.obj' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info TpcbExample.obj
>
> Warning 3 warning LNK4099: PDB 'vc80.pdb' was not found with
> 'Debug_PocketPC2003_ARMV4\libdb50sd.lib' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info libdb50sd.lib
>
> Warning 4 warning LNK4099: PDB 'vc80.pdb' was not found with
> 'Debug_PocketPC2003_ARMV4\libdb50sd.lib' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info libdb50sd.lib
>
> Warning 5 warning LNK4099: PDB 'vc80.pdb' was not found with
> 'Debug_PocketPC2003_ARMV4\libdb50sd.lib' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info libdb50sd.lib
>
> Warning 6 warning LNK4099: PDB 'vc80.pdb' was not found with
> 'Debug_PocketPC2003_ARMV4\libdb50sd.lib' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info libdb50sd.lib
>
> Warning 7 warning LNK4099: PDB 'vc80.pdb' was not found with
> 'Debug_PocketPC2003_ARMV4\libdb50sd.lib' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info libdb50sd.lib
>
> Warning 8 warning LNK4099: PDB 'vc80.pdb' was not found with
> 'Debug_PocketPC2003_ARMV4\libdb50sd.lib' or at
> 'c:\Projects\Oracle\db-5.0.11\build_wince\Debug_PocketPC2003_ARMV4\vc80.pdb';
> linking object as if no debug info libdb50sd.lib
>
> Regards,
>
> - Raj
>
> Raj Laad
>
> CTO, Pristine Infotech, Inc.
>
> Cell: 617-538-9593
>
> www.pristineinfotech.com <http://www.pristineinfotech.com/>
>
> This email communication including its attachments is intended only for
> the use of the individuals to whom it has been addressed. It may contain
> information that is privileged and confidential to Pristine Infotech,
> Inc. If the reader of this message is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of
> this communication is strictly prohibited. If you have read this
> communication in error, please notify us immediately by return e-mail.
>
>
>
> _______________________________________________
> BDB-BETA-FEEDBACK mailing list
> BDB-BETA-FEEDBACK at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/bdb-beta-feedback
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: btreeInt.h
Url: http://oss.oracle.com/pipermail/bdb-beta-feedback/attachments/20100312/d8cf3c9e/attachment-0001.h 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: btree.c
Url: http://oss.oracle.com/pipermail/bdb-beta-feedback/attachments/20100312/d8cf3c9e/attachment-0001.c 


More information about the BDB-BETA-FEEDBACK mailing list