List:MySQL++« Previous MessageNext Message »
From:George13p Date:March 22 2006 4:31pm
Subject:Re: problem with building mysql++
View as plain text  
 #define PACKAGE_NAME "mysql++"
| #define PACKAGE_TARNAME "mysql++"
| #define PACKAGE_VERSION "2.0.7"
| #define PACKAGE_STRING "mysql++ 2.0.7"
| #define PACKAGE_BUGREPORT "plusplus@stripped"
| #define PACKAGE "mysql++"
| #define VERSION "2.0.7"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_STRTOL 1
| /* end confdefs.h.  */
| #include <pthread.h>
| 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:10136: result: no
configure:10017: checking whether pthreads work with -Kthread
configure:10103: gcc -o conftest -g -O2 -Kthread   conftest.c   >&5
gcc: unrecognized option '-Kthread'
/tmp/cc4qh1aF.o: In function `main':
/root/mysql++/mysql++-2.0.7/conftest.c:31: undefined reference to `pthread_join'
/root/mysql++/mysql++-2.0.7/conftest.c:32: undefined reference to `_pthread_cleanup_push'
/root/mysql++/mysql++-2.0.7/conftest.c:33: undefined reference to `pthread_create'
/root/mysql++/mysql++-2.0.7/conftest.c:33: undefined reference to `_pthread_cleanup_pop'
collect2: ld returned 1 exit status
configure:10109: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "mysql++"
| #define PACKAGE_TARNAME "mysql++"
| #define PACKAGE_VERSION "2.0.7"
| #define PACKAGE_STRING "mysql++ 2.0.7"
| #define PACKAGE_BUGREPORT "plusplus@stripped"
| #define PACKAGE "mysql++"
| #define VERSION "2.0.7"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_STRTOL 1
| /* end confdefs.h.  */
| #include <pthread.h>
| 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:10136: result: no
configure:10017: checking whether pthreads work with -kthread
configure:10103: gcc -o conftest -g -O2 -kthread   conftest.c   >&5
gcc: unrecognized option '-kthread'
/tmp/ccMcmaYS.o: In function `main':
/root/mysql++/mysql++-2.0.7/conftest.c:31: undefined reference to `pthread_join'
/root/mysql++/mysql++-2.0.7/conftest.c:32: undefined reference to `_pthread_cleanup_push'
/root/mysql++/mysql++-2.0.7/conftest.c:33: undefined reference to `pthread_create'
/root/mysql++/mysql++-2.0.7/conftest.c:33: undefined reference to `_pthread_cleanup_pop'
collect2: ld returned 1 exit status
configure:10109: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "mysql++"
| #define PACKAGE_TARNAME "mysql++"
| #define PACKAGE_VERSION "2.0.7"
| #define PACKAGE_STRING "mysql++ 2.0.7"
| #define PACKAGE_BUGREPORT "plusplus@stripped"
| #define PACKAGE "mysql++"
| #define VERSION "2.0.7"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_STRTOL 1
| /* end confdefs.h.  */
| #include <pthread.h>
| 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:10136: result: no
configure:10065: checking for the pthreads library -llthread
configure:10103: gcc -o conftest -g -O2    conftest.c -llthread  >&5
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot find
-llthread
collect2: ld returned 1 exit status
configure:10109: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "mysql++"
| #define PACKAGE_TARNAME "mysql++"
| #define PACKAGE_VERSION "2.0.7"
| #define PACKAGE_STRING "mysql++ 2.0.7"
| #define PACKAGE_BUGREPORT "plusplus@stripped"
| #define PACKAGE "mysql++"
| #define VERSION "2.0.7"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_STRTOL 1
| /* end confdefs.h.  */
| #include <pthread.h>
| 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:10136: result: no
configure:10017: checking whether pthreads work with -pthread
configure:10103: gcc -o conftest -g -O2 -pthread   conftest.c   >&5
configure:10109: $? = 0
configure:10113: test -z 
             || test ! -s conftest.err
