List:MySQL++« Previous MessageNext Message »
From:George13p Date:March 22 2006 4:29pm
Subject:Re: problem with building mysql++
View as plain text  
next part:

configure:8505: $? = 0
configure:8507: gcc -v </dev/null >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada
--disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit --without-system-libunwind --host=i586-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
configure:8510: $? = 0
configure:8512: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:8515: $? = 1
configure:8518: checking whether we are using the GNU C compiler
configure:8574: result: yes
configure:8580: checking whether gcc accepts -g
configure:8631: result: yes
configure:8648: checking for gcc option to accept ANSI C
configure:8755: result: none needed
configure:8773: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:8779: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:8914: checking dependency style of gcc
configure:9004: result: gcc3
configure:9073: checking for g++
configure:9089: found /usr/local/bin/g++
configure:9099: result: g++
configure:9115: checking for C++ compiler version
configure:9118: g++ --version </dev/null >&5
g++ (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
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:9121: $? = 0
configure:9123: g++ -v </dev/null >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada
--disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit --without-system-libunwind --host=i586-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
configure:9126: $? = 0
configure:9128: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:9131: $? = 1
configure:9134: checking whether we are using the GNU C++ compiler
configure:9158: g++ -c   conftest.cc >&5
configure:9164: $? = 0
configure:9168: test -z 
             || test ! -s conftest.err
configure:9171: $? = 0
configure:9174: test -s conftest.o
configure:9177: $? = 0
configure:9190: result: yes
configure:9196: checking whether g++ accepts -g
configure:9217: g++ -c -g  conftest.cc >&5
configure:9223: $? = 0
configure:9227: test -z 
             || test ! -s conftest.err
configure:9230: $? = 0
configure:9233: test -s conftest.o
configure:9236: $? = 0
configure:9247: result: yes
configure:9289: g++ -c -g -O2  conftest.cc >&5
configure:9295: $? = 0
configure:9299: test -z 
             || test ! -s conftest.err
configure:9302: $? = 0
configure:9305: test -s conftest.o
configure:9308: $? = 0
configure:9334: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:26: error: 'exit' was not declared in this scope
configure:9340: $? = 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
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:9289: g++ -c -g -O2  conftest.cc >&5
configure:9295: $? = 0
configure:9299: test -z 
             || test ! -s conftest.err
configure:9302: $? = 0
configure:9305: test -s conftest.o
configure:9308: $? = 0
configure:9334: g++ -c -g -O2  conftest.cc >&5
configure:9340: $? = 0
configure:9344: test -z 
             || test ! -s conftest.err
configure:9347: $? = 0
configure:9350: test -s conftest.o
configure:9353: $? = 0
configure:9378: checking dependency style of g++
configure:9468: result: gcc3
configure:9488: checking for ANSI C header files
configure:9644: result: yes
configure:9654: checking for an ANSI C-conforming const
configure:9721: gcc -c -g -O2  conftest.c >&5
configure:9727: $? = 0
configure:9731: test -z 
             || test ! -s conftest.err
configure:9734: $? = 0
configure:9737: test -s conftest.o
configure:9740: $? = 0
configure:9751: result: yes
configure:9765: checking for strtol
configure:9822: gcc -o conftest -g -O2   conftest.c  >&5
configure:9828: $? = 0
configure:9832: test -z 
             || test ! -s conftest.err
configure:9835: $? = 0
configure:9838: test -s conftest
configure:9841: $? = 0
configure:9853: result: yes
configure:10065: checking for the pthreads library -lpthreads
configure:10103: gcc -o conftest -g -O2    conftest.c -lpthreads  >&5
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot find
-lpthreads
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:10012: checking whether pthreads work without any flags
configure:10103: gcc -o conftest -g -O2    conftest.c   >&5
/tmp/ccGlZ9yt.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.  */


		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
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