0

异常详情请参考下面的堆栈跟踪:

cd windows-build; ../src/configure --host=x86_64-w64-mingw32.static --prefix=../windows-build --libdir=../windows-build/lib64 CPPFLAGS="-std=gnu99 -O0 -g3 -m64" LDFLAGS="-Wl,--no-as-needed -Wl,--start-group -Wl,--end-group" FFLAGS="-O2 -Wall -fPIC -I/windows-build/optlib/mod_files"
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32.static-strip... x86_64-w64-mingw32.static-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for x86_64-w64-mingw32.static-gcc... x86_64-w64-mingw32.static-gcc
checking whether the C compiler works... no
configure: error: in `../windows-build':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [windows-build/Makefile] Error 77

config.log 错误:

configure:3326: checking whether the C compiler works
configure:3348: x86_64-w64-mingw32.static-gcc  -std=gnu99 -O0 -g3 -m64 -Wl,--no-as-needed -Wl,--start-group -Wl,--end-group conftest.c  >&5
/tmp/cciHNjm2.s: Assembler messages:
/tmp/cciHNjm2.s:5: Error: unknown pseudo-op: `.def'
/tmp/cciHNjm2.s:5: Error: unknown pseudo-op: `.scl'
/tmp/cciHNjm2.s:5: Error: Missing symbol name in directive
/tmp/cciHNjm2.s:5: Error: unrecognized symbol type "32"
/tmp/cciHNjm2.s:5: Error: unknown pseudo-op: `.endef'
/tmp/cciHNjm2.s:7: Error: unknown pseudo-op: `.def'
/tmp/cciHNjm2.s:7: Error: unknown pseudo-op: `.scl'
/tmp/cciHNjm2.s:7: Error: Missing symbol name in directive
/tmp/cciHNjm2.s:7: Error: unrecognized symbol type "32"
/tmp/cciHNjm2.s:7: Error: unknown pseudo-op: `.endef'
/tmp/cciHNjm2.s:8: Error: unknown pseudo-op: `.seh_proc'
/tmp/cciHNjm2.s:15: Error: unknown pseudo-op: `.seh_pushreg'
/tmp/cciHNjm2.s:19: Error: unknown pseudo-op: `.seh_setframe'
/tmp/cciHNjm2.s:22: Error: unknown pseudo-op: `.seh_stackalloc'
/tmp/cciHNjm2.s:23: Error: unknown pseudo-op: `.seh_endprologue'
/tmp/cciHNjm2.s:36: Error: unknown pseudo-op: `.seh_endproc'
/tmp/cciHNjm2.s:38: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T in string
configure:33
4

0 回答 0