[BDB 11gR2 Beta] Fwd: Re: Berkeley DB 11gR2 Beta -- Embedded Java -- Beta update
Alex Gorrod
alexander.gorrod at oracle.com
Sun Mar 21 16:23:18 PDT 2010
Hi Hinkmond,
> The BDB to Java ME bridge is building and running fine using the new
> db-5.0.13 Beta Release. So, it looks OK to me.
Great - thanks for trying it out.
> I still see a minor issue that might just be my configuration. There
> are still some minor link warnings about not being able to adjust code
> at certain offsets:
>
>
> Warning 2 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x0001A938 libdb_sql50sd.lib
> Warning 3 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x00028FF0 libdb_sql50sd.lib
> Warning 4 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x000475F0 libdb_sql50sd.lib
> Warning 5 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x00086EBC libdb_sql50sd.lib
> Warning 6 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x00121290 libdb50sd.lib
> Warning 7 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x001BB62C libdb50sd.lib
> Warning 8 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x001C69E8 libdb50sd.lib
> Warning 9 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x001D84D0 libdb50sd.lib
> Warning 10 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x001F0114 libdb50sd.lib
> Warning 11 warning LNK1166: cannot adjust code at
> offset=0x00001000, rva=0x00200424 libdb50sd.lib
I don't see these warnings, though I have done at some stage.
I can't find much information about them, except that on certain
processors under certain conditions, a crash can occur if the
adjustments aren't possible.
Could you try changing:
Project->Properties->C/C++->Code Generation->Enable Function-Level Linking
To "Yes (/Gy)" for all of the projects (db_small, db_sql, db_static,
wce_sql, wce_tpcb), and doing a rebuild, and let me know if that removes
the warnings.
> Warning 12 warning LNK4099: PDB 'libbmtd.pdb' was not found with
> 'C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\ARMV4\LIBCMTD.lib'
> or at 'c:\Documents and
> Settings\hinkmond\Desktop\bdb_java_bridge-v0.2\Pocket PC 2003
> (ARMV4)\Debug\libbmtd.pdb'; linking object as if no debug info
> LIBCMTD.lib
I can reproduce this one, it seems to be a known issue with Visual
Studio 2005:
http://support.microsoft.com/kb/934632
It is safe to ignore the warning.
Thanks,
Alex
More information about the BDB-BETA-FEEDBACK
mailing list