[BuildTools-tickets] [BuildTools] #72: Configure errors for Cbc-2.2.2 on Fedora11 (64 bits)

BuildTools coin-trac at coin-or.org
Thu Jun 18 07:39:29 EDT 2009


#72: Configure errors for Cbc-2.2.2 on Fedora11 (64 bits)
--------------------+-------------------------------------------------------
Reporter:  fmargot  |       Owner:  andreasw           
    Type:  defect   |      Status:  new                
Priority:  minor    |   Component:  configuration tests
 Version:  0.5      |    Keywords:                     
--------------------+-------------------------------------------------------
 The following (non fatal) errors are reported when running

 ../configure -C

 for compiling Cbc-2.2.2.

 {{{
 configure:2482: gcc -c -g -O2  conftest.c >&5
 conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before 'me'
 configure:2488: $? = 1
 configure: failed program was:
 | #ifndef __cplusplus
 |   choke me
 | #endif
 }}}

 {{{
 configure:3419: g++ -c -g -O2  conftest.cc >&5
 conftest.cc: In function 'int main()':
 conftest.cc:13: error: 'exit' was not declared in this scope
 configure:3425: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 |
 | #define PACKAGE_NAME "Cbc"
 | #define PACKAGE_TARNAME "cbc"
 | #define PACKAGE_VERSION "2.2.2"
 | #define PACKAGE_STRING "Cbc 2.2.2"
 | #define PACKAGE_BUGREPORT "coin-cbc at lists.coin-or.org"
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 | exit (42);
 |   ;
 |   return 0;
 | }
 configure:3374: g++ -c -g -O2  conftest.cc >&5
 conftest.cc:9: error: 'void std::exit(int)' should have been declared
 inside 'std'
 }}}

 {{{
 configure:6630: gcc -E  conftest.c
 conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
 }}}

 I attach the main config.log file

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/72>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list