Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133534 - media-libs/sdl-sound-1.0.1-r1 failed to compile
Summary: media-libs/sdl-sound-1.0.1-r1 failed to compile
Status: RESOLVED DUPLICATE of bug 132716
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-16 13:30 UTC by R. May
Modified: 2006-05-16 13:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R. May 2006-05-16 13:30:33 UTC
>>> md5 files   ;-) sdl-sound-1.0.1-r1.ebuild
>>> md5 files   ;-) sdl-sound-1.0.1.ebuild
>>> md5 files   ;-) sdl-sound-1.0.1-r2.ebuild
>>> md5 files   ;-) files/digest-sdl-sound-1.0.1-r1
>>> md5 files   ;-) files/digest-sdl-sound-1.0.1-r2
>>> md5 files   ;-) files/gcc331.patch
>>> md5 files   ;-) files/digest-sdl-sound-1.0.1
>>> md5 src_uri ;-) SDL_sound-1.0.1.tar.gz
>>> Unpacking source...
>>> Unpacking SDL_sound-1.0.1.tar.gz to /var/tmp/portage/sdl-sound-1.0.1-r1/work
>>> Source unpacked.
 * econf: updating SDL_sound-1.0.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating SDL_sound-1.0.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --enable-midi --disable-smpeg --enable-flac --disable-speex --enable-mikmod --disable-physfs --enable-ogg --build=i686-pc-linux-gnu
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... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for sdl-config... /usr/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/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1/config.log
Comment 1 R. May 2006-05-16 13:33:29 UTC
 * econf: updating SDL_sound-1.0.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating SDL_sound-1.0.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --enable-midi --disable-smpeg --enable-flac --disable-speex --enable-mikmod --disable-physfs --enable-ogg --build=i686-pc-linux-gnu
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... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for sdl-config... /usr/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/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!
localhost ~ # cat /var/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1/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.52.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --enable-midi --disable-smpeg --enable-flac --disable-speex --enable-mikmod --disable-physfs --enable-ogg --build=i686-pc-linux-gnu

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

hostname = localhost
uname -m = i686
uname -r = 2.6.16-gentoo-r7
uname -s = Linux
uname -v = #1 SMP Sat May 13 10:17:23 CEST 2006

/usr/bin/uname -p = Intel(R) Pentium(R) D CPU 3.20GHz
/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 = /sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/vmware/server/bin

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

