ffmpeg交叉编译第三方库schroedinger编译

chen_hong_wei 2012-06-25 05:33:38
编译ffmpeg的第三方库Schroedinger时,这个库依赖orc,,我明明已经编译成功orc-0.4.16版本,不知道为什么schroedinger 在./configure时就是找不到orc。我用的schroedinger的版本是1.0.11。求指教。。。。。。

报错是checking for orc :Error orc-0.4 >= 0.4.16 is required
...全文
410 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
chen_hong_wei 2012-07-26
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 的回复:]
显然,目前的schroedinger-1.0.11是有问题的!实在不知道该怎么样才可能成功在MinGW下成功编译...
这个错误一直困扰我!

Cheers
Pei
[/Quote]
是的,schroedinger-1.0.11是编译不过的。我换成1.0.10是可以编译过的,我上面的问题解决办法是新装了下pkg-config,这样就可以找到orc了。但是现在问题又来了。编译ffmpeg时的--enable-libschroedinger又找不到schroedinger,这是郁闷了。网上搜索是在编译schroedinger时要关联ldflags=-lorc-0.4
我试了还是不行。
ffmpeg config.log
C:/MinGW/msys/1.0/local/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schrovirtframe.o):schrovirtframe.c:(.text+0x2a3c): undefined reference to `orc_memcpy'
C:/MinGW/msys/1.0/local/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schrovirtframe.o):schrovirtframe.c:(.text+0xebf): more undefined references to `orc_memcpy' follow
collect2: ld returned 1 exit status
ERROR: schroedinger-1.0 not found
chen_hong_wei 2012-07-26
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 的回复:]
显然,目前的schroedinger-1.0.11是有问题的!实在不知道该怎么样才可能成功在MinGW下成功编译...
这个错误一直困扰我!

Cheers
Pei
[/Quote]

是的。schroedinger-1.0.11编译不过。不过1.0.10能编译过了。我上面的问题已经解决了。装了个高版本的pkg-config,找不到orc就是pkg-config造成的,虽然1.0.11也可以找到orc了。但是编译的时候报错。1.0.10是没有问题的。我现在又有问题了。1.0.10编译过了。。但是在编译ffmpeg时,--enable-libschroedinger 时又找不到schroedinger

config内容是:

C:/MinGW/msys/1.0/local/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schrovirtframe.o):schrovirtframe.c:(.text+0xebf): more undefined references to `orc_memcpy' follow
collect2: ld returned 1 exit status
ERROR: schroedinger-1.0 not found

查网上的内容好像是在编译schroedinger时要指定ldflags=-lorc-0.4貌似也不行,求高手指导……
chen_hong_wei 2012-07-26
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 的回复:]
显然,目前的schroedinger-1.0.11是有问题的!实在不知道该怎么样才可能成功在MinGW下成功编译...
这个错误一直困扰我!

Cheers
Pei
[/Quote]

是的。schroedinger-1.0.11编译不过。不过1.0.10能编译过了。我上面的问题已经解决了。装了个高版本的pkg-config,找不到orc就是pkg-config造成的,虽然1.0.11也可以找到orc了。但是编译的时候报错。1.0.10是没有问题的。我现在又有问题了。1.0.10编译过了。。但是在编译ffmpeg时,--enable-libschroedinger 时又找不到schroedinger

config内容是:
C:/MinGW/msys/1.0/local/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schrovirtframe.o):schrovirtframe.c:(.text+0x29d6): undefined reference to `orc_memcpy'
C:/MinGW/msys/1.0/local/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schrovirtframe.o):schrovirtframe.c:(.text+0x2a3c): undefined reference to `orc_memcpy'
C:/MinGW/msys/1.0/local/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schrovirtframe.o):schrovirtframe.c:(.text+0xebf): more undefined references to `orc_memcpy' follow
collect2: ld returned 1 exit status
ERROR: schroedinger-1.0 not found

查网上的内容好像是在编译schroedinger时要指定ldflags=-lorc-0.4貌似也不行,求高手指导……
jiapei100 2012-07-23
  • 打赏
  • 举报
回复

显然,目前的schroedinger-1.0.11是有问题的!实在不知道该怎么样才可能成功在MinGW下成功编译...
这个错误一直困扰我!

Cheers
Pei
xunxun 2012-06-27
  • 打赏
  • 举报
回复
configure:16425: checking for ORC
configure:16495: error: orc-0.4 >= 0.4.16 is required


configure的16425-16495行的内容?
chen_hong_wei 2012-06-26
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 的回复:]

没给全?

没看到checking for orc的有关信息
[/Quote]

