This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ossie_demo configure 0.5.0, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu uname -m = i686 uname -r = 2.6.12-9-386 uname -s = Linux uname -v = #1 Mon Oct 10 13:14:36 BST 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/bin PATH: /usr/local/sbin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin PATH: /usr/bin/X11 PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1377: checking for a BSD-compatible install configure:1432: result: /usr/bin/install -c configure:1443: checking whether build environment is sane configure:1486: result: yes configure:1551: checking for gawk configure:1567: found /usr/bin/gawk configure:1577: result: gawk configure:1587: checking whether make sets $(MAKE) configure:1607: result: yes configure:1830: checking for g++ configure:1846: found /usr/bin/g++ configure:1856: result: g++ configure:1872: checking for C++ compiler version configure:1875: g++ --version &5 g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) Copyright (C) 2005 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:1878: $? = 0 configure:1880: g++ -v &5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) configure:1883: $? = 0 configure:1885: g++ -V &5 g++: '-V' option must have argument configure:1888: $? = 1 configure:1911: checking for C++ compiler default output file name configure:1914: g++ conftest.cc >&5 configure:1917: $? = 0 configure:1963: result: a.out configure:1968: checking whether the C++ compiler works configure:1974: ./a.out configure:1977: $? = 0 configure:1994: result: yes configure:2001: checking whether we are cross compiling configure:2003: result: no configure:2006: checking for suffix of executables configure:2008: g++ -o conftest conftest.cc >&5 configure:2011: $? = 0 configure:2036: result: configure:2042: checking for suffix of object files configure:2063: g++ -c conftest.cc >&5 configure:2066: $? = 0 configure:2088: result: o configure:2092: checking whether we are using the GNU C++ compiler configure:2116: g++ -c conftest.cc >&5 configure:2122: $? = 0 configure:2126: test -z || test ! -s conftest.err configure:2129: $? = 0 configure:2132: test -s conftest.o configure:2135: $? = 0 configure:2148: result: yes configure:2154: checking whether g++ accepts -g configure:2175: g++ -c -g conftest.cc >&5 configure:2181: $? = 0 configure:2185: test -z || test ! -s conftest.err configure:2188: $? = 0 configure:2191: test -s conftest.o configure:2194: $? = 0 configure:2205: result: yes configure:2247: g++ -c -g -O2 conftest.cc >&5 configure:2253: $? = 0 configure:2257: test -z || test ! -s conftest.err configure:2260: $? = 0 configure:2263: test -s conftest.o configure:2266: $? = 0 configure:2292: g++ -c -g -O2 conftest.cc >&5 conftest.cc: In function 'int main()': conftest.cc:15: error: 'exit' was not declared in this scope configure:2298: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } configure:2247: g++ -c -g -O2 conftest.cc >&5 configure:2253: $? = 0 configure:2257: test -z || test ! -s conftest.err configure:2260: $? = 0 configure:2263: test -s conftest.o configure:2266: $? = 0 configure:2292: g++ -c -g -O2 conftest.cc >&5 configure:2298: $? = 0 configure:2302: test -z || test ! -s conftest.err configure:2305: $? = 0 configure:2308: test -s conftest.o configure:2311: $? = 0 configure:2345: checking for style of include used by make configure:2373: result: GNU configure:2401: checking dependency style of g++ configure:2491: result: gcc3 configure:2521: checking for a BSD-compatible install configure:2576: result: /usr/bin/install -c configure:2587: checking whether make sets $(MAKE) configure:2607: result: yes configure:2663: checking for gcc configure:2679: found /usr/bin/gcc configure:2689: result: gcc configure:2933: checking for C compiler version configure:2936: gcc --version &5 gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) Copyright (C) 2005 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:2939: $? = 0 configure:2941: gcc -v &5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) configure:2944: $? = 0 configure:2946: gcc -V &5 gcc: '-V' option must have argument configure:2949: $? = 1 configure:2952: checking whether we are using the GNU C compiler configure:2976: gcc -c conftest.c >&5 configure:2982: $? = 0 configure:2986: test -z || test ! -s conftest.err configure:2989: $? = 0 configure:2992: test -s conftest.o configure:2995: $? = 0 configure:3008: result: yes configure:3014: checking whether gcc accepts -g configure:3035: gcc -c -g conftest.c >&5 configure:3041: $? = 0 configure:3045: test -z || test ! -s conftest.err configure:3048: $? = 0 configure:3051: test -s conftest.o configure:3054: $? = 0 configure:3065: result: yes configure:3082: checking for gcc option to accept ANSI C configure:3152: gcc -c -g -O2 conftest.c >&5 configure:3158: $? = 0 configure:3162: test -z || test ! -s conftest.err configure:3165: $? = 0 configure:3168: test -s conftest.o configure:3171: $? = 0 configure:3189: result: none needed configure:3207: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: syntax error before 'me' configure:3213: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3348: checking dependency style of gcc configure:3438: result: gcc3 configure:3456: checking for sys/wait.h that is POSIX.1 compatible configure:3487: gcc -c -g -O2 conftest.c >&5 configure:3493: $? = 0 configure:3497: test -z || test ! -s conftest.err configure:3500: $? = 0 configure:3503: test -s conftest.o configure:3506: $? = 0 configure:3517: result: yes configure:3533: checking how to run the C preprocessor configure:3568: gcc -E conftest.c configure:3574: $? = 0 configure:3606: gcc -E conftest.c conftest.c:15:28: error: ac_nonexistent.h: No such file or directory configure:3612: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | /* end confdefs.h. */ | #include configure:3651: result: gcc -E configure:3675: gcc -E conftest.c configure:3681: $? = 0 configure:3713: gcc -E conftest.c conftest.c:15:28: error: ac_nonexistent.h: No such file or directory configure:3719: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | /* end confdefs.h. */ | #include configure:3763: checking for egrep configure:3773: result: grep -E configure:3778: checking for ANSI C header files configure:3803: gcc -c -g -O2 conftest.c >&5 configure:3809: $? = 0 configure:3813: test -z || test ! -s conftest.err configure:3816: $? = 0 configure:3819: test -s conftest.o configure:3822: $? = 0 configure:3911: gcc -o conftest -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:32: warning: incompatible implicit declaration of built-in function 'exit' configure:3914: $? = 0 configure:3916: ./conftest configure:3919: $? = 0 configure:3934: result: yes configure:3958: checking for sys/types.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for sys/stat.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for stdlib.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for string.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for memory.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for strings.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for inttypes.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for stdint.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:3958: checking for unistd.h configure:3974: gcc -c -g -O2 conftest.c >&5 configure:3980: $? = 0 configure:3984: test -z || test ! -s conftest.err configure:3987: $? = 0 configure:3990: test -s conftest.o configure:3993: $? = 0 configure:4004: result: yes configure:4016: checking for pid_t configure:4040: gcc -c -g -O2 conftest.c >&5 configure:4046: $? = 0 configure:4050: test -z || test ! -s conftest.err configure:4053: $? = 0 configure:4056: test -s conftest.o configure:4059: $? = 0 configure:4070: result: yes configure:4088: checking for unistd.h configure:4093: result: yes configure:4097: checking vfork.h usability configure:4109: gcc -c -g -O2 conftest.c >&5 conftest.c:60:19: error: vfork.h: No such file or directory configure:4115: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_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:4138: result: no configure:4142: checking vfork.h presence configure:4152: gcc -E conftest.c conftest.c:26:19: error: vfork.h: No such file or directory configure:4158: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:4178: result: no configure:4213: checking for vfork.h configure:4220: result: no configure:4238: checking for fork configure:4295: gcc -o conftest -g -O2 conftest.c >&5 conftest.c:50: warning: conflicting types for built-in function 'fork' configure:4301: $? = 0 configure:4305: test -z || test ! -s conftest.err configure:4308: $? = 0 configure:4311: test -s conftest configure:4314: $? = 0 configure:4326: result: yes configure:4238: checking for vfork configure:4295: gcc -o conftest -g -O2 conftest.c >&5 configure:4301: $? = 0 configure:4305: test -z || test ! -s conftest.err configure:4308: $? = 0 configure:4311: test -s conftest configure:4314: $? = 0 configure:4326: result: yes configure:4337: checking for working fork configure:4360: gcc -o conftest -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:10: warning: incompatible implicit declaration of built-in function 'exit' configure:4363: $? = 0 configure:4365: ./conftest configure:4368: $? = 0 configure:4382: result: yes configure:4403: checking for working vfork configure:4536: result: yes configure:4569: checking for libraries containing socket functions configure:4602: gcc -o conftest -g -O2 conftest.c >&5 configure:4608: $? = 0 configure:4612: test -z || test ! -s conftest.err configure:4615: $? = 0 configure:4618: test -s conftest configure:4621: $? = 0 configure:4756: result: -lc configure:4786: checking build system type configure:4804: result: i686-pc-linux-gnu configure:4812: checking host system type configure:4826: result: i686-pc-linux-gnu configure:4982: checking for the pthreads library -lpthreads configure:5020: gcc -o conftest -g -O2 conftest.c -lpthreads >&5 /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status configure:5026: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:5053: result: no configure:4971: checking whether pthreads work without any flags configure:5020: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cc4QkMFL.o: In function `main': /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:34: undefined reference to `pthread_join' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:35: undefined reference to `_pthread_cleanup_push' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:36: undefined reference to `pthread_create' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:36: undefined reference to `_pthread_cleanup_pop' collect2: ld returned 1 exit status configure:5026: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:5053: result: no configure:4976: checking whether pthreads work with -Kthread configure:5020: gcc -o conftest -g -O2 -Kthread conftest.c >&5 gcc: unrecognized option '-Kthread' /tmp/ccSfEaz9.o: In function `main': /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:34: undefined reference to `pthread_join' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:35: undefined reference to `_pthread_cleanup_push' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:36: undefined reference to `pthread_create' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:36: undefined reference to `_pthread_cleanup_pop' collect2: ld returned 1 exit status configure:5026: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:5053: result: no configure:4976: checking whether pthreads work with -kthread configure:5020: gcc -o conftest -g -O2 -kthread conftest.c >&5 gcc: unrecognized option '-kthread' /tmp/ccz77Kcl.o: In function `main': /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:34: undefined reference to `pthread_join' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:35: undefined reference to `_pthread_cleanup_push' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:36: undefined reference to `pthread_create' /home/vrose/Desktop/ossie_demo-0.5.0/conftest.c:36: undefined reference to `_pthread_cleanup_pop' collect2: ld returned 1 exit status configure:5026: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:5053: result: no configure:4982: checking for the pthreads library -llthread configure:5020: gcc -o conftest -g -O2 conftest.c -llthread >&5 /usr/bin/ld: cannot find -llthread collect2: ld returned 1 exit status configure:5026: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:5053: result: no configure:4976: checking whether pthreads work with -pthread configure:5020: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:5026: $? = 0 configure:5030: test -z || test ! -s conftest.err configure:5033: $? = 0 configure:5036: test -s conftest configure:5039: $? = 0 configure:5053: result: yes configure:5073: checking for joinable pthread attribute configure:5091: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:5097: $? = 0 configure:5101: test -z || test ! -s conftest.err configure:5104: $? = 0 configure:5107: test -s conftest configure:5110: $? = 0 configure:5176: result: PTHREAD_CREATE_JOINABLE configure:5183: checking if more special flags are required for pthreads configure:5190: result: no configure:5202: checking for cc_r configure:5229: result: gcc configure:5378: checking how to run the C++ preprocessor configure:5409: g++ -E conftest.cc configure:5415: $? = 0 configure:5447: g++ -E conftest.cc conftest.cc:34:28: error: ac_nonexistent.h: No such file or directory configure:5453: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_PTHREAD 1 | #define __linux__ 1 | #define __OSVERSION__ 2 | #define __x86__ 1 | /* end confdefs.h. */ | #include configure:5492: result: g++ -E configure:5516: g++ -E conftest.cc configure:5522: $? = 0 configure:5554: g++ -E conftest.cc conftest.cc:34:28: error: ac_nonexistent.h: No such file or directory configure:5560: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ossie_demo" | #define PACKAGE_TARNAME "ossie_demo" | #define PACKAGE_VERSION "0.5.0" | #define PACKAGE_STRING "ossie_demo 0.5.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "ossie_demo" | #define VERSION "0.5.0" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define HAVE_SYS_WAIT_H 1 | #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_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_PTHREAD 1 | #define __linux__ 1 | #define __OSVERSION__ 2 | #define __x86__ 1 | /* end confdefs.h. */ | #include configure:5619: checking for omniORB4 configure:5708: g++ -E -pthread -I/usr/local/include conftest.cc configure:5714: $? = 0 configure:5853: g++ -o conftest -g -O2 -pthread -I/usr/local/include -pthread -L/usr/local/lib conftest.cc -lomniORB4 -lomniDynamic4 -lomnithread >&5 configure:5859: $? = 0 configure:5863: test -z || test ! -s conftest.err configure:5866: $? = 0 configure:5869: test -s conftest configure:5872: $? = 0 configure:5958: result: /usr/local/include configure:5982: checking for omniidl configure:6042: result: /usr/local/bin/omniidl configure:6048: /usr/local/bin/omniidl -bcxx -Wbh=.hh conftest.idl configure:6051: $? = 0 configure:6510: checking for pkg-config configure:6528: found /usr/bin/pkg-config configure:6541: result: /usr/bin/pkg-config configure:6558: checking for ossie >= 0.0.1 configure:6562: result: yes configure:6566: checking OSSIE_CFLAGS configure:6569: result: -I/usr/local/include configure:6572: checking OSSIE_LIBS configure:6575: result: -L/usr/local/lib -lossieidl -lossieparser -lossiecf configure:6659: checking for standardInterfaces >= 0.0.1 ## ---------------- ## ## 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_corba_omniorb4=/usr/local/include 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_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_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_unistd_h=yes ac_cv_header_vfork_h=no ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_IDL=/usr/local/bin/omniidl ac_cv_path_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_PTHREAD_CC=gcc ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_egrep='grep -E' ac_cv_prog_make_make_set=yes ac_cv_socket_libs=-lc ac_cv_type_pid_t=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/vrose/Desktop/ossie_demo-0.5.0/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/vrose/Desktop/ossie_demo-0.5.0/missing --run tar' AUTOCONF='${SHELL} /home/vrose/Desktop/ossie_demo-0.5.0/missing --run autoconf' AUTOHEADER='${SHELL} /home/vrose/Desktop/ossie_demo-0.5.0/missing --run autoheader' AUTOMAKE='${SHELL} /home/vrose/Desktop/ossie_demo-0.5.0/missing --run automake-1.9' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CORBA_ORB='omniORB4' CPP='gcc -E' CPPFLAGS=' -pthread -I/usr/local/include' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2 -I/usr/local/include ' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' ETR_SOCKET_LIBS='' EXEEXT='' IDL='/usr/local/bin/omniidl' IDL_CPPFLAGS='' IDL_FLAGS='-I/usr/local/include ' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS=' -pthread -L/usr/local/lib' LIBOBJS='' LIBS=' -lomniORB4 -lomniDynamic4 -lomnithread -L/usr/local/lib -lossieidl -lossieparser -lossiecf ' LTLIBOBJS='' MAKEINFO='${SHELL} /home/vrose/Desktop/ossie_demo-0.5.0/missing --run makeinfo' OBJEXT='o' OSSIE_CFLAGS='-I/usr/local/include ' OSSIE_LIBS='-L/usr/local/lib -lossieidl -lossieparser -lossiecf ' OSVERSION='2' PACKAGE='ossie_demo' PACKAGE_BUGREPORT='' PACKAGE_NAME='ossie_demo' PACKAGE_STRING='ossie_demo 0.5.0' PACKAGE_TARNAME='ossie_demo' PACKAGE_VERSION='0.5.0' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PLATFORM_DEFINITION='__linux__' PLATFORM_NAME='Linux' PROCESSOR_DEFINITION='__x86__' PROCESSOR_NAME='x86Processor' PTHREAD_CC='gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' SET_MAKE='' SHELL='/bin/sh' SI_CFLAGS='' SI_LIBS='' SI_PATH='' STRIP='' VERSION='0.5.0' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_STRIP='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' 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='/home/vrose/Desktop/ossie_demo-0.5.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_FORK 1 #define HAVE_INTTYPES_H 1 #define HAVE_MEMORY_H 1 #define HAVE_OMNIORB4 1 #define HAVE_PTHREAD 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_WORKING_VFORK 1 #define PACKAGE "ossie_demo" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "ossie_demo" #define PACKAGE_STRING "ossie_demo 0.5.0" #define PACKAGE_TARNAME "ossie_demo" #define PACKAGE_VERSION "0.5.0" #define STDC_HEADERS 1 #define VERSION "0.5.0" #define __OSVERSION__ 2 #define __linux__ 1 #define __x86__ 1 #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit; configure: exit 1