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.57. Invocation command line was $ ./configure -C --prefix=/mp/slaskdisk/tmp/xenofarm/lsh/sellafield.lysator.liu.se/buildtmp/dist/pfx --disable-shared --without-adns --without-readline --without-glib --without-tcl --without-www ## --------- ## ## Platform. ## ## --------- ## hostname = sellafield.lysator.liu.se uname -m = sun4u uname -r = 5.9 uname -s = SunOS uname -v = Generic_112233-11 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = sellafield.lysator.liu.se Release = 5.9 KernelID = Generic_112233-11 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/bin PATH: . PATH: /usr/local/bin PATH: /sw/local/bin PATH: /usr/ccs/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1389: creating cache config.cache configure:1507: checking for a BSD-compatible install configure:1561: result: /usr/local/bin/install -c configure:1572: checking whether build environment is sane configure:1615: result: yes configure:1640: WARNING: `missing' script is too old or missing configure:1648: checking for gawk configure:1664: found /usr/local/bin/gawk configure:1674: result: gawk configure:1684: checking whether make sets $(MAKE) configure:1704: result: yes configure:1874: checking build system type configure:1892: result: sparc-sun-solaris2.9 configure:1900: checking host system type configure:1914: result: sparc-sun-solaris2.9 configure:2006: checking for style of include used by make configure:2034: result: GNU configure:2105: checking for gcc configure:2121: found /usr/local/bin/gcc configure:2131: result: gcc configure:2375: checking for C compiler version configure:2378: gcc --version &5 gcc (GCC) 3.2 Copyright (C) 2002 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:2381: $? = 0 configure:2383: gcc -v &5 Reading specs from /pkg/gcc/sparc-sol9/3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs Configured with: /pkg/gcc/src/FOO/3.2/configure --prefix=/pkg/gcc/sparc-sol9/3.2 --disable-shared --disable-libgcj --disable-nls Thread model: posix gcc version 3.2 configure:2386: $? = 0 configure:2388: gcc -V &5 gcc: argument to `-V' is missing configure:2391: $? = 1 configure:2415: checking for C compiler default output configure:2418: gcc conftest.c >&5 configure:2421: $? = 0 configure:2467: result: a.out configure:2472: checking whether the C compiler works configure:2478: ./a.out configure:2481: $? = 0 configure:2498: result: yes configure:2505: checking whether we are cross compiling configure:2507: result: no configure:2510: checking for suffix of executables configure:2512: gcc -o conftest conftest.c >&5 configure:2515: $? = 0 configure:2540: result: configure:2546: checking for suffix of object files configure:2568: gcc -c conftest.c >&5 configure:2571: $? = 0 configure:2593: result: o configure:2597: checking whether we are using the GNU C compiler configure:2622: gcc -c conftest.c >&5 configure:2625: $? = 0 configure:2628: test -s conftest.o configure:2631: $? = 0 configure:2644: result: yes configure:2650: checking whether gcc accepts -g configure:2672: gcc -c -g conftest.c >&5 configure:2675: $? = 0 configure:2678: test -s conftest.o configure:2681: $? = 0 configure:2692: result: yes configure:2709: checking for gcc option to accept ANSI C configure:2770: gcc -c -g -O2 conftest.c >&5 configure:2773: $? = 0 configure:2776: test -s conftest.o configure:2779: $? = 0 configure:2797: result: none needed configure:2815: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:2818: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2929: checking dependency style of gcc configure:3012: result: gcc3 configure:3029: checking for a sed that does not truncate output configure:3083: result: /usr/local/bin/sed configure:3086: checking for egrep configure:3096: result: egrep configure:3112: checking for ld used by gcc configure:3179: result: /usr/ccs/bin/ld configure:3188: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:3203: result: no configure:3208: checking for /usr/ccs/bin/ld option to reload object files configure:3215: result: -r configure:3224: checking for BSD-compatible nm configure:3266: result: /usr/ccs/bin/nm -p configure:3270: checking whether ln -s works configure:3274: result: yes configure:3281: checking how to recognise dependent libraries configure:3481: result: pass_all configure:3685: checking how to run the C preprocessor configure:3721: gcc -E conftest.c configure:3727: $? = 0 configure:3759: gcc -E conftest.c configure:3760:28: ac_nonexistent.h: No such file or directory configure:3765: $? = 1 configure: failed program was: | #line 3750 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | /* end confdefs.h. */ | #include configure:3803: result: gcc -E configure:3828: gcc -E conftest.c configure:3834: $? = 0 configure:3866: gcc -E conftest.c configure:3867:28: ac_nonexistent.h: No such file or directory configure:3872: $? = 1 configure: failed program was: | #line 3857 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | /* end confdefs.h. */ | #include configure:3915: checking for ANSI C header files configure:3941: gcc -c -g -O2 conftest.c >&5 configure:3944: $? = 0 configure:3947: test -s conftest.o configure:3950: $? = 0 configure:4039: gcc -o conftest -g -O2 conftest.c >&5 configure:4042: $? = 0 configure:4044: ./conftest configure:4047: $? = 0 configure:4062: result: yes configure:4086: checking for sys/types.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4086: checking for sys/stat.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4086: checking for stdlib.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4086: checking for string.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4086: checking for memory.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4086: checking for strings.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4086: checking for inttypes.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4086: checking for stdint.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4144:20: stdint.h: No such file or directory configure:4106: $? = 1 configure: failed program was: | #line 4091 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | #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 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4123: result: no configure:4086: checking for unistd.h configure:4103: gcc -c -g -O2 conftest.c >&5 configure:4106: $? = 0 configure:4109: test -s conftest.o configure:4112: $? = 0 configure:4123: result: yes configure:4149: checking dlfcn.h usability configure:4162: gcc -c -g -O2 conftest.c >&5 configure:4165: $? = 0 configure:4168: test -s conftest.o configure:4171: $? = 0 configure:4181: result: yes configure:4185: checking dlfcn.h presence configure:4196: gcc -E conftest.c configure:4202: $? = 0 configure:4221: result: yes configure:4257: checking for dlfcn.h configure:4264: result: yes configure:4329: checking for g++ configure:4345: found /usr/local/bin/g++ configure:4355: result: g++ configure:4371: checking for C++ compiler version configure:4374: g++ --version &5 g++ (GCC) 3.2 Copyright (C) 2002 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:4377: $? = 0 configure:4379: g++ -v &5 Reading specs from /pkg/gcc/sparc-sol9/3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs Configured with: /pkg/gcc/src/FOO/3.2/configure --prefix=/pkg/gcc/sparc-sol9/3.2 --disable-shared --disable-libgcj --disable-nls Thread model: posix gcc version 3.2 configure:4382: $? = 0 configure:4384: g++ -V &5 g++: argument to `-V' missing configure:4387: $? = 1 configure:4390: checking whether we are using the GNU C++ compiler configure:4415: g++ -c conftest.cc >&5 configure:4418: $? = 0 configure:4421: test -s conftest.o configure:4424: $? = 0 configure:4437: result: yes configure:4443: checking whether g++ accepts -g configure:4465: g++ -c -g conftest.cc >&5 configure:4468: $? = 0 configure:4471: test -s conftest.o configure:4474: $? = 0 configure:4485: result: yes configure:4529: g++ -c -g -O2 conftest.cc >&5 configure:4532: $? = 0 configure:4535: test -s conftest.o configure:4538: $? = 0 configure:4565: g++ -c -g -O2 conftest.cc >&5 configure: In function `int main()': configure:4572: `exit' undeclared (first use this function) configure:4572: (Each undeclared identifier is reported only once for each function it appears in.) configure:4568: $? = 1 configure: failed program was: | #line 4548 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } configure:4529: g++ -c -g -O2 conftest.cc >&5 configure:4532: $? = 0 configure:4535: test -s conftest.o configure:4538: $? = 0 configure:4565: g++ -c -g -O2 conftest.cc >&5 configure:4568: $? = 0 configure:4571: test -s conftest.o configure:4574: $? = 0 configure:4599: checking dependency style of g++ configure:4682: result: gcc3 configure:4704: checking how to run the C++ preprocessor configure:4736: g++ -E conftest.cc configure:4742: $? = 0 configure:4774: g++ -E conftest.cc configure:4788:28: ac_nonexistent.h: No such file or directory configure:4780: $? = 1 configure: failed program was: | #line 4765 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include configure:4818: result: g++ -E configure:4843: g++ -E conftest.cc configure:4849: $? = 0 configure:4881: g++ -E conftest.cc configure:4895:28: ac_nonexistent.h: No such file or directory configure:4887: $? = 1 configure: failed program was: | #line 4872 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include configure:4981: checking for g77 configure:4997: found /usr/local/bin/g77 configure:5007: result: g77 configure:5025: checking for Fortran 77 compiler version configure:5025: g77 --version &5 GNU Fortran (GCC 3.2) 3.2 20020814 (release) Copyright (C) 2002 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING or type the command `info -f g77 Copying'. configure:5028: $? = 0 configure:5030: g77 -v &5 Reading specs from /pkg/gcc/sparc-sol9/3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs Configured with: /pkg/gcc/src/FOO/3.2/configure --prefix=/pkg/gcc/sparc-sol9/3.2 --disable-shared --disable-libgcj --disable-nls Thread model: posix gcc version 3.2 configure:5033: $? = 0 configure:5035: g77 -V &5 g77: argument to `-V' missing configure:5038: $? = 1 configure:5045: checking whether we are using the GNU Fortran 77 compiler configure:5059: g77 -c conftest.F >&5 configure:5062: $? = 0 configure:5065: test -s conftest.o configure:5068: $? = 0 configure:5081: result: yes configure:5088: checking whether g77 accepts -g configure:5100: g77 -c -g conftest.f >&5 configure:5103: $? = 0 configure:5106: test -s conftest.o configure:5109: $? = 0 configure:5121: result: yes configure:5149: checking the maximum length of command line arguments configure:5208: result: 262144 configure:5219: checking command to parse /usr/ccs/bin/nm -p output from gcc object configure:5308: gcc -c -g -O2 conftest.c >&5 configure:5311: $? = 0 configure:5315: /usr/ccs/bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([BDT][BDT]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm configure:5318: $? = 0 configure:5370: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:5373: $? = 0 configure:5411: result: ok configure:5415: checking for objdir configure:5430: result: .libs configure:5520: checking for ar configure:5536: found /usr/ccs/bin/ar configure:5547: result: ar configure:5600: checking for ranlib configure:5616: found /usr/ccs/bin/ranlib configure:5627: result: ranlib configure:5680: checking for strip configure:5696: found /usr/ccs/bin/strip configure:5707: result: strip configure:5969: checking if gcc static flag works configure:5992: result: yes configure:6009: checking if gcc supports -fno-rtti -fno-exceptions configure:6030: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 configure:6034: $? = 0 configure:6042: result: yes configure:6057: checking for gcc option to produce PIC configure:6234: result: -fPIC configure:6241: checking if gcc PIC flag -fPIC works configure:6262: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 configure:6266: $? = 0 configure:6274: result: yes configure:6298: checking if gcc supports -c -o file.o configure:6329: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:6333: $? = 0 configure:6347: result: yes configure:6373: checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries configure:7167: result: yes configure:7238: checking how to hardcode library paths into programs configure:7263: result: immediate configure:7277: checking whether stripping libraries is possible configure:7298: result: no configure:7304: checking dynamic linker characteristics configure:7815: result: solaris2.9 ld.so configure:8541: checking if libtool supports shared libraries configure:8543: result: yes configure:8546: checking whether to build shared libraries configure:8595: result: no configure:8598: checking whether to build static libraries configure:8602: result: yes configure:8693: creating libtool configure:9237: checking for ld used by g++ configure:9304: result: /usr/ccs/bin/ld configure:9313: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:9328: result: no configure:9379: checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries configure:10174: result: yes configure:10192: g++ -c -g -O2 conftest.cc >&5 configure:10195: $? = 0 configure:10291: checking for g++ option to produce PIC configure:10543: result: -fPIC configure:10550: checking if g++ PIC flag -fPIC works configure:10571: g++ -c -g -O2 -fPIC -DPIC conftest.cc >&5 configure:10575: $? = 0 configure:10583: result: yes configure:10607: checking if g++ supports -c -o file.o configure:10638: g++ -c -g -O2 -o out/conftest2.o conftest.cc >&5 configure:10642: $? = 0 configure:10656: result: yes configure:10682: checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries configure:10707: result: yes configure:10778: checking how to hardcode library paths into programs configure:10803: result: immediate configure:10817: checking whether stripping libraries is possible configure:10838: result: no configure:10844: checking dynamic linker characteristics configure:11355: result: solaris2.9 ld.so configure:12554: checking if libtool supports shared libraries configure:12556: result: yes configure:12559: checking whether to build shared libraries configure:12577: result: no configure:12580: checking whether to build static libraries configure:12584: result: yes configure:12596: checking for g77 option to produce PIC configure:12773: result: -fPIC configure:12780: checking if g77 PIC flag -fPIC works configure:12801: g77 -c -g -O2 -fPIC conftest.f >&5 configure:12805: $? = 0 configure:12813: result: yes configure:12837: checking if g77 supports -c -o file.o configure:12868: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 configure:12872: $? = 0 configure:12886: result: yes configure:12912: checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries configure:13684: result: yes configure:13755: checking how to hardcode library paths into programs configure:13780: result: immediate configure:13794: checking whether stripping libraries is possible configure:13815: result: no configure:13821: checking dynamic linker characteristics configure:14332: result: solaris2.9 ld.so configure:18266: checking for gcc configure:18292: result: gcc configure:18536: checking for C compiler version configure:18539: gcc --version &5 gcc (GCC) 3.2 Copyright (C) 2002 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:18542: $? = 0 configure:18544: gcc -v &5 Reading specs from /pkg/gcc/sparc-sol9/3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs Configured with: /pkg/gcc/src/FOO/3.2/configure --prefix=/pkg/gcc/sparc-sol9/3.2 --disable-shared --disable-libgcj --disable-nls Thread model: posix gcc version 3.2 configure:18547: $? = 0 configure:18549: gcc -V &5 gcc: argument to `-V' is missing configure:18552: $? = 1 configure:18555: checking whether we are using the GNU C compiler configure:18602: result: yes configure:18608: checking whether gcc accepts -g configure:18650: result: yes configure:18667: checking for gcc option to accept ANSI C configure:18755: result: none needed configure:18773: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:18776: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:18887: checking dependency style of gcc configure:18970: result: gcc3 configure:18999: checking for a BSD-compatible install configure:19053: result: /usr/local/bin/install -c configure:19168: checking poll.h usability configure:19181: gcc -c -g -O2 conftest.c >&5 configure:19184: $? = 0 configure:19187: test -s conftest.o configure:19190: $? = 0 configure:19200: result: yes configure:19204: checking poll.h presence configure:19215: gcc -E conftest.c configure:19221: $? = 0 configure:19240: result: yes configure:19276: checking for poll.h configure:19283: result: yes configure:19168: checking sys/select.h usability configure:19181: gcc -c -g -O2 conftest.c >&5 configure:19184: $? = 0 configure:19187: test -s conftest.o configure:19190: $? = 0 configure:19200: result: yes configure:19204: checking sys/select.h presence configure:19215: gcc -E conftest.c configure:19221: $? = 0 configure:19240: result: yes configure:19276: checking for sys/select.h configure:19283: result: yes configure:19168: checking sys/socket.h usability configure:19181: gcc -c -g -O2 conftest.c >&5 configure:19184: $? = 0 configure:19187: test -s conftest.o configure:19190: $? = 0 configure:19200: result: yes configure:19204: checking sys/socket.h presence configure:19215: gcc -E conftest.c configure:19221: $? = 0 configure:19240: result: yes configure:19276: checking for sys/socket.h configure:19283: result: yes configure:19159: checking for string.h configure:19164: result: yes configure:19159: checking for strings.h configure:19164: result: yes configure:20275: checking for res_query in -lresolv configure:20306: gcc -o conftest -g -O2 conftest.c -lresolv >&5 configure:20309: $? = 0 configure:20312: test -s conftest configure:20315: $? = 0 configure:20327: result: yes configure:20338: checking for library containing gethostbyname configure:20369: gcc -o conftest -g -O2 conftest.c -lresolv >&5 Undefined first referenced symbol in file gethostbyname /var/tmp//ccQ0P0wx.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:20372: $? = 1 configure: failed program was: | #line 20345 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | #include | #endif | #define HAVE_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_LIBRESOLV 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 gethostbyname (); | int | main () | { | gethostbyname (); | ; | return 0; | } configure:20414: gcc -o conftest -g -O2 conftest.c -lnsl -lresolv >&5 configure:20417: $? = 0 configure:20420: test -s conftest configure:20423: $? = 0 configure:20437: result: -lnsl configure:20444: checking for library containing socket configure:20475: gcc -o conftest -g -O2 conftest.c -lnsl -lresolv >&5 Undefined first referenced symbol in file socket /var/tmp//ccmYbZr1.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1) ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:20478: $? = 1 configure: failed program was: | #line 20451 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "liboop" | #define VERSION "1.0" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | #include | #endif | #define HAVE_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_LIBRESOLV 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 socket (); | int | main () | { | socket (); | ; | return 0; | } configure:20520: gcc -o conftest -g -O2 conftest.c -lsocket -lnsl -lresolv >&5 configure:20523: $? = 0 configure:20526: test -s conftest configure:20529: $? = 0 configure:20543: result: -lsocket configure:20722: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.57. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on sellafield.lysator.liu.se config.status:686: creating Makefile config.status:686: creating liboop.pc config.status:686: creating liboop-glib2.pc config.status:811: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=sparc-sun-solaris2.9 ac_cv_build_alias=sparc-sun-solaris2.9 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_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_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_f77_compiler_gnu=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_poll_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=sparc-sun-solaris2.9 ac_cv_host_alias=sparc-sun-solaris2.9 ac_cv_lib_resolv_res_query=yes ac_cv_objext=o ac_cv_path_install=$'/usr/local/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CPP=$'gcc -E' ac_cv_prog_CXXCPP=$'g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_F77=g77 ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_egrep=egrep ac_cv_prog_f77_g=yes ac_cv_prog_make_make_set=yes ac_cv_search_gethostbyname=-lnsl ac_cv_search_socket=-lsocket am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd=$'$MAGIC_CMD' lt_cv_file_magic_test_file=/lib/libc.so lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/ccs/bin/ld lt_cv_path_LDCXX=/usr/ccs/bin/ld lt_cv_path_NM=$'/usr/ccs/bin/nm -p' lt_cv_path_SED=/usr/local/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_c_o_F77=yes lt_cv_prog_compiler_rtti_exceptions=yes lt_cv_prog_gnu_ld=no lt_cv_prog_gnu_ldcxx=no lt_cv_sys_global_symbol_pipe=$'sed -n -e \'s/^.*[ \t]\\([BDT][BDT]*\\)[ \t][ \t]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)$/\\1 \\2\\3 \\3/p\'' lt_cv_sys_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_sys_global_symbol_to_cdecl=$'sed -n -e \'s/^. .* \\(.*\\)$/extern int \\1;/p\'' lt_cv_sys_max_cmd_len=262144 lt_lt_cv_prog_compiler_c_o=$'"yes"' lt_lt_cv_prog_compiler_c_o_CXX=$'"yes"' lt_lt_cv_prog_compiler_c_o_F77=$'"yes"' lt_lt_cv_sys_global_symbol_pipe=$'"sed -n -e \'s/^.*[ \t]\\\\([BDT][BDT]*\\\\)[ \t][ \t]*\\\\(\\\\)\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\$/\\\\1 \\\\2\\\\3 \\\\3/p\'"' lt_lt_cv_sys_global_symbol_to_c_name_address=$'"sed -n -e \'s/^: \\\\([^ ]*\\\\) \\$/ {\\\\\\"\\\\1\\\\\\", (lt_ptr) 0},/p\' -e \'s/^[BCDEGRST] \\\\([^ ]*\\\\) \\\\([^ ]*\\\\)\\$/ {\\"\\\\2\\", (lt_ptr) \\\\&\\\\2},/p\'"' lt_lt_cv_sys_global_symbol_to_cdecl=$'"sed -n -e \'s/^. .* \\\\(.*\\\\)\\$/extern int \\\\1;/p\'"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='aclocal-1.7' ADNS_LIBS='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='tar' AR='ar' AUTOCONF='autoconf' AUTOHEADER='autoheader' AUTOMAKE='automake-1.7' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 $(EXTRA_CFLAGS)' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_LIBRESOLV=1 ' DEPDIR='.deps' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='egrep' EXEEXT='' F77='g77' FFLAGS='-g -O2' GLIB2_CFLAGS='' GLIB2_LIBS='' GLIB_INCLUDES='' GLIB_LIBS='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBOOP_LIBS='' LIBS='-lsocket -lnsl -lresolv ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='makeinfo' OBJEXT='o' PACKAGE='liboop' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='' PROG_GLIB_CONFIG='' PROG_LDCONFIG=':' PROG_WWW_CONFIG='' RANLIB='ranlib' READLINE_LIBS='' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' TCL_INCLUDES='' TCL_LIBS='' VERSION='1.0' WWW_INCLUDES='' WWW_LIBS='' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_F77='g77' ac_ct_RANLIB='ranlib' ac_ct_STRIP='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='sparc-sun-solaris2.9' build_alias='' build_cpu='sparc' build_os='solaris2.9' build_vendor='sun' datadir='${prefix}/share' exec_prefix='${prefix}' host='sparc-sun-solaris2.9' host_alias='' host_cpu='sparc' host_os='solaris2.9' host_vendor='sun' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/mp/slaskdisk/tmp/xenofarm/lsh/sellafield.lysator.liu.se/buildtmp/dist/liboop-1.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/mp/slaskdisk/tmp/xenofarm/lsh/sellafield.lysator.liu.se/buildtmp/dist/pfx' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_DLFCN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIBRESOLV 1 #define HAVE_MEMORY_H 1 #define HAVE_POLL_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define PACKAGE "liboop" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define STDC_HEADERS 1 #define VERSION "1.0" #endif #ifdef __cplusplus #include configure: exit 0