nt
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:15964: result: no
configure:16260: checking for cos in -lm
configure:16285: gcc -o conftest.exe -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe conftest.c -lm >&5
conftest.c:29:6: warning: conflicting types for built-in function 'cos' [enabled by default]
configure:16285: $? = 0
configure:16294: result: yes
configure:16356: checking for pkg-config
configure:16389: result: no
configure:16425: checking for ORC
configure:16495: error: orc-0.4 >= 0.4.16 is required
chen_hong_wei 2012-06-26
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 的回复:]

没给全?

没看到checking for orc的有关信息
[/Quote]

nt
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:15964: result: no
configure:16260: checking for cos in -lm
configure:16285: gcc -o conftest.exe -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe conftest.c -lm >&5
conftest.c:29:6: warning: conflicting types for built-in function 'cos' [enabled by default]
configure:16285: $? = 0
configure:16294: result: yes
configure:16356: checking for pkg-config
configure:16389: result: no
configure:16425: checking for ORC
configure:16495: error: orc-0.4 >= 0.4.16 is required
xunxun 2012-06-25
  • 打赏
  • 举报
回复
没给全?

没看到checking for orc的有关信息
chen_hong_wei 2012-06-25
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]

config.log相关内容呢
[/Quote]

configure:7692: result: no
configure:7877: checking for objdir
configure:7892: result: .libs
configure:8163: checking if gcc supports -fno-rtti -fno-exceptions
configure:8181: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -fno-rtti -fno-exceptions conftest.c >&5
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:8185: $? = 0
configure:8198: result: no
configure:8508: checking for gcc option to produce PIC
configure:8515: result: -DDLL_EXPORT -DPIC
configure:8523: checking if gcc PIC flag -DDLL_EXPORT -DPIC works
configure:8541: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -DDLL_EXPORT -DPIC -DPIC conftest.c >&5
configure:8545: $? = 0
configure:8558: result: yes
configure:8587: checking if gcc static flag -static works
configure:8615: result: yes
configure:8630: checking if gcc supports -c -o file.o
configure:8651: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -o out/conftest2.o conftest.c >&5
configure:8655: $? = 0
configure:8677: result: yes
configure:8685: checking if gcc supports -c -o file.o
configure:8732: result: yes
configure:8765: checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries
configure:9927: result: yes
configure:9964: checking whether -lc should be explicitly linked in
configure:9972: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:9975: $? = 0
configure:9990: gcc -shared conftest.o -v -o ./conftest -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9993: $? = 1
configure:10007: result: yes
configure:10172: checking dynamic linker characteristics
configure:10921: result: Win32 ld.exe
configure:11028: checking how to hardcode library paths into programs
configure:11053: result: immediate
configure:11593: checking whether stripping libraries is possible
configure:11598: result: yes
configure:11633: checking if libtool supports shared libraries
configure:11635: result: yes
configure:11638: checking whether to build shared libraries
configure:11659: result: yes
configure:11662: checking whether to build static libraries
configure:11666: result: yes
configure:11759: checking for g++
configure:11775: found /mingw/bin/g++
configure:11786: result: g++
configure:11813: checking for C++ compiler version
configure:11822: g++ --version >&5
g++.exe (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:11833: $? = 0
configure:11822: g++ -v >&5
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\g++.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.2 (GCC)
configure:11833: $? = 0
configure:11822: g++ -V >&5
g++.exe: error: unrecognized option '-V'
g++.exe: fatal error: no input files
compilation terminated.
configure:11833: $? = 1
configure:11822: g++ -qversion >&5
g++.exe: error: unrecognized option '-qversion'
g++.exe: fatal error: no input files
compilation terminated.
configure:11833: $? = 1
configure:11837: checking whether we are using the GNU C++ compiler
configure:11856: g++ -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.cpp >&5
configure:11856: $? = 0
configure:11865: result: yes
configure:11874: checking whether g++ accepts -g
configure:11894: g++ -c -g -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.cpp >&5
configure:11894: $? = 0
configure:11935: result: yes
configure:11960: checking dependency style of g++
configure:12070: result: gcc3
configure:12103: checking how to run the C++ preprocessor
configure:12130: g++ -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.cpp
configure:12130: $? = 0
configure:12144: g++ -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.cpp
conftest.cpp:22:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:12144: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "schroedinger"
| #define PACKAGE_TARNAME "schroedinger"
| #define PACKAGE_VERSION "1.0.11"
| #define PACKAGE_STRING "schroedinger 1.0.11"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "schroedinger"
| #define VERSION "1.0.11"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12169: result: g++ -E
configure:12189: g++ -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.cpp
configure:12189: $? = 0
configure:12203: g++ -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.cpp
conftest.cpp:22:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:12203: $? = 1
configure: failed program was:
chen_hong_wei 2012-06-25
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]

config.log相关内容呢
[/Quote]

