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
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
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
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