Compiling the EveryBuddy instant message SRPM -- available at http://www.everybuddy.com/download.shtml -- version everybuddy-0.2.0/ - this package built, installed, and runs fine under RH 6.2, patched fully current. It will not build, seemingly due to a time.h library problem ... As I recall, this was an issue with the plex386 package as well, in discussion on the testers-list. tail of build attempt below. ----------------------------------------------------------------- gcc -DPACKAGE=\"everybuddy\" -DVERSION=\"0.2.0\" -DUNIX=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV_H=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_ATEXIT=1 -DHAVE_STRSEP=1 -DHAVE_GETHOSTBYNAME2=1 -DHAVE_STRTOK_R=1 -DHAVE_MIT_SAVER_EXTENSION=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -I. -I. -O2 -march=i386 -mcpu=i686 -DHAVE_ISPELL -I/usr/local/include -I/opt/include -I../ -D_REENTRANT -Wall -g -DESD_SOUND -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../src -I../libproxy -I./include/jabber -I./include -I../libxode/include -c jutil.c jutil.c: In function `jutil_timestamp': jutil.c:156: warning: implicit declaration of function `time' jutil.c:160: warning: implicit declaration of function `gmtime' jutil.c:160: warning: assignment makes pointer from integer without a cast jutil.c:162: dereferencing pointer to incomplete type jutil.c:163: dereferencing pointer to incomplete type jutil.c:163: dereferencing pointer to incomplete type jutil.c:163: dereferencing pointer to incomplete type jutil.c:164: dereferencing pointer to incomplete type jutil.c:164: dereferencing pointer to incomplete type make[2]: *** [jutil.o] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/everybuddy-0.2.0/libjabber' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/everybuddy-0.2.0/libjabber' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.62772 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.62772 (%build) [root@couch SPECS]#
It needs to include both <time.h> and <sys/time.h>.