configure:5874: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:5874: $? = 0
configure:5877: ar cru libconftest.a @conftest.lst >&5
configure:5880: $? = 0
configure:5885: ar cru libconftest.a @conftest.lst >&5
C:\MinGW\bin\ar.exe: conftest.o: No such file or directory
configure:5888: $? = 1
configure:5900: result: @
configure:5958: checking for strip
configure:5974: found /mingw/bin/strip
configure:5985: result: strip
configure:6057: checking for ranlib
configure:6073: found /mingw/bin/ranlib
configure:6084: result: ranlib
configure:6186: checking command to parse /mingw/bin/nm output from gcc object
configure:6305: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:6308: $? = 0
configure:6312: /mingw/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6315: $? = 0
cannot find nm_test_var in conftest.nm
configure:6305: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:6308: $? = 0
configure:6312: /mingw/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6315: $? = 0
configure:6381: gcc -o conftest.exe -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe conftest.c conftstm.o >&5
configure:6384: $? = 0
configure:6422: result: ok
configure:6459: checking for sysroot
configure:6489: result: no
configure:6732: checking for mt
configure:6762: result: no
configure:6782: checking if : is a manifest tool
configure:6788: : '-?'
configure:6796: result: no
configure:7428: checking how to run the C preprocessor
configure:7459: gcc -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c
configure:7459: $? = 0
configure:7473: gcc -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7473: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "schroedinger"
| #define PACKAGE_TARNAME "schroedinger"
| #define PACKAGE_VERSION "1.0.11"
| #define PACKAGE_STRING "schroedinger 1.0.11"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "schroedinger"
| #define VERSION "1.0.11"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7498: result: gcc -E
configure:7518: gcc -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c
configure:7518: $? = 0
configure:7532: gcc -E -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7532: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "schroedinger"
| #define PACKAGE_TARNAME "schroedinger"
| #define PACKAGE_VERSION "1.0.11"
| #define PACKAGE_STRING "schroedinger 1.0.11"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "schroedinger"
| #define VERSION "1.0.11"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7561: checking for ANSI C header files
configure:7581: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7581: $? = 0
configure:7654: gcc -o conftest.exe -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe conftest.c >&5
configure:7654: $? = 0
configure:7654: ./conftest.exe
configure:7654: $? = 0
configure:7665: result: yes
configure:7678: checking for sys/types.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for sys/stat.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for stdlib.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for string.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for memory.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for strings.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for inttypes.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for stdint.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7678: checking for unistd.h
configure:7678: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:7678: $? = 0
configure:7678: result: yes
configure:7692: checking for dlfcn.h
configure:7692: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
conftest.c:55:19: fatal error: dlfcn.h: No such file or directory
compilation terminated.
configure:7692: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "schroedinger"
| #define PACKAGE_TARNAME "schroedinger"
| #define PACKAGE_VERSION "1.0.11"
| #define PACKAGE_STRING "schroedinger 1.0.11"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "schroedinger"
| #define VERSION "1.0.11"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <dlfcn.h>
chen_hong_wei 2012-06-25
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]

