Hello, here is the info:

gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)

~/openbabel-2.3.1$ more /usr/include/sys/time.h | grep gettimeofday
extern int gettimeofday (struct timeval *__restrict __tv,

~/openbabel-2.3.1$ man gettimeofday

GETTIMEOFDAY(2)                                                 Linux
Programmer's Manual                                                
GETTIMEOFDAY(2)

NAME
       gettimeofday, settimeofday - get / set time

SYNOPSIS
       #include <sys/time.h>

       int gettimeofday(struct timeval *tv, struct timezone *tz);
       int settimeofday(const struct timeval *tv, const struct timezone *tz);

   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

       settimeofday(): _BSD_SOURCE
(...)
>> Hello, i'm installing the 2.3.1 release.
> ...
>> /home/aristegui/openbabel-2.3.1/include/openbabel/obutil.h:85: error:
>> âgettimeofdayâ was not declared in this scope
>> make[2]: *** [src/CMakeFiles/openbabel.dir/alias.o] Error 1
>> make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2
>> make: *** [all] Error 2
>
> What compiler version are you using? Also, if you look through
> /usr/include/sys/time.h is there "gettimeofday"? Or you can run "man
> gettimeofday" to check for it.
>
> Thanks,
> -Geoff
>



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to