smpeg configure 하는 도중에 에러가 발생합니다.
글쓴이: kjh7232 / 작성시간: 수, 2009/08/12 - 7:08오후
Configure 에러 내용
Sirus-iPt2G-JB:~/Projects/smpeg-0.4.4 mobile$ ./configure --disable-gtk-player loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking host system type... arm-apple-darwin10.0.0d3 checking target system type... arm-apple-darwin10.0.0d3 checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking build system type... arm-apple-darwin10.0.0d3 checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/bin/nm -p checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... none checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the linker (/usr/bin/ld) supports shared libraries... no checking command to parse /usr/bin/nm -p output... ok checking how to hardcode library paths into programs... unsupported checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... no checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking for socklen_t... yes checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... no *** Could not run SDL test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means SDL was incorrectly installed *** or that you have moved SDL since it was installed. In the latter case, you *** may want to edit the sdl-config script: /usr/local/bin/sdl-config configure: error: *** SDL version 1.2.0 not found!
Config.log 내용
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:633: checking for a BSD compatible install configure:686: checking whether build environment is sane configure:743: checking whether make sets ${MAKE} configure:789: checking for working aclocal configure:802: checking for working autoconf configure:815: checking for working automake configure:828: checking for working autoheader configure:841: checking for working makeinfo configure:862: checking host system type configure:883: checking target system type configure:903: checking whether make sets ${MAKE} configure:932: checking for gcc configure:1045: checking whether the C compiler (gcc ) works configure:1061: gcc -o conftest conftest.c 1>&5 configure:1087: checking whether the C compiler (gcc ) is a cross-compiler configure:1092: checking whether we are using GNU C configure:1120: checking whether gcc accepts -g configure:1156: checking for c++ configure:1188: checking whether the C++ compiler (c++ ) works configure:1204: c++ -o conftest conftest.C 1>&5 configure:1230: checking whether the C++ compiler (c++ ) is a cross-compiler configure:1235: checking whether we are using GNU C++ configure:1263: checking whether c++ accepts -g configure:1365: checking build system type configure:1385: checking for ranlib configure:1424: checking for ld used by GCC configure:1486: checking if the linker (/usr/bin/ld) is GNU ld configure:1502: checking for BSD-compatible nm configure:1538: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -g -O2 conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -g -O2 -static conftest.c 1>&5 ld_classic: can't locate file for: -lgcc_static collect2: ld returned 1 exit status ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: gcc -c -g -O2 conftest.c 1>&5 ltconfig:1657: eval "/usr/bin/nm -p conftest.o | sed -n -e 's/^.*[ ]\([BCDEGRST]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" cannot find nm_test_var in conftest.nm ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: gcc -c -g -O2 conftest.c 1>&5 ltconfig:1657: eval "/usr/bin/nm -p conftest.o | sed -n -e 's/^.*[ ]\([BCDEGRST]\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1709: gcc -o conftest -g -O2 -fno-builtin conftest.c conftstm.o 1>&5 configure:1943: checking for a BSD compatible install configure:1997: checking for socklen_t configure:2010: gcc -c -g -O2 conftest.c 1>&5 configure:2139: checking for sdl-config configure:2174: checking for SDL - version >= 1.2.0 configure:2259: gcc -o conftest -g -O2 -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE conftest.c -L/usr/local/lib -lSDL -lSDLmain -lobjc -framework CoreFoundation -framework UIKit -framework QuartzCore -framework CoreGraphics -framework CoreSurface -framework GraphicsServices -framework Foundation -bind_at_load -framework CoreAudio -framework AudioToolbox 1>&5 ld: framework not found CoreSurface collect2: ld returned 1 exit status configure: failed program was: #line 2198 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "SDL.h" char* my_strdup (char *str) { char *new_str; if (str) { new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); strcpy (new_str, str); } else new_str = NULL; return new_str; } int main (int argc, char *argv[]) { int major, minor, micro; char *tmp_version; /* This hangs on some systems (?) system ("touch conf.sdltest"); */ { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = my_strdup("1.2.0"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.2.0"); exit(1); } if ((1 > major) || ((1 == major) && (2 > minor)) || ((1 == major) && (2 == minor) && (12 >= micro))) { return 0; } else { printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", 1, 2, 12); printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); printf("*** best to upgrade to the required version.\n"); printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); printf("*** to point to the correct copy of sdl-config, and remove the file\n"); printf("*** config.cache before re-running configure\n"); return 1; } } configure:2303: gcc -o conftest -g -O2 -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE conftest.c -L/usr/local/lib -lSDL -lSDLmain -lobjc -framework CoreFoundation -framework UIKit -framework QuartzCore -framework CoreGraphics -framework CoreSurface -framework GraphicsServices -framework Foundation -bind_at_load -framework CoreAudio -framework AudioToolbox 1>&5 configure: In function 'SDL_main': configure:2298: error: number of arguments doesn't match prototype /usr/local/include/SDL/SDL_main.h:53: error: prototype declaration configure: failed program was: #line 2293 "configure" #include "confdefs.h" #include <stdio.h> #include "SDL.h" int main() { return 0; ; return 0; }
C언어를 많이 알지는 못하는 편이라 도무지 에러를 잡는 방법을 모르겟어요 ㅠ
해결 방법 아신다면 도와주세요.
Forums:
ld: framework not found CoreSurface
coresurface라이브러리를 못찾겠다고 하네여
설치해보세여
즐린
댓글 달기