Loading ...
Sorry, an error occurred while loading the content.

Building gvim creates invalid executable

Expand Messages
  • David Fishburn
    This has been happening for a little while (at least a month). I have been routinely building Vim on Win XP SP2 for a couple of years now. Now when I build it
    Message 1 of 1 , Mar 30, 2007
    • 0 Attachment
      This has been happening for a little while (at least a month).

      I have been routinely building Vim on Win XP SP2 for a couple of years now.

      Now when I build it and try to run it I get:
      C:\OpenSrc\vim7\src>gvim.exe
      The system cannot execute the specified program.


      Unforutunately, the error message does not give me much to go on.
      Running gvimd yields:
      C:\OpenSrc\vim7\src>gvimd.exe
      The system cannot execute the specified program.


      So that doesn't help either.

      I can build and successfully run the console versions:
      VIM - Vi IMproved
      version 7.0.224

      :ver
      VIM - Vi IMproved 7.0 (2006 May 7, compiled Mar 30 2007 19:57:56)
      MS-Windows 32 bit console version
      Included patches: 1-224
      Compiled by fishburn@FISHBURN-M20
      ...


      I grabbed the last part of the build of gvim.exe, it might shed some light:


      if_cscope.c
      netbeans.c
      Generating Code...
      cl -c /W3 /nologo -D_MT -MT -I. -Iproto -DHAVE_PATHDEF -DWIN32
      -DFEAT
      _CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DWINVER=0x0400
      -D_WIN32_WINNT=0
      x0400 /Fo.\ObjGOLY/ /Ox -DNDEBUG -DFEAT_OLE -DFEAT_GUI_W32 -DDYNAMIC_ICONV
      -DD
      YNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON
      -DDYNAMIC_PYTHON_DLL=\"python24.d
      ll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl58.dll\" -DFEAT_BIG
      /Zi
      /Fd.\ObjGOLY/ if_ole.cpp
      if_ole.cpp
      cl -c /W3 /nologo -D_MT -MT -I. -Iproto -DHAVE_PATHDEF -DWIN32
      -DFEAT
      _CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DWINVER=0x0400
      -D_WIN32_WINNT=0
      x0400 /Fo.\ObjGOLY/ /Ox -DNDEBUG -DFEAT_OLE -DFEAT_GUI_W32 -DDYNAMIC_ICONV
      -DD
      YNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON
      -DDYNAMIC_PYTHON_DLL=\"python24.d
      ll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl58.dll\" -DFEAT_BIG
      /Zi
      /Fd.\ObjGOLY/ version.c
      version.c
      link /RELEASE /nologo /subsystem:windows /incremental:no
      /nodefaultlib:l
      ibc -out:gvim.exe .\ObjGOLY\buffer.obj .\ObjGOLY\charset.obj
      .\ObjGOLY\diff.ob
      j .\ObjGOLY\digraph.obj .\ObjGOLY\edit.obj .\ObjGOLY\eval.obj
      .\ObjGOLY\ex_c
      mds.obj .\ObjGOLY\ex_cmds2.obj .\ObjGOLY\ex_docmd.obj
      .\ObjGOLY\ex_eval.obj
      .\ObjGOLY\ex_getln.obj .\ObjGOLY\fileio.obj .\ObjGOLY\fold.obj
      .\ObjGOLY\getc
      har.obj .\ObjGOLY\hardcopy.obj .\ObjGOLY\hashtab.obj .\ObjGOLY\main.obj
      .\Ob
      jGOLY\mark.obj .\ObjGOLY\mbyte.obj .\ObjGOLY\memfile.obj
      .\ObjGOLY\memline.ob
      j .\ObjGOLY\menu.obj .\ObjGOLY\message.obj .\ObjGOLY\misc1.obj
      .\ObjGOLY\mis
      c2.obj .\ObjGOLY\move.obj .\ObjGOLY\normal.obj .\ObjGOLY\ops.obj
      .\ObjGOLY\o
      ption.obj .\ObjGOLY\os_mswin.obj .\ObjGOLY\os_win32.obj
      .\ObjGOLY\pathdef.obj
      .\ObjGOLY\popupmnu.obj .\ObjGOLY\quickfix.obj .\ObjGOLY\regexp.obj
      .\ObjGOL
      Y\screen.obj .\ObjGOLY\search.obj .\ObjGOLY\spell.obj
      .\ObjGOLY\syntax.obj .
      \ObjGOLY\tag.obj .\ObjGOLY\term.obj .\ObjGOLY\ui.obj .\ObjGOLY\undo.obj
      .\Ob
      jGOLY\window.obj .\ObjGOLY\vim.res .\ObjGOLY\gui.obj
      .\ObjGOLY\gui_beval.obj
      .\ObjGOLY\gui_w32.obj .\ObjGOLY\os_w32exe.obj .\ObjGOLY\if_ole.obj
      .\ObjGOLY\
      if_perl.obj .\ObjGOLY\if_perlsfio.obj .\ObjGOLY\if_python.obj
      .\ObjGOLY/if_c
      scope.obj .\ObjGOLY/netbeans.obj .\ObjGOLY/xpm_w32.obj
      .\ObjGOLY\version.obj ad
      vapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib
      oldnames.lib ke
      rnel32.lib gdi32.lib version.lib winspool.lib comctl32.lib advapi32.lib
      shell3
      2.lib /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib user32.lib
      /node
      faultlib:python24.lib WSock32.lib
      C:\download\OpenSrc\vim\XPM_support_for_Net
      beans\xpm-4.2.0\lib\libXpm.lib /PDB:gvim.pdb -debug
      cl /nologo -DNDEBUG vimrun.c
      vimrun.c
      cl /nologo -DNDEBUG -DWIN32 dosinst.c kernel32.lib shell32.lib
      ole32.li
      b advapi32.lib uuid.lib
      dosinst.c
      if exist install.exe del install.exe
      ren dosinst.exe install.exe
      cl /nologo -DNDEBUG -DWIN32 uninstal.c shell32.lib advapi32.lib
      uninstal.c
      cd xxd
      nmake /NOLOGO -f Make_mvc.mak
      cl /nologo -DWIN32 xxd.c
      xxd.c
      cd ..
      cd GvimExt
      nmake /NOLOGO -f Makefile
      cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -DWIN32
      -D_WI
      N32 -W3 -D_WIN32_IE=0x0400 -DWINVER=0x0400 -DFEAT_GETTEXT -D_MT -D_DLL -MD
      gvim
      ext.cpp
      gvimext.cpp
      Rc /r -DWIN32 -D_WIN32 -DWINVER=0x0400 gvimext.rc
      link /INCREMENTAL:NO /NOLOGO -dll -def:gvimext.def -base:0x1C000000
      -ou
      t:gvimext.dll gvimext.obj gvimext.res ole32.lib uuid.lib oleaut32.lib
      kernel32.l
      ib ws2_32.lib mswsock.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
      winspo
      ol.lib shell32.lib comctl32.lib
      gvimext.def(4) : warning LNK4017: DESCRIPTION statement not supported for
      the ta
      rget platform; ignored
      Creating library gvimext.lib and object gvimext.exp
      cd ..




      Any suggestions?

      TIA,
      Dave
    Your message has been successfully submitted and would be delivered to recipients shortly.