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

Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/ crashes under wine

Expand Messages
  • ZyX
    Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/ crashes under wine», sent 23:20:18 09 July 2011, Saturday ... You are saying
    Message 1 of 12 , Jul 9, 2011
      Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/
      crashes under wine»,
      sent 23:20:18 09 July 2011, Saturday
      by Christian Brabandt:

      > Did you use make -f Make_ming.mak ? I don't think, you need libncurses
      > for crosscompiling a windows binary.
      You are saying I don't need ./configure (because it is what is failing, before I
      run make)?
      make -f Make_ming.mak is failing due to absence of i586-pc-mingw32msvc-gcc (it
      is i686-mingw32-gcc on my system).

      Original message:
      > Hi ZyX!
      >
      > On Sa, 09 Jul 2011, ZyX wrote:
      > > What are «all mingw32 packages»?
      > >
      > > After installing mingw32 (using crossdev -t i686-mingw32) I have to do
      > > something
      >
      > > with dependencies, but even compilation of the first dependency (ncurses)
      fails:
      > You are using a different linux distribution. I did install using
      > Debian:
      > #v+
      > ~$ COLUMNS=100 dpkg -l "mingw*"
      > ii mingw32 4.2.1.dfsg-2ubuntu1 Minimalist GNU win32 (cross)
      > compiler
      > ii mingw32-binutils 2.20-0.1 Minimalist GNU win32 (cross)
      > binutils
      > ii mingw32-runtime 3.15.2-0ubuntu1 Minimalist GNU win32 (cross)
      > runtime
      > #v-
      >
      > > ../lib/libncurses.a(lib_ttyflags.o):lib_ttyflags.c:(.text+0x98):
      > > undefined reference to `__nc_mingw_ioctl'
      > >
      > > (I guess it is compilation of some test).
      > > Configure flags are
      > >
      > > --target=$T --host=$T --build=x86_64-linux --prefix=/usr/$T
      > >
      > > (where T=i686-mingw32) and make flags are
      > >
      > > -j5
      > >
      > > .
      >
      > Did you use make -f Make_ming.mak ? I don't think, you need libncurses
      > for crosscompiling a windows binary.
      >
      >
      > regards,
      > Christian
    • Christian Brabandt
      Hi ZyX! ... Yes. ... Adjust the makefile. regards, Christian -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below
      Message 2 of 12 , Jul 9, 2011
        Hi ZyX!

        On Sa, 09 Jul 2011, ZyX wrote:

        > Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/
        > crashes under wine»,
        >
        > > Did you use make -f Make_ming.mak ? I don't think, you need libncurses
        > > for crosscompiling a windows binary.
        > You are saying I don't need ./configure (because it is what is failing, before I
        > run make)?

        Yes.

        > make -f Make_ming.mak is failing due to absence of i586-pc-mingw32msvc-gcc (it
        > is i686-mingw32-gcc on my system).

        Adjust the makefile.

        regards,
        Christian

        --
        You received this message from the "vim_dev" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php
      • ZyX
        Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/ crashes under wine», sent 23:32:47 09 July 2011, Saturday ... I guess it is
        Message 3 of 12 , Jul 9, 2011
          Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/ crashes
          under wine»,
          sent 23:32:47 09 July 2011, Saturday
          by Christian Brabandt:

          > Adjust the makefile.
          I guess it is not needed as
          make -f Make_ming.mak ARCH=i686 FEATURES=huge CROSS=yes \
          NETBEANS=no CROSS_COMPILE=i686-mingw32-
          is able to compile something. But it now fails on linking:

          i686-mingw32-g++ -L/usr/i686-mingw32/usr/lib -mwindows -shared -O2 -mno-cygwin -s -o
          gvimext.dll \
          -Wl,--enable-auto-image-base \
          -Wl,--enable-auto-import \
          -Wl,--whole-archive \
          gvimext.o gvimext.res gvimext_ming.def \
          -Wl,--no-whole-archive \
          -luuid
          gvimext.o:gvimext.cpp:(.text+0x896): undefined reference to `operator delete(void*)'
          gvimext.o:gvimext.cpp:(.text+0xd52): undefined reference to `___gxx_personality_sj0'
          gvimext.o:gvimext.cpp:(.text+0xda7): undefined reference to `operator new(unsigned int)'
          gvimext.o:gvimext.cpp:(.text+0xe11): undefined reference to `operator delete(void*)'
          gvimext.o:gvimext.cpp:(.text+0xfdd): undefined reference to `___gxx_personality_sj0'
          gvimext.o:gvimext.cpp:(.text+0x1041): undefined reference to `operator new(unsigned int)'
          gvimext.o:gvimext.cpp:(.text+0x109d): undefined reference to `operator delete(void*)'
          gvimext.o:gvimext.cpp:(.text+0x1193): undefined reference to `operator delete(void*)'
          gvimext.o:gvimext.cpp:(.rdata$_ZTI9CShellExt[typeinfo for CShellExt]+0x0): undefined
          reference to `vtable for __cxxabiv1::__vmi_class_type_info'
          gvimext.o:gvimext.cpp:(.rdata$_ZTI21CShellExtClassFactory[typeinfo for
          CShellExtClassFactory]+0x0): undefined reference to `vtable for
          __cxxabiv1::__si_class_type_info'
          gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for IContextMenu]+0x8): undefined
          reference to `___cxa_pure_virtual'
          gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for IContextMenu]+0xc): undefined
          reference to `___cxa_pure_virtual'
          gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for IContextMenu]+0x10): undefined
          reference to `___cxa_pure_virtual'
          gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for IContextMenu]+0x14): undefined
          reference to `___cxa_pure_virtual'
          gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for IContextMenu]+0x18): undefined
          reference to `___cxa_pure_virtual'
          gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for IContextMenu]+0x1c): more
          undefined references to `___cxa_pure_virtual' follow
          gvimext.o:gvimext.cpp:(.rdata$_ZTI12IContextMenu[typeinfo for IContextMenu]+0x0):
          undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
          gvimext.o:gvimext.cpp:(.rdata$_ZTI13IShellExtInit[typeinfo for IShellExtInit]+0x0):
          undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
          gvimext.o:gvimext.cpp:(.rdata$_ZTI13IClassFactory[typeinfo for IClassFactory]+0x0):
          undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
          gvimext.o:gvimext.cpp:(.rdata$_ZTI8IUnknown[typeinfo for IUnknown]+0x0): undefined
          reference to `vtable for __cxxabiv1::__class_type_info'
          collect2: выполнение ld завершилось с кодом возврата 1

          Original message:
          > Hi ZyX!
          >
          > On Sa, 09 Jul 2011, ZyX wrote:
          > > Reply to message «Re: Vim taken from
          > > http://tuxproject.de.nyud.net/projects/vim/ crashes under wine»,
          > >
          > > > Did you use make -f Make_ming.mak ? I don't think, you need libncurses
          > > > for crosscompiling a windows binary.
          > >
          > > You are saying I don't need ./configure (because it is what is failing,
          > > before I run make)?
          >
          > Yes.
          >
          > > make -f Make_ming.mak is failing due to absence of
          > > i586-pc-mingw32msvc-gcc (it is i686-mingw32-gcc on my system).
          >
          > Adjust the makefile.
          >
          > regards,
          > Christian
        • ZyX
          Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/ crashes under wine», sent 23:47:33 10 July 2011, Sunday by ZyX: It works if
          Message 4 of 12 , Jul 10, 2011
            Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/
            crashes under wine»,
            sent 23:47:33 10 July 2011, Sunday
            by ZyX:

            It works if I add `gvim.exe' as a last argument (target) (and also if I disable
            GUI and add vim.exe). Will now try to add interpreters support.

            Original message:
            > Reply to message «Re: Vim taken from
            > http://tuxproject.de.nyud.net/projects/vim/ crashes under wine»,
            > sent 23:32:47 09 July 2011, Saturday
            >
            > by Christian Brabandt:
            > > Adjust the makefile.
            >
            > I guess it is not needed as
            > make -f Make_ming.mak ARCH=i686 FEATURES=huge CROSS=yes \
            > NETBEANS=no CROSS_COMPILE=i686-mingw32-
            > is able to compile something. But it now fails on linking:
            >
            > i686-mingw32-g++ -L/usr/i686-mingw32/usr/lib -mwindows -shared -O2
            > -mno-cygwin -s -o gvimext.dll \
            > -Wl,--enable-auto-image-base \
            > -Wl,--enable-auto-import \
            > -Wl,--whole-archive \
            > gvimext.o gvimext.res gvimext_ming.def \
            > -Wl,--no-whole-archive \
            > -luuid
            > gvimext.o:gvimext.cpp:(.text+0x896): undefined reference to `operator
            > delete(void*)' gvimext.o:gvimext.cpp:(.text+0xd52): undefined reference to
            > `___gxx_personality_sj0' gvimext.o:gvimext.cpp:(.text+0xda7): undefined
            > reference to `operator new(unsigned int)'
            > gvimext.o:gvimext.cpp:(.text+0xe11): undefined reference to `operator
            > delete(void*)' gvimext.o:gvimext.cpp:(.text+0xfdd): undefined reference to
            > `___gxx_personality_sj0' gvimext.o:gvimext.cpp:(.text+0x1041): undefined
            > reference to `operator new(unsigned int)'
            > gvimext.o:gvimext.cpp:(.text+0x109d): undefined reference to `operator
            > delete(void*)' gvimext.o:gvimext.cpp:(.text+0x1193): undefined reference
            > to `operator delete(void*)'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTI9CShellExt[typeinfo for CShellExt]+0x0):
            > undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTI21CShellExtClassFactory[typeinfo for
            > CShellExtClassFactory]+0x0): undefined reference to `vtable for
            > __cxxabiv1::__si_class_type_info'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
            > IContextMenu]+0x8): undefined reference to `___cxa_pure_virtual'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
            > IContextMenu]+0xc): undefined reference to `___cxa_pure_virtual'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
            > IContextMenu]+0x10): undefined reference to `___cxa_pure_virtual'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
            > IContextMenu]+0x14): undefined reference to `___cxa_pure_virtual'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
            > IContextMenu]+0x18): undefined reference to `___cxa_pure_virtual'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
            > IContextMenu]+0x1c): more undefined references to `___cxa_pure_virtual'
            > follow
            > gvimext.o:gvimext.cpp:(.rdata$_ZTI12IContextMenu[typeinfo for
            > IContextMenu]+0x0): undefined reference to `vtable for
            > __cxxabiv1::__si_class_type_info'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTI13IShellExtInit[typeinfo for
            > IShellExtInit]+0x0): undefined reference to `vtable for
            > __cxxabiv1::__si_class_type_info'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTI13IClassFactory[typeinfo for
            > IClassFactory]+0x0): undefined reference to `vtable for
            > __cxxabiv1::__si_class_type_info'
            > gvimext.o:gvimext.cpp:(.rdata$_ZTI8IUnknown[typeinfo for IUnknown]+0x0):
            > undefined reference to `vtable for __cxxabiv1::__class_type_info'
            > collect2: выполнение ld завершилось с кодом возврата 1
            >
            > Original message:
            > > Hi ZyX!
            > >
            > > On Sa, 09 Jul 2011, ZyX wrote:
            > > > Reply to message «Re: Vim taken from
            > > > http://tuxproject.de.nyud.net/projects/vim/ crashes under wine»,
            > > >
            > > > > Did you use make -f Make_ming.mak ? I don't think, you need
            > > > > libncurses for crosscompiling a windows binary.
            > > >
            > > > You are saying I don't need ./configure (because it is what is failing,
            > > > before I run make)?
            > >
            > > Yes.
            > >
            > > > make -f Make_ming.mak is failing due to absence of
            > > > i586-pc-mingw32msvc-gcc (it is i686-mingw32-gcc on my system).
            > >
            > > Adjust the makefile.
            > >
            > > regards,
            > > Christian
          • ZyX
            Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/ crashes under wine», sent 15:31:06 10 July 2011, Sunday by ZyX: Building
            Message 5 of 12 , Jul 10, 2011
              Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/
              crashes under wine»,
              sent 15:31:06 10 July 2011, Sunday
              by ZyX:

              Building using
              make -f Make_ming.mak -j5 'CROSS=yes' 'ARCH=i686' 'FEATURES=huge' \
              'CROSS_COMPILE=i686-mingw32-' \
              'PYTHON=/home/zyx/.wine/dosdevices/c:/Python27' \
              'PYTHON_VER=27' 'DYNAMIC_PYTHON=yes' 'GUI=yes' \
              'NETBEANS=no' gvim.exe
              fails because it cannot find Python.h. It appears that Make_ming.mak is not
              going to add -I/path/to/python to compiler flags. Why?

              Original message:
              > Reply to message «Re: Vim taken from
              > http://tuxproject.de.nyud.net/projects/vim/ crashes under wine»,
              > sent 23:47:33 10 July 2011, Sunday
              > by ZyX:
              >
              > It works if I add `gvim.exe' as a last argument (target) (and also if I
              > disable GUI and add vim.exe). Will now try to add interpreters support.
              >
              > Original message:
              > > Reply to message «Re: Vim taken from
              > > http://tuxproject.de.nyud.net/projects/vim/ crashes under wine»,
              > > sent 23:32:47 09 July 2011, Saturday
              > >
              > > by Christian Brabandt:
              > > > Adjust the makefile.
              > >
              > > I guess it is not needed as
              > >
              > > make -f Make_ming.mak ARCH=i686 FEATURES=huge CROSS=yes \
              > >
              > > NETBEANS=no CROSS_COMPILE=i686-mingw32-
              > >
              > > is able to compile something. But it now fails on linking:
              > >
              > > i686-mingw32-g++ -L/usr/i686-mingw32/usr/lib -mwindows -shared -O2
              > > -mno-cygwin -s -o gvimext.dll \
              > >
              > > -Wl,--enable-auto-image-base \
              > > -Wl,--enable-auto-import \
              > > -Wl,--whole-archive \
              > >
              > > gvimext.o gvimext.res gvimext_ming.def \
              > >
              > > -Wl,--no-whole-archive \
              > >
              > > -luuid
              > >
              > > gvimext.o:gvimext.cpp:(.text+0x896): undefined reference to `operator
              > > delete(void*)' gvimext.o:gvimext.cpp:(.text+0xd52): undefined reference
              > > to `___gxx_personality_sj0' gvimext.o:gvimext.cpp:(.text+0xda7):
              > > undefined reference to `operator new(unsigned int)'
              > > gvimext.o:gvimext.cpp:(.text+0xe11): undefined reference to `operator
              > > delete(void*)' gvimext.o:gvimext.cpp:(.text+0xfdd): undefined reference
              > > to `___gxx_personality_sj0' gvimext.o:gvimext.cpp:(.text+0x1041):
              > > undefined reference to `operator new(unsigned int)'
              > > gvimext.o:gvimext.cpp:(.text+0x109d): undefined reference to `operator
              > > delete(void*)' gvimext.o:gvimext.cpp:(.text+0x1193): undefined reference
              > > to `operator delete(void*)'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTI9CShellExt[typeinfo for
              > > CShellExt]+0x0): undefined reference to `vtable for
              > > __cxxabiv1::__vmi_class_type_info'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTI21CShellExtClassFactory[typeinfo for
              > > CShellExtClassFactory]+0x0): undefined reference to `vtable for
              > > __cxxabiv1::__si_class_type_info'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
              > > IContextMenu]+0x8): undefined reference to `___cxa_pure_virtual'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
              > > IContextMenu]+0xc): undefined reference to `___cxa_pure_virtual'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
              > > IContextMenu]+0x10): undefined reference to `___cxa_pure_virtual'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
              > > IContextMenu]+0x14): undefined reference to `___cxa_pure_virtual'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
              > > IContextMenu]+0x18): undefined reference to `___cxa_pure_virtual'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTV12IContextMenu[vtable for
              > > IContextMenu]+0x1c): more undefined references to `___cxa_pure_virtual'
              > > follow
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTI12IContextMenu[typeinfo for
              > > IContextMenu]+0x0): undefined reference to `vtable for
              > > __cxxabiv1::__si_class_type_info'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTI13IShellExtInit[typeinfo for
              > > IShellExtInit]+0x0): undefined reference to `vtable for
              > > __cxxabiv1::__si_class_type_info'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTI13IClassFactory[typeinfo for
              > > IClassFactory]+0x0): undefined reference to `vtable for
              > > __cxxabiv1::__si_class_type_info'
              > > gvimext.o:gvimext.cpp:(.rdata$_ZTI8IUnknown[typeinfo for IUnknown]+0x0):
              > > undefined reference to `vtable for __cxxabiv1::__class_type_info'
              > > collect2: выполнение ld завершилось с кодом возврата 1
              > >
              > > Original message:
              > > > Hi ZyX!
              > > >
              > > > On Sa, 09 Jul 2011, ZyX wrote:
              > > > > Reply to message «Re: Vim taken from
              > > > > http://tuxproject.de.nyud.net/projects/vim/ crashes under wine»,
              > > > >
              > > > > > Did you use make -f Make_ming.mak ? I don't think, you need
              > > > > > libncurses for crosscompiling a windows binary.
              > > > >
              > > > > You are saying I don't need ./configure (because it is what is
              > > > > failing, before I run make)?
              > > >
              > > > Yes.
              > > >
              > > > > make -f Make_ming.mak is failing due to absence of
              > > > > i586-pc-mingw32msvc-gcc (it is i686-mingw32-gcc on my system).
              > > >
              > > > Adjust the makefile.
              > > >
              > > > regards,
              > > > Christian
            • James Vega
              ... According to the makefile, it s being set: 200 # my include files are in win32inc on Linux, and include in the standard 201 # NT distro (ActiveState)
              Message 6 of 12 , Jul 10, 2011
                On Sun, Jul 10, 2011 at 04:23:17PM +0400, ZyX wrote:
                > Reply to message «Re: Vim taken from http://tuxproject.de.nyud.net/projects/vim/
                > crashes under wine»,
                > sent 15:31:06 10 July 2011, Sunday
                > by ZyX:
                >
                > Building using
                > make -f Make_ming.mak -j5 'CROSS=yes' 'ARCH=i686' 'FEATURES=huge' \
                > 'CROSS_COMPILE=i686-mingw32-' \
                > 'PYTHON=/home/zyx/.wine/dosdevices/c:/Python27' \
                > 'PYTHON_VER=27' 'DYNAMIC_PYTHON=yes' 'GUI=yes' \
                > 'NETBEANS=no' gvim.exe
                > fails because it cannot find Python.h. It appears that Make_ming.mak is not
                > going to add -I/path/to/python to compiler flags. Why?

                According to the makefile, it's being set:

                200 # my include files are in 'win32inc' on Linux, and 'include' in the standard
                201 # NT distro (ActiveState)
                202 ifeq ($(CROSS),no)
                203 PYTHONINC=-I $(PYTHON)/include
                204 else
                205 PYTHONINC=-I $(PYTHON)/win32inc
                206 endif
                ...
                662 $(OUTDIR)/if_python.o : if_python.c $(INCL)
                663 $(CC) -c $(CFLAGS) $(PYTHONINC) -DDYNAMIC_PYTHON_DLL=\"python$(PYTHON_VER).dll\" $< -o $@


                My guess is that $(PYTHON)/win32inc isn't the correct path for your setup.

                --
                James
                GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@...>
              • tux.
                ... BTW: I meanwhile found the problem, some of my changes were not merged properly. I am currently compiling a new, crash-free build .... :) Kind regards! --
                Message 7 of 12 , Jul 15, 2011
                  ZyX wrote:
                  > After installing vim to ~/.wine/drive_c/vim73 using winesetup[1] script
                  > vim run using
                  > wine C:\\vim73\\gvim.exe
                  > crashes with the following log.

                  BTW: I meanwhile found the problem, some of my changes were not merged
                  properly. I am currently compiling a new, crash-free build .... :)

                  Kind regards!

                  --
                  You received this message from the "vim_dev" maillist.
                  Do not top-post! Type your reply below the text you are replying to.
                  For more information, visit http://www.vim.org/maillist.php
                Your message has been successfully submitted and would be delivered to recipients shortly.