config.log相关内容呢
[/Quote]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by schroedinger configure 1.0.11, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = HongWei-PC
uname -m = i686
uname -r = 1.0.17(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2011-04-24 23:39

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Program Files (x86)/Intel/Composer XE 2011 SP1/redist/intel64/ipp
PATH: /c/Program Files (x86)/Intel/Composer XE 2011 SP1/redist/ia32/ipp
PATH: /c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler
PATH: /c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn/
PATH: /c/Program Files/Microsoft SQL Server/100/Tools/Binn/
PATH: /c/Program Files/Microsoft SQL Server/100/DTS/Binn/
PATH: /c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn/VSShell/Common7/IDE/
PATH: /c/Program Files (x86)/Microsoft SQL Server/100/DTS/Binn/
PATH: /c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE/PrivateAssemblies/
PATH: /c/Program Files (x86)/Perforce
PATH: /mingw/bin
PATH: /c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn/
PATH: /c/Program Files/Microsoft/Web Platform Installer/
PATH: .
PATH: /c/Program Files (x86)/IDM Computer Solutions/UltraEdit-32
PATH: /mingw/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2344: checking nano version
configure:2350: result: 0 (release)
configure:2399: checking build system type
configure:2413: result: i686-pc-mingw32
configure:2433: checking host system type
configure:2446: result: i686-pc-mingw32
configure:2482: checking for a BSD-compatible install
configure:2550: result: /bin/install -c
configure:2561: checking whether build environment is sane
configure:2611: result: yes
configure:2752: checking for a thread-safe mkdir -p
configure:2791: result: /bin/mkdir -p
configure:2804: checking for gawk
configure:2820: found /bin/gawk
configure:2831: result: gawk
configure:2842: checking whether make sets $(MAKE)
configure:2864: result: yes
configure:3000: checking for as
configure:3016: found /mingw/bin/as
configure:3027: result: as
configure:3092: checking for dlltool
configure:3108: found /mingw/bin/dlltool
configure:3119: result: dlltool
configure:3184: checking for objdump
configure:3200: found /mingw/bin/objdump
configure:3211: result: objdump
configure:3302: checking how to print strings
configure:3329: result: printf
configure:3362: checking for style of include used by make
configure:3390: result: GNU
configure:3460: checking for gcc
configure:3476: found /mingw/bin/gcc
configure:3487: result: gcc
configure:3716: checking for C compiler version
configure:3725: gcc --version >&5
gcc.exe (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3736: $? = 0
configure:3725: gcc -v >&5
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.2 (GCC)
configure:3736: $? = 0
configure:3725: gcc -V >&5
gcc.exe: error: unrecognized option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3736: $? = 1
configure:3725: gcc -qversion >&5
gcc.exe: error: unrecognized option '-qversion'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3736: $? = 1
configure:3756: checking whether the C compiler works
configure:3778: gcc -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe conftest.c >&5
configure:3782: $? = 0
configure:3830: result: yes
configure:3833: checking for C compiler default output file name
configure:3835: result: a.exe
configure:3841: checking for suffix of executables
configure:3848: gcc -o conftest.exe -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe conftest.c >&5
configure:3852: $? = 0
configure:3874: result: .exe
configure:3896: checking whether we are cross compiling
configure:3904: gcc -o conftest.exe -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe conftest.c >&5
configure:3908: $? = 0
configure:3915: ./conftest.exe
configure:3919: $? = 0
configure:3934: result: no
configure:3939: checking for suffix of object files
configure:3961: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:3965: $? = 0
configure:3986: result: o
configure:3990: checking whether we are using the GNU C compiler
configure:4009: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:4009: $? = 0
configure:4018: result: yes
configure:4027: checking whether gcc accepts -g
configure:4047: gcc -c -g -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:4047: $? = 0
configure:4088: result: yes
configure:4105: checking for gcc option to accept ISO C89
configure:4169: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:4169: $? = 0
configure:4182: result: none needed
configure:4204: checking dependency style of gcc
configure:4314: result: gcc3
configure:4329: checking for a sed that does not truncate output
configure:4393: result: /bin/sed
configure:4411: checking for grep that handles long lines and -e
configure:4469: result: /bin/grep
configure:4474: checking for egrep
configure:4536: result: /bin/grep -E
configure:4541: checking for fgrep
configure:4603: result: /bin/grep -F
configure:4638: checking for ld used by gcc
configure:4705: result: c:/mingw/mingw32/bin/ld.exe
configure:4712: checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld
configure:4727: result: yes
configure:4739: checking for BSD- or MS-compatible name lister (nm)
configure:4788: result: /mingw/bin/nm
configure:4918: checking the name lister (/mingw/bin/nm) interface
configure:4925: gcc -c -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse -pipe -mtune=nocona -march=nocona -O4 -msse -msse2 -msse3 -fomit-frame-pointer -mfpmath=sse conftest.c >&5
configure:4928: /mingw/bin/nm "conftest.o"
configure:4931: output
00000000 b .bss
00000000 d .data
00000000 t .text
00000000 B _some_variable
configure:4938: result: BSD nm
configure:4941: checking whether ln -s works
configure:4948: result: no, using cp -p
configure:4953: checking the maximum length of command line arguments
configure:5078: result: 8192
configure:5095: checking whether the shell understands some XSI constructs
configure:5105: result: yes
configure:5109: checking whether the shell understands "+="
configure:5115: result: yes
configure:5150: checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format
configure:5190: result: func_convert_file_msys_to_w32
configure:5197: checking how to convert i686-pc-mingw32 file names to toolchain format
configure:5217: result: func_convert_file_msys_to_w32
configure:5224: checking for c:/mingw/mingw32/bin/ld.exe option to reload object files
configure:5231: result: -r
configure:5305: checking for objdump
configure:5332: result: objdump
configure:5361: checking how to recognize dependent libraries
configure:5563: result: file_magic ^x86 archive import|^x86 DLL
configure:5648: checking for dlltool
configure:5675: result: dlltool
configure:5705: checking how to associate runtime and link libraries
configure:5732: result: func_cygming_dll_for_implib
configure:5793: checking for ar
configure:5809: found /mingw/bin/ar
configure:5820: result: ar
configure:5857: checking for archiver @FILE support
xunxun 2012-06-25
  • 打赏
  • 举报
回复
config.log相关内容呢

64,662

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