configure:10116: $? = 0
configure:10119: test -s conftest
configure:10122: $? = 0
configure:10136: result: yes
configure:10155: checking for joinable pthread attribute
configure:10175: gcc -o conftest -g -O2 -pthread   conftest.c   >&5
configure:10181: $? = 0
configure:10185: test -z 
             || test ! -s conftest.err
configure:10188: $? = 0
configure:10191: test -s conftest
configure:10194: $? = 0
configure:10205: result: PTHREAD_CREATE_JOINABLE
configure:10215: checking if more special flags are required for pthreads
configure:10222: result: no
configure:10234: checking for cc_r
configure:10261: result: gcc
configure:10316: checking zlib.h usability
configure:10328: gcc -c -g -O2 -pthread  conftest.c >&5
configure:10334: $? = 0
configure:10338: test -z 
             || test ! -s conftest.err
configure:10341: $? = 0
configure:10344: test -s conftest.o
configure:10347: $? = 0
configure:10357: result: yes
configure:10361: checking zlib.h presence
configure:10371: gcc -E  conftest.c
configure:10377: $? = 0
configure:10397: result: yes
configure:10432: checking for zlib.h
configure:10439: result: yes
configure:10448: checking for gzread in -lz
configure:10478: gcc -o conftest -g -O2 -pthread   conftest.c -lz    >&5
configure:10484: $? = 0
configure:10488: test -z 
             || test ! -s conftest.err
configure:10491: $? = 0
configure:10494: test -s conftest
configure:10497: $? = 0
configure:10510: result: yes
configure:10530: checking for library containing floor
configure:10560: gcc -o conftest -g -O2 -pthread   conftest.c -lz   >&5
conftest.c:37: warning: conflicting types for built-in function 'floor'
/tmp/cc0l4be7.o: In function `main':
/root/mysql++/mysql++-2.0.7/conftest.c:41: undefined reference to `floor'
collect2: ld returned 1 exit status
configure:10566: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|

		
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.
Thread
problem with building mysql++George13p21 Mar
  • Re: problem with building mysql++Warren Young21 Mar
    • Re: problem with building mysql++George13p21 Mar
      • Re: problem with building mysql++Warren Young22 Mar
        • Re: problem with building mysql++George13p22 Mar
          • Re: problem with building mysql++Warren Young23 Mar
            • Re: problem with building mysql++George13p23 Mar
              • Re: problem with building mysql++Warren Young23 Mar
                • Re: problem with building mysql++George13p23 Mar
                  • Re: problem with building mysql++Matt Dargavel24 Mar
                    • Re: problem with building mysql++Warren Young24 Mar
                      • Re: problem with building mysql++George13p24 Mar
                        • Re: problem with building mysql++Bj√∂rn Persson25 Mar
        • Re: problem with building mysql++George13p22 Mar
        • Re: problem with building mysql++George13p22 Mar
        • Re: problem with building mysql++George13p22 Mar
        • Re: problem with building mysql++George13p22 Mar
Re: problem with building mysql++George13p27 Mar
  • Re: problem with building mysql++Warren Young27 Mar
    • Re: problem with building mysql++George13p28 Mar
      • Re: problem with building mysql++Warren Young28 Mar
        • Re: problem with building mysql++George13p28 Mar
          • Re: problem with building mysql++Warren Young29 Mar
            • Re: problem with building mysql++George13p29 Mar
              • Re: problem with building mysql++Warren Young29 Mar
                • Re: problem with building mysql++George13p29 Mar
            • Re: problem with building mysql++George13p29 Mar
              • Re: problem with building mysql++Warren Young30 Mar
                • Re: problem with building mysql++George13p30 Mar
                  • Re: problem with building mysql++Warren Young31 Mar
          • Re: problem with building mysql++Ovidiu Bivolaru29 Mar
            • Re: problem with building mysql++George13p29 Mar
    • Re: problem with building mysql++Giles29 Mar
      • Re: problem with building mysql++Warren Young30 Mar
        • Re: problem with building mysql++Giles Anderson30 Mar