configure:1158: PATH=".;."; conftest.sh
./configure: line 1159: conftest.sh: command not found
configure:1161: $? = 127
configure:1222: checking build system type
configure:1240: result: i686-pc-linux-gnu
configure:1247: checking host system type
configure:1261: result: i686-pc-linux-gnu
configure:1268: checking target system type
configure:1282: result: i686-pc-linux-gnu
configure:1310: checking for a BSD compatible install
configure:1359: result: /bin/install -c
configure:1370: checking whether build environment is sane
configure:1413: result: yes
configure:1446: checking for mawk
configure:1472: result: no
configure:1446: checking for gawk
configure:1461: found /bin/gawk
configure:1469: result: gawk
configure:1479: checking whether make sets ${MAKE}
configure:1499: result: yes
configure:1596: checking for i686-pc-linux-gnu-gcc
configure:1611: found /usr/bin/i686-pc-linux-gnu-gcc
configure:1619: result: i686-pc-linux-gnu-gcc
configure:1882: checking for C compiler version
configure:1885: i686-pc-linux-gnu-gcc --version </dev/null >&5
i686-pc-linux-gnu-gcc (GCC) 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
Copyright (C) 2004 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:1888: $? = 0
configure:1890: i686-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: /var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.5 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,java,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
configure:1893: $? = 0
configure:1895: i686-pc-linux-gnu-gcc -V </dev/null >&5
i686-pc-linux-gnu-gcc: `-V' option must have argument
configure:1898: $? = 1
configure:1918: checking for C compiler default output
configure:1921: i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe   conftest.c  >&5
configure:1924: $? = 0
configure:1953: result: a.out
configure:1958: checking whether the C compiler works
configure:1964: ./a.out
configure:1967: $? = 0
configure:1982: result: yes
configure:1989: checking whether we are cross compiling
configure:1991: result: no
configure:1994: checking for executable suffix
configure:1996: i686-pc-linux-gnu-gcc -o conftest -O2 -march=nocona -pipe   conftest.c  >&5
configure:1999: $? = 0
configure:2021: result:
configure:2027: checking for object suffix
configure:2045: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe  conftest.c >&5
configure:2048: $? = 0
configure:2067: result: o
configure:2071: checking whether we are using the GNU C compiler
configure:2092: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe  conftest.c >&5
configure:2095: $? = 0
configure:2098: test -s conftest.o
configure:2101: $? = 0
configure:2113: result: yes
configure:2119: checking whether i686-pc-linux-gnu-gcc accepts -g
configure:2137: i686-pc-linux-gnu-gcc -c -g  conftest.c >&5
configure:2140: $? = 0
configure:2143: test -s conftest.o
configure:2146: $? = 0
configure:2156: result: yes
configure:2183: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2186: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2292: checking for style of include used by make
configure:2319: result: GNU
configure:2325: checking dependency style of i686-pc-linux-gnu-gcc
configure:2387: result: none
configure:2403: checking for a BSD compatible install
configure:2452: result: /bin/install -c
configure:2463: checking whether ln -s works
configure:2467: result: yes
configure:2561: checking for ld used by GCC
configure:2624: result: /usr/i686-pc-linux-gnu/bin/ld
configure:2633: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld
GNU ld version 2.16.1
configure:2645: result: yes
configure:2649: checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files
configure:2656: result: -r
configure:2661: checking for BSD-compatible nm
configure:2697: result: /usr/bin/i686-pc-linux-gnu-nm -B
configure:2700: checking how to recognise dependant libraries
configure:2878: result: pass_all
configure:2884: checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output
configure:2965: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe  conftest.c >&5
configure:2968: $? = 0
configure:2972: /usr/bin/i686-pc-linux-gnu-nm -B conftest.o \| sed -n -e 's/^.*[        ]\([ABCDGISTW][ABCDGISTW]*\)[   ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:2975: $? = 0
configure:3027: i686-pc-linux-gnu-gcc -o conftest -O2 -march=nocona -pipe   conftest.c conftstm.o >&5
configure:3030: $? = 0
configure:3074: result: ok
configure:3083: checking how to run the C preprocessor
configure:3109: i686-pc-linux-gnu-gcc -E  conftest.c
configure:3115: $? = 0
configure:3142: i686-pc-linux-gnu-gcc -E  conftest.c
configure:3139:28: ac_nonexistent.h: No such file or directory
configure:3148: $? = 1
configure: failed program was:
#line 3138 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3185: result: i686-pc-linux-gnu-gcc -E
configure:3200: i686-pc-linux-gnu-gcc -E  conftest.c
configure:3206: $? = 0
configure:3233: i686-pc-linux-gnu-gcc -E  conftest.c
configure:3230:28: ac_nonexistent.h: No such file or directory
configure:3239: $? = 1
configure: failed program was:
#line 3229 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3281: checking for dlfcn.h
configure:3291: i686-pc-linux-gnu-gcc -E  conftest.c
configure:3297: $? = 0
configure:3316: result: yes
configure:3468: checking for i686-pc-linux-gnu-ranlib
configure:3483: found /usr/bin/i686-pc-linux-gnu-ranlib
configure:3491: result: i686-pc-linux-gnu-ranlib
configure:3542: checking for i686-pc-linux-gnu-strip
configure:3557: found /usr/bin/i686-pc-linux-gnu-strip
configure:3565: result: i686-pc-linux-gnu-strip
configure:3803: checking for objdir
configure:3814: result: .libs
configure:3829: checking for i686-pc-linux-gnu-gcc option to produce PIC
configure:3979: result: -fPIC
configure:3983: checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works
configure:4003: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -DPIC  conftest.c >&5
configure:4006: $? = 0
configure:4009: test -s conftest.o
configure:4012: $? = 0
configure:4048: result: yes
configure:4064: checking if i686-pc-linux-gnu-gcc static flag -static works
configure:4085: i686-pc-linux-gnu-gcc -o conftest -O2 -march=nocona -pipe   -static conftest.c  >&5
configure:4088: $? = 0
configure:4091: test -s conftest
configure:4094: $? = 0
configure:4108: result: yes
configure:4119: checking if i686-pc-linux-gnu-gcc supports -c -o file.o
configure:4139: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -o out/conftest2.o  conftest.c >&5
configure:4163: result: yes
configure:4168: checking if i686-pc-linux-gnu-gcc supports -c -o file.lo
configure:4192: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -c -o conftest.lo  conftest.c >&5
configure:4195: $? = 0
configure:4198: test -s conftest.lo
configure:4201: $? = 0
configure:4222: result: yes
configure:4253: checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions
configure:4272: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fno-rtti -fno-exceptions -c conftest.c  conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:4275: $? = 0
configure:4278: test -s conftest.o
configure:4281: $? = 0
configure:4297: result: yes
configure:4308: checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries
configure:4988: result: yes
configure:4993: checking how to hardcode library paths into programs
configure:5017: result: immediate
configure:5022: checking whether stripping libraries is possible
configure:5027: result: yes
configure:5038: checking dynamic linker characteristics
configure:5431: result: GNU/Linux ld.so
configure:5436: checking if libtool supports shared libraries
configure:5438: result: yes
configure:5441: checking whether to build shared libraries
configure:5462: result: yes
configure:5465: checking whether to build static libraries
configure:5469: result: yes
configure:6087: checking whether -lc should be explicitly linked in
configure:6095: i686-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe  conftest.c >&5
configure:6098: $? = 0
configure:6112: i686-pc-linux-gnu-gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:6115: $? = 0
configure:6128: result: no
configure:6762: checking for sdl-config
configure:6779: found /usr/bin/sdl-config
configure:6791: result: /usr/bin/sdl-config
configure:6799: checking for SDL - version >= 1.2.0
configure:6885: i686-pc-linux-gnu-gcc -o conftest -O2 -march=nocona -pipe -I/usr/include/SDL -D_REENTRANT   conftest.c  -lSDL -lpthread >&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirectfb-0.9.so.22, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libfusion-0.9.so.22, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirect-0.9.so.22, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBCreate'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBErrorString'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBError'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBInit'
collect2: ld returned 1 exit status
configure:6888: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 6824 "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, &micro) != 3) {
     printf("%s, bad version string\n", "1.2.0");
     exit(1);
   }

   if ((1 > major) ||
      ((1 == major) && (2 > minor)) ||
      ((1 == major) && (2 == minor) && (8 >= micro)))
    {
      return 0;
    }
  else
    {
      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", 1, 2, 8);
      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:6913: result: no
configure:6948: i686-pc-linux-gnu-gcc -o conftest -O2 -march=nocona -pipe -I/usr/include/SDL -D_REENTRANT   conftest.c  -lSDL -lpthread >&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirectfb-0.9.so.22, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libfusion-0.9.so.22, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirect-0.9.so.22, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBCreate'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBErrorString'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBError'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libSDL.so: undefined reference to `DirectFBInit'
collect2: ld returned 1 exit status
configure:6951: $? = 1
configure: failed program was:
#line 6928 "configure"
#include "confdefs.h"

