Hello all, I am trying to compile ZMQ 3.2.2 using pgm (5.1.118) on one relatively old Linux box: Red Hat release 4. The compiler release is gcc 3.4.6.
The compilation failed when compiling pgm with the following message: time.c:451:4: #error "gettimeofday() or ftime() required to calculate counter offset" time.c: In function `pgm_tsc_init': time.c:715: error: `pgm_gettimeofday_update' undeclared (first use in this function) time.c:715: error: (Each undeclared identifier is reported only once time.c:715: error: for each function it appears in.) make[2]: *** [libpgm_noinst_la-time.lo] Error 1 make[2]: Leaving directory `/mntdirect/_segfs/tango/transport/zmq_src/zeromq-3.2.2/foreign/openpgm/build-staging/openpgm/pgm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mntdirect/_segfs/tango/transport/zmq_src/zeromq-3.2.2/foreign/openpgm' make: *** [all-recursive] Error 1 As far as I understand, the compilation failed because it thinks that gettimeofday() is not there. But the result of the configure script shows that it is there: checking for floor... yes checking for ftime... yes checking for gethostbyaddr... yes checking for gethostbyname... yes checking for gethostname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes Any help appreciated Thank's in advance for your help Emmanuel _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
