lBoyAdvance-1.7.2# ./configure > saida configure: error: *** Cannot compile without libpng. root@segmentation:/tmp/downloads/emuladores/VisualBoyAdvance-1.7.2# cat saida checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking for nasm... /usr/bin/nasm checking for gzopen in -lz... yes checking for png_create_write_struct in -lpng... no ******************************* config.log root@segmentation:/tmp/downloads/emuladores/VisualBoyAdvance-1.7.2# cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = segmentation uname -m = i686 uname -r = 2.4.31 uname -s = Linux uname -v = #6 Sun Jun 5 19:04:47 PDT 2005 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/X11R6/bin PATH: /usr/games PATH: /opt/www/htdig/bin PATH: /opt/kde/bin PATH: /usr/lib/qt/bin PATH: /usr/share/texmf/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1370: checking build system type configure:1388: result: i686-pc-linux-gnu configure:1396: checking host system type configure:1410: result: i686-pc-linux-gnu configure:1418: checking target system type configure:1432: result: i686-pc-linux-gnu configure:1472: checking for a BSD-compatible install configure:1527: result: /usr/bin/ginstall -c configure:1538: checking whether build environment is sane configure:1581: result: yes configure:1614: checking for gawk configure:1630: found /usr/bin/gawk configure:1640: result: gawk configure:1650: checking whether make sets $(MAKE) configure:1670: result: yes configure:1941: checking for gcc configure:1957: found /usr/bin/gcc configure:1967: result: gcc configure:2211: checking for C compiler version configure:2214: gcc --version &5 gcc (GCC) 3.3.6 Copyright (C) 2003 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:2217: $? = 0 configure:2219: gcc -v &5 Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/specs Configured with: ../gcc-3.3.6/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 3.3.6 configure:2222: $? = 0 configure:2224: gcc -V &5 gcc: `-V' option must have argument configure:2227: $? = 1 configure:2250: checking for C compiler default output file name configure:2253: gcc conftest.c >&5 configure:2256: $? = 0 configure:2302: result: a.out configure:2307: checking whether the C compiler works configure:2313: ./a.out configure:2316: $? = 0 configure:2333: result: yes configure:2340: checking whether we are cross compiling configure:2342: result: no configure:2345: checking for suffix of executables configure:2347: gcc -o conftest conftest.c >&5 configure:2350: $? = 0 configure:2375: result: configure:2381: checking for suffix of object files configure:2402: gcc -c conftest.c >&5 configure:2405: $? = 0 configure:2427: result: o configure:2431: checking whether we are using the GNU C compiler configure:2455: gcc -c conftest.c >&5 configure:2461: $? = 0 configure:2464: test -z || test ! -s conftest.err configure:2467: $? = 0 configure:2470: test -s conftest.o configure:2473: $? = 0 configure:2486: result: yes configure:2492: checking whether gcc accepts -g configure:2513: gcc -c -g conftest.c >&5 configure:2519: $? = 0 configure:2522: test -z || test ! -s conftest.err configure:2525: $? = 0 configure:2528: test -s conftest.o configure:2531: $? = 0 configure:2542: result: yes configure:2559: checking for gcc option to accept ANSI C configure:2629: gcc -c -g -O2 conftest.c >&5 configure:2635: $? = 0 configure:2638: test -z || test ! -s conftest.err configure:2641: $? = 0 configure:2644: test -s conftest.o configure:2647: $? = 0 configure:2665: result: none needed configure:2683: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:2689: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2830: checking for style of include used by make configure:2858: result: GNU configure:2886: checking dependency style of gcc configure:2969: result: gcc3 configure:2990: checking for bison configure:3006: found /usr/bin/bison configure:3016: result: bison -y configure:3032: checking for flex configure:3048: found /usr/bin/flex configure:3058: result: flex configure:3071: checking for yywrap in -lfl configure:3101: gcc -o conftest -g -O2 conftest.c -lfl >&5 configure:3107: $? = 0 configure:3110: test -z || test ! -s conftest.err configure:3113: $? = 0 configure:3116: test -s conftest configure:3119: $? = 0 configure:3132: result: yes configure:3209: checking lex output file root configure:3220: flex conftest.l configure:3223: $? = 0 configure:3235: result: lex.yy configure:3240: checking whether yytext is a pointer configure:3256: gcc -o conftest -g -O2 conftest.c -lfl >&5 configure:3262: $? = 0 configure:3265: test -z || test ! -s conftest.err configure:3268: $? = 0 configure:3271: test -s conftest configure:3274: $? = 0 configure:3288: result: yes configure:3354: checking for g++ configure:3370: found /usr/bin/g++ configure:3380: result: g++ configure:3396: checking for C++ compiler version configure:3399: g++ --version &5 g++ (GCC) 3.3.6 Copyright (C) 2003 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:3402: $? = 0 configure:3404: g++ -v &5 Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/specs Configured with: ../gcc-3.3.6/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 3.3.6 configure:3407: $? = 0 configure:3409: g++ -V &5 g++: `-V' option must have argument configure:3412: $? = 1 configure:3415: checking whether we are using the GNU C++ compiler configure:3439: g++ -c conftest.cc >&5 configure:3445: $? = 0 configure:3448: test -z || test ! -s conftest.err configure:3451: $? = 0 configure:3454: test -s conftest.o configure:3457: $? = 0 configure:3470: result: yes configure:3476: checking whether g++ accepts -g configure:3497: g++ -c -g conftest.cc >&5 configure:3503: $? = 0 configure:3506: test -z || test ! -s conftest.err configure:3509: $? = 0 configure:3512: test -s conftest.o configure:3515: $? = 0 configure:3526: result: yes configure:3568: g++ -c -g -O2 conftest.cc >&5 configure:3574: $? = 0 configure:3577: test -z || test ! -s conftest.err configure:3580: $? = 0 configure:3583: test -s conftest.o configure:3586: $? = 0 configure:3612: g++ -c -g -O2 conftest.cc >&5 conftest.cc: In function `int main()': conftest.cc:16: error: `exit' undeclared (first use this function) conftest.cc:16: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:3618: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "VisualBoyAdvance" | #define VERSION "1.7.2" | #define YYTEXT_POINTER 1 | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } configure:3568: g++ -c -g -O2 conftest.cc >&5 configure:3574: $? = 0 configure:3577: test -z || test ! -s conftest.err configure:3580: $? = 0 configure:3583: test -s conftest.o configure:3586: $? = 0 configure:3612: g++ -c -g -O2 conftest.cc >&5 configure:3618: $? = 0 configure:3621: test -z || test ! -s conftest.err configure:3624: $? = 0 configure:3627: test -s conftest.o configure:3630: $? = 0 configure:3655: checking dependency style of g++ configure:3738: result: gcc3 configure:3796: checking for ranlib configure:3812: found /usr/bin/ranlib configure:3823: result: ranlib configure:3837: checking for nasm configure:3855: found /usr/bin/nasm configure:3867: result: /usr/bin/nasm configure:3876: checking for gzopen in -lz configure:3906: gcc -o conftest -g -O2 conftest.c -lz >&5 configure:3912: $? = 0 configure:3915: test -z || test ! -s conftest.err configure:3918: $? = 0 configure:3921: test -s conftest configure:3924: $? = 0 configure:3937: result: yes configure:3953: checking for png_create_write_struct in -lpng configure:3983: gcc -o conftest -g -O2 conftest.c -lpng -lz -lz >&5 /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../libpng.so: undefined reference to `pow' collect2: ld returned 1 exit status configure:3989: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "VisualBoyAdvance" | #define VERSION "1.7.2" | #define YYTEXT_POINTER 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char png_create_write_struct (); | int | main () | { | png_create_write_struct (); | ; | return 0; | } configure:4014: result: no configure:4024: error: *** Cannot compile without libpng. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_lib_fl_yywrap=yes ac_cv_lib_png_png_create_write_struct=no ac_cv_lib_z_gzopen=yes ac_cv_objext=o ac_cv_path_NASM=/usr/bin/nasm ac_cv_path_install='/usr/bin/ginstall -c' ac_cv_prog_AWK=gawk ac_cv_prog_LEX=flex ac_cv_prog_YACC='bison -y' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_lex_root=lex.yy ac_cv_prog_lex_yytext_pointer=yes ac_cv_prog_make_make_set=yes ac_cv_target=i686-pc-linux-gnu ac_cv_target_alias=i686-pc-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /tmp/downloads/emuladores/VisualBoyAdvance-1.7.2/missing --run aclocal-1.7' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /tmp/downloads/emuladores/VisualBoyAdvance-1.7.2/missing --run tar' AUTOCONF='${SHELL} /tmp/downloads/emuladores/VisualBoyAdvance-1.7.2/missing --run autoconf' AUTOHEADER='${SHELL} /tmp/downloads/emuladores/VisualBoyAdvance-1.7.2/missing --run autoheader' AUTOMAKE='${SHELL} /tmp/downloads/emuladores/VisualBoyAdvance-1.7.2/missing --run automake-1.7' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='' CPPFLAGS='' CXX='g++' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GETTEXT_PACKAGE='' GMSGFMT='' GTKMM_CFLAGS='' GTKMM_CPPFLAGS='' GTKMM_LIBS='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' INTLLIBS='' LDFLAGS='' LEX='flex' LEXLIB='-lfl' LEX_OUTPUT_ROOT='lex.yy' LIBICONV='' LIBINTL='' LIBOBJS='' LIBS='-lz ' LTLIBICONV='' LTLIBINTL='' LTLIBOBJS='' MAKEINFO='${SHELL} /tmp/downloads/emuladores/VisualBoyAdvance-1.7.2/missing --run makeinfo' MKINSTALLDIRS='' MSGFMT='' MSGMERGE='' NASM='/usr/bin/nasm' OBJEXT='o' PACKAGE='VisualBoyAdvance' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='' POSUB='' RANLIB='ranlib' SDL_CFLAGS='' SDL_CONFIG='' SDL_LIBS='' SET_MAKE='' SHELL='/bin/sh' STRIP='' USE_NLS='' VBA_EXTRA='' VBA_LIBS='' VBA_SRC_EXTRA='' VERSION='1.7.2' XGETTEXT='' YACC='bison -y' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_RANLIB='ranlib' ac_ct_STRIP='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/tmp/downloads/emuladores/VisualBoyAdvance-1.7.2/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_LIBZ 1 #define PACKAGE "VisualBoyAdvance" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION "1.7.2" #define YYTEXT_POINTER 1 #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit; configure: exit 1