Re: One more strange thing happens....



Which section do you put the DLL record in common.bib?
For records belong to MODULES section, romimage will check the processor
type while in FILES section it just by-pass.
I just wonder if your ddi_vgx.dll is always for x86 system, but when you
adding in common.bib, it was put in the bottom of the file so that it is
just resides in FILES section, so that MAKEIMG will work but booting failed.

You may use the DUMPBIN /headers ddi_vgx.dll in release folder to confirm
the CPU type of your DLL first.

"Eike" <Eike@xxxxxxxxxxxxxxxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:8B62867E-E4DE-437B-8263-F03CEF8A560E@xxxxxxxxxxxxxxxx
By the way, another strange thing happens, which I can not figure out.

If I write

IF BSP_DISPLAY_SMIVGX
ddi_vgx.dll $(_FLATRELEASEDIR)\ddi_vgx.dll NK SH
ENDIF BSP_DISPLAY_SMIVGX

into the "common.bib" everything works fine. But if I add these lines
(exact
in the same way) in the "platform.bib" instead of the common.bib, then the
following error occurs when trying to build the image:

Error: Module ddi_vgx.dll built for I386, kernel built for Thumb
Fatal error hit, exiting...
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).

That's kind of strange, because the DLL is correct, without any doubt.

Well, I just let the lines in the common.bib and I don't think that has to
do with my main problem, but who knows....


.



Relevant Pages

  • Re: PHP cant find image extension
    ... > the extension path in php.ini, as well as copying the dll to C:\PHP...just ... > Fatal error: Call to undefined function imagecreatefromjpegin ...
    (comp.lang.php)
  • Re: Why is a VS2005 project looking for mfc71.lib?
    ... If you are including a DLL then that DLL/project may be including the older ... LINK: fatal error LNK1104: cannot open file 'mfc71.lib' ... of MFC code. ...
    (microsoft.public.vc.mfc)
  • Re: Question about loading a DLL
    ... Newsgroups: comp.lang.tcl ... Question about loading a DLL ... files, but when I build the solution, i got "fatal error C1083: ...
    (comp.lang.tcl)
  • Re: DLL written with Embedde VC++ 4.0
    ... dumpbin.exe fatal error LNK1181. ... >> static void Main ... >> The only differences is that my Dll is called Zunmanaged. ... >> make exporting ...
    (microsoft.public.windowsce.embedded.vc)