Skip to content

Instantly share code, notes, and snippets.

@saghul
Created July 11, 2014 09:59
Show Gist options
  • Save saghul/82dac93ab9b20cd9bae2 to your computer and use it in GitHub Desktop.
Save saghul/82dac93ab9b20cd9bae2 to your computer and use it in GitHub Desktop.
saghul@foxtrot /c/Users/saghul/work/python-cjson/python-cjson-1.1.0
$ ./build_inplace
running build_ext
building 'cjson' extension
C:\msys32\mingw32\bin/i686-w64-mingw32-gcc.exe -fno-strict-aliasing -march=i686 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -IC:/msys64r/mingw32/i686-w64-mingw32/include -DNDEBUG -DNDEBUG -DMODULE_VERSION=1.1.0 -IC:/msys32/mingw32/include/python2.7 -c cjson.c -o build/temp.mingw-2.7/cjson.o
writing build/temp.mingw-2.7/cjson.def
C:\msys32\mingw32\bin/i686-w64-mingw32-gcc.exe -shared -Wl,--enable-auto-image-base -pipe -LC:/msys64r/mingw32/i686-w64-mingw32/lib -LC:/msys64r/mingw32/lib -s -s build/temp.mingw-2.7/cjson.o build/temp.mingw-2.7/cjson.def -L/mingw32/lib -lpython2.7 -o C:/Users/saghul/work/python-cjson/python-cjson-1.1.0/cjson.pyd
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `pre_c_init':
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:67: undefined reference to `_encode_pointer'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:67: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:67: undefined reference to `__onexitend'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `InterlockedCompareExchange':
C:/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:965: undefined reference to `__native_startup_lock'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `CRT_INIT@12':
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:132: undefined reference to `__native_startup_state'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `InterlockedCompareExchange':
C:/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:965: undefined reference to `__native_startup_lock'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `CRT_INIT@12':
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:100: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:104: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:110: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:138: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:138: undefined reference to `_decode_pointer'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:141: undefined reference to `__onexitend'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:141: undefined reference to `_decode_pointer'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:146: undefined reference to `__onexitend'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:146: undefined reference to `__onexitbegin'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:148: undefined reference to `__native_startup_state'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `InterlockedExchange':
C:/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:992: undefined reference to `__native_startup_lock'
C:/msys64/mingw32/i686-w64-mingw32/include/psdk_inc/intrin-impl.h:992: undefined reference to `__native_startup_lock'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `CRT_INIT@12':
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:108: undefined reference to `__xi_z'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:108: undefined reference to `__xi_a'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:106: undefined reference to `__native_startup_state'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:112: undefined reference to `__xc_z'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:112: undefined reference to `__xc_a'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:113: undefined reference to `__native_startup_state'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `_DllMainCRTStartup':
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:179: undefined reference to `__native_dllmain_reason'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:215: undefined reference to `__native_dllmain_reason'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:210: undefined reference to `DllEntryPoint@12'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:191: undefined reference to `DllEntryPoint@12'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:205: undefined reference to `DllEntryPoint@12'
C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o: In function `DllMainCRTStartup@12':
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:163: undefined reference to `mingw_app_type'
C:/repo/mingw-w64-crt/src/crt/mingw-w64-crt/crt/crtdll.c:166: undefined reference to `__security_init_cookie'
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\msys32\\mingw32\\bin/i686-w64-mingw32-gcc.exe' failed with exit status 1
running clean
removing 'build/temp.mingw-2.7' (and everything under it)
removing 'build'
saghul@foxtrot /c/Users/saghul/work/python-cjson/python-cjson-1.1.0
$
saghul@foxtrot /c/Users/saghul/work/python-cjson/python-cjson-1.1.0
$ ./build_inplace
running build_ext
building 'cjson' extension
creating build
creating build/temp.mingw-2.7
C:\msys32\mingw32\bin/i686-w64-mingw32-gcc.exe -fno-strict-aliasing -march=i686 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -IC:/msys32/mingw32/i686-w64-mingw32/include -DNDEBUG -DNDEBUG -DMODULE_VERSION=1.1.0 -IC:/msys32/mingw32/include/python2.7 -c cjson.c -o build/temp.mingw-2.7/cjson.o
writing build/temp.mingw-2.7/cjson.def
C:\msys32\mingw32\bin/i686-w64-mingw32-gcc.exe -shared -Wl,--enable-auto-image-base -pipe -LC:/msys32/mingw32/i686-w64-mingw32/lib -LC:/msys32/mingw32/lib -s -s build/temp.mingw-2.7/cjson.o build/temp.mingw-2.7/cjson.def -L/mingw32/lib -lpython2.7 -o C:/Users/saghul/work/python-cjson/python-cjson-1.1.0/cjson.pyd
running clean
removing 'build/temp.mingw-2.7' (and everything under it)
removing 'build'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment