[Ace-users] [Building Error]error of building ACE5.5 in Fedora7

macross_java zeros.zhang at gmail.com
Mon Sep 17 02:14:34 CDT 2007


Hi,

  I build ACE5.5 in Fedora7.

  When I configure it , It fails. And so, Makefile can not be
generated.

  When build ACE5.5 in the same way in Fedora5, It succeeds.
  I am confused.

  Can anyone help me ?
  Thank you very much.


  I attache the failing text of config.log in the followings.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  configure:91118: checking if generated ACE configuration is usable
configure:91246: g++ -c  -W -Wall -Wpointer-arith -fvisibility=hidden -
fvisibility-inlines-hidden  -g -O2 -pthread -pipe -O3 -I. -I..
conftest.cc >&5
../ace/os_include/sys/os_time.h: In function 'ACE_Time_Value
ACE_OS::gettimeofday()':
../ace/os_include/sys/os_time.h:50: error: too few arguments to
function 'int gettimeofday(timeval*, timezone*)'
../ace/OS_NS_sys_time.inl:81: error: at this point in file
configure:91252: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "ACE"
| #define PACKAGE_TARNAME "ace"
| #define PACKAGE_VERSION "5.5"
| #define PACKAGE_STRING "ACE 5.5"
| #define PACKAGE_BUGREPORT "ace-bugs at cs.wustl.edu"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ACE_HAS_POSITION_INDEPENDENT_POINTERS 1
| #define ACE_HAS_GPERF 1
| #define __ACE_INLINE__ 1
| #define ACE_HAS_CUSTOM_EXPORT_MACROS 1
| #define ACE_Proper_Export_Flag __attribute__
((visibility("default")))
| #define ACE_HAS_PTHREADS 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_DLFCN_H 1
| #define ACE_HAS_AIO_CALLS 1
| #define ACE_HAS_POSIX_REALTIME_SIGNALS 1
| #define ACE_DEFAULT_MAX_SOCKET_BUFSIZ 65535
| #define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000)
| #define ACE_HAS_BIG_FD_SET 1
| #define ACE_TIMER_SKEW (1000 * 10)
| #define ACE_IOCTL_TYPE_ARG2 int
| #define HAVE_DIRENT_H 1
| #define ACE_HAS_DIRENT 1
| #define HAVE_SYS_WAIT_H 1
| #define ACE_HAS_SVR4_DYNAMIC_LINKING 1
| #define ACE_HAS_PROC_FS 1
| #define ACE_HAS_TERMIO 1
| #define ACE_HAS_TERMIOS 1
| #define ACE_HAS_STRINGS 1
| #define ACE_HAS_SYS_SYSCALL_H 1
| #define ACE_HAS_POLL 1
| #define ACE_HAS_STREAMS 1
| #define ACE_LACKS_SIGINFO_H 1
| #define ACE_HAS_WCHAR 1
| #define ACE_HAS_NEW_NO_H 1
| #define ACE_HAS_STDEXCEPT_NO_H 1
| #define ACE_HAS_GNU_CSTRING_H 1
| #define HAVE_IOMANIP 1
| #define HAVE_IOS 1
| #define HAVE_IOSTREAM 1
| #define HAVE_ISTREAM 1
| #define HAVE_OSTREAM 1
| #define HAVE_FSTREAM 1
| #define HAVE_STREAMBUF 1
| #define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1
| #define ACE_HAS_CPU_SET_T 1
| #define ACE_LACKS_PRI_T 1
| #define ACE_HAS_SIG_ATOMIC_T 1
| #define ACE_HAS_SSIZE_T 1
| #define ACE_HAS_UCONTEXT_T 1
| #define ACE_LACKS_U_LONGLONG_T 1
| #define ACE_HAS_SOCKLEN_T 1
| #define ACE_LACKS_RWLOCK_T 1
| #define ACE_HAS_STRBUF_T 1
| #define ACE_HAS_SIGINFO_T 1
| #define ACE_HAS_MSG 1
| #define ACE_HAS_POSIX_TIME 1
| #define ACE_LACKS_TIMESPEC_T 1
| #define ACE_HAS_SYS_SIGLIST 1
| #define ACE_HAS_SYS_ERRLIST 1
| #define ACE_LACKS_PRAGMA_ONCE 1
| #define SIZEOF_WCHAR_T 4
| #define ACE_SIZEOF_WCHAR 4
| #define SIZEOF_SHORT 2
| #define ACE_SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define ACE_SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define ACE_SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define ACE_SIZEOF_LONG_LONG 8
| #define SIZEOF_VOID_P 4
| #define ACE_SIZEOF_VOID_P 4
| #define SIZEOF_FLOAT 4
| #define ACE_SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define ACE_SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define ACE_SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_SIGNED_CHAR 1
| #define ACE_HAS_INT8_T 1
| #define ACE_HAS_UINT8_T 1
| #define ACE_HAS_INT16_T 1
| #define ACE_HAS_UINT16_T 1
| #define ACE_HAS_INT32_T 1
| #define ACE_HAS_UINT32_T 1
| #define ACE_HAS_INT64_T 1
| #define ACE_HAS_UINT64_T 1
| #define ACE_HAS_TIMEZONE 1
| #define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS 1
| #define ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR 1
| #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
| #define ACE_HAS_USING_KEYWORD 1
| #define ACE_HAS_STDCPP_STL_INCLUDES 1
| #define ACE_HAS_STRING_CLASS 1
| #define ACE_HAS_STANDARD_CPP_LIBRARY 1
| #define ACE_HAS_TYPENAME_KEYWORD 1
| #define ACE_TEMPLATES_REQUIRE_SOURCE 1
| #define ACE_HAS_STD_TEMPLATE_SPECIALIZATION 1
| #define ACE_HAS_STD_TEMPLATE_CLASS_MEMBER_SPECIALIZATION 1
| #define ACE_HAS_TEMPLATE_TYPEDEFS 1
| #define ACE_HAS_EXCEPTIONS 1
| #define ACE_HAS_ALT_CUSERID 1
| #define HAVE_STRFTIME 1
| #define ACE_HAS_CLOCK_GETTIME 1
| #define ACE_HAS_CLOCK_SETTIME 1
| #define ACE_HAS_NANOSLEEP 1
| #define ACE_LACKS_GETIPNODEBYADDR 1
| #define ACE_LACKS_GETIPNODEBYNAME 1
| #define ACE_HAS_GETIFADDRS 1
| #define ACE_HAS_GETPAGESIZE 1
| #define ACE_HAS_GETRUSAGE 1
| #define ACE_HAS_GETRUSAGE_PROTOTYPE 1
| #define ACE_HAS_LSEEK64 1
| #define ACE_HAS_MEMCHR 1
| #define ACE_HAS_STRNLEN 1
| #define ACE_HAS_STRERROR 1
| #define ACE_HAS_NONCONST_SWAB 1
| #define ACE_HAS_SYSCTL 1
| #define ACE_HAS_EVENT_POLL 1
| #define ACE_HAS_P_READ_WRITE 1
| #define ACE_HAS_SIGSUSPEND 1
| #define ACE_HAS_SIGTIMEDWAIT 1
| #define ACE_HAS_STRPTIME 1
| #define ACE_HAS_XPG4_MULTIBYTE_CHAR 1
| #define ACE_HAS_UALARM 1
| #define ACE_HAS_VFWPRINTF 1
| #define ACE_HAS_VSWPRINTF 1
| #define ACE_LACKS_ITOW 1
| #define ACE_LACKS_WCSNICMP 1
| #define ACE_HAS_3_PARAM_WCSTOK 1
| #define ACE_HAS_SHM_OPEN 1
| #define ACE_HAS_SNPRINTF 1
| #define ACE_HAS_POSIX_SEM 1
| #define ACE_LACKS_NAMED_POSIX_SEM 1
| #define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
| #define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP 1
| #define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
| #define ACE_HAS_PTHREAD_GETCONCURRENCY 1
| #define ACE_HAS_PTHREAD_SETCONCURRENCY 1
| #define ACE_HAS_PTHREAD_GETAFFINITY_NP 1
| #define ACE_HAS_PTHREAD_SETAFFINITY_NP 1
| #define ACE_HAS_SCHED_GETAFFINITY 1
| #define ACE_HAS_SCHED_SETAFFINITY 1
| #define ACE_HAS_PTHREADS_UNIX98_EXT 1
| #define ACE_HAS_PTHREAD_PROCESS_ENUM 1
| #define ACE_HAS_SIGWAIT 1
| #define ACE_HAS_POSIX_GETPWNAM_R 1
| #define ACE_NEW_THROWS_EXCEPTIONS 1
| #define ACE_HAS_NEW_NOTHROW 1
| #define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
| #define ACE_HAS_SOCKADDR_MSG_NAME 1
| #define ACE_HAS_VOIDPTR_SOCKOPT 1
| #define ACE_HAS_VOIDPTR_MMAP 1
| #define ACE_LACKS_IOSTREAM_FX 1
| #define ACE_LACKS_LINEBUFFERED_STREAMBUF 1
| #define ACE_LACKS_UNBUFFERED_STREAMBUF 1
| #define ACE_HAS_SIG_C_FUNC 1
| #define ACE_HAS_SIGACTION_CONSTP2 1
| #define ACE_HAS_OSF1_GETTIMEOFDAY 1
| #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1
| #define ACE_LACKS_MSG_ACCRIGHTS 1
| #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG 1
| #define ACE_HAS_POSIX_NONBLOCK 1
| #define ACE_HAS_MEMCPY_LOOP_UNROLL 1
| #define ACE_HAS_AUTOMATIC_INIT_FINI 1
| #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 1
| #define ACE_HAS_ICMP_SUPPORT 1
| #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1
| #define ACE_HAS_IP_MULTICAST 1
| #define ACE_HAS_PENTIUM 1
| #define ACE_HAS_REENTRANT_FUNCTIONS 1
| #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1
| #define ACE_HAS_SYSV_IPC 1
| #define ACE_HAS_PTHREADS_STD 1
| #define ACE_HAS_THREADS 1
| #define ACE_MT_SAFE 1
| #define ACE_HAS_MUTEX_TIMEOUTS 1
| #define ACE_HAS_CPLUSPLUS_HEADERS 1
| #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1
| #define ACE_INT64_TYPE signed long long
| #define ACE_UINT64_TYPE unsigned long long
| /* end confdefs.h.  */
|
| // Include ".cpp" files instead of headers so that we can get a more
| // thorough test compile.
| #include "ace/Time_Value.cpp"
| #include "ace/Reactor.cpp"
|
| int
| main ()
| {
|
|          ACE_Time_Value t = ACE_OS::gettimeofday ();
|          t++;
|
| 	 ACE_Reactor * r = ACE_Reactor::instance ();
|
|          (void) r->close ();
|
|   ;
|   return 0;
| }
configure:91296: result: no
configure:91330: error:
The generated configuration appears to be unusable.  Please verify
that your system path and environment variables are correct.  If they
appear to be correct then please send the maintainer of this configure
script ace-users at cs.wustl.edu the *COMPRESSED* 'config.log' file
and the following information:

  ACE 'configure' Script Information
  ==================================
  RCS configure.ac,v 4.153 2006/02/15 20:07:31 jtc Exp


  ACE Version:        5.5
  C++ Compiler:       g++
  C++ Preprocessor:   g++ -E
  C++ Flags:           -W -Wall -Wpointer-arith -fvisibility=hidden -
fvisibility-inlines-hidden  -g -O2 -pthread -pipe -O3
  Preprocessor Flags:
  Linker:             /usr/bin/ld
  Linker Flags:
  Libraries:          -lrt -ldl
  System type information:
    Build: i686-pc-linux-gnu  Host: i686-pc-linux-gnu

In the meantime, please use the stock ACE build procedure detailed in
the file 'ACE-INSTALL.html'.


## ---------------- ##
## Cache variables. ##
## ---------------- ##
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



More information about the Ace-users mailing list