#include <stdio.h>
#include "SDL.h"

int main(int argc, char *argv[])
{ return 0; }
#undef  main
#define main K_and_R_C_main

int
main ()
{
 return 0;
  ;
  return 0;
}
configure:6983: error: *** SDL version 1.2.0 not found!

## ----------------- ##
## 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_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=nocona -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_SDL_CONFIG=/usr/bin/sdl-config
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i686-pc-linux-gnu-gcc
ac_cv_prog_CPP='i686-pc-linux-gnu-gcc -E'
ac_cv_prog_RANLIB=i686-pc-linux-gnu-ranlib
ac_cv_prog_STRIP=i686-pc-linux-gnu-strip
ac_cv_prog_cc_g=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=none
lt_cv_archive_cmds_need_lc=no
lt_cv_compiler_c_o=yes
lt_cv_compiler_o_lo=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.3.6.so'
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/i686-pc-linux-gnu/bin/ld
lt_cv_path_NM='/usr/bin/i686-pc-linux-gnu-nm -B'
lt_cv_prog_cc_can_build_shared=yes
lt_cv_prog_cc_no_builtin=
lt_cv_prog_cc_pic=' -fPIC'
lt_cv_prog_cc_pic_works=yes
lt_cv_prog_cc_shlib=
lt_cv_prog_cc_static=-static
lt_cv_prog_cc_static_works=yes
lt_cv_prog_cc_wl=-Wl,
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[      ]\([ABCDGISTW][ABCDGISTW]*\)[   ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_path_separator=:

## ------------ ##
## confdefs.h.  ##
## ------------ ##

#define PACKAGE "SDL_sound"
#define VERSION "1.0.1"
#define HAVE_DLFCN_H 1
#define NDEBUG 1
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-16 13:37:58 UTC
Please, use attachments instead of pasting huge logs in future.

> libSDL.so: undefined reference to `DirectFBInit'

You need to run revdep-rebuild, apparently.

*** This bug has been marked as a duplicate of 132716 ***