Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-4444

Ntoskrnl fails to build on MinGW GCC 4.4.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: Other
    • Labels:
      None
    • Environment:

      Operating System: ReactOS
      Platform: x86 Hardware

      Description

      Hi, I loaded:
      binutils-2.19.1-mingw32-bin
      gcc-c++-4.4.0-mingw32-bin
      gcc-c++-4.4.0-mingw32-dll
      gcc-core-4.4.0-mingw32-bin
      gcc-core-4.4.0-mingw32-dll
      gmp-4.2.4-mingw32-dll
      mingw32-make-3.81-20080326-3
      mingwrt-3.16-mingw32-dev
      mingwrt-3.16-mingw32-dll
      mpfr-2.4.1-mingw32-dll
      pthreads-w32-2.8.0-mingw32-dll
      w32api-3.13-mingw32-dev

      and get this error:
      [WINEBLD] obj-i386\ntoskrnl\ntoskrnl_ntkrnlmp.stubs.c
      [CC] obj-i386\ntoskrnl\ntoskrnl_ntkrnlmp.stubs.c
      [LD] output-i386\ntoskrnl\ntkrnlmp.exe
      c:/program files/rosbe/i386/bin/../lib/gcc/mingw32/4.4.0/libgcc.a(_enable_execut
      e_stack.o): In function `_enable_execute_stack':
      C:\MinGW\src\gccbf\mingw32\libgcc/../../../gcc-4.4.0/libgcc/../gcc/libgcc2.c:203
      8: undefined reference to `VirtualQuery@12'
      C:\MinGW\src\gccbf\mingw32\libgcc/../../../gcc-4.4.0/libgcc/../gcc/libgcc2.c:203
      8: undefined reference to `VirtualProtect@16'
      C:\MinGW\src\gccbf\mingw32\libgcc/../../../gcc-4.4.0/libgcc/../gcc/libgcc2.c:203
      8: undefined reference to `abort'
      mingw32-make: *** [output-i386\ntoskrnl\ntkrnlmp.exe] Error 1

      Any Ideas?

        Attachments

        1. enable_execute_stack.zip
          0.5 kB
        2. gcc.diff
          0.3 kB
        3. ntoskrnl.patch
          4 kB
        4. RosBE-1.5-Code-Updates_V10.patch
          30 kB
        5. RosBE-1.5-Code-Updates_V3.patch
          23 kB
        6. RosBE-1.5-Code-Updates_V4.patch
          23 kB
        7. RosBE-1.5-Code-Updates_V5.patch
          23 kB
        8. RosBE-1.5-Code-Updates_V6.patch
          24 kB
        9. RosBE-1.5-Code-Updates_V7.patch
          30 kB
        10. RosBE-1.5-Code-Updates_V8.patch
          29 kB
        11. RosBE-1.5-Code-Updates_V9.patch
          30 kB
        12. RosBE-1.5-Code-Updates.patch
          24 kB
        13. RosBE-1.5-Code-Updates.patch
          19 kB
        14. unhack.patch
          16 kB

          Activity

            People

            • Assignee:
              Colin Finck Colin Finck
              Reporter:
              EmuandCo Daniel Reimer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: