I can't get emacs-19.30 to "configure" properly on a Sparc 20
running Solaris 2.5. I think the problem has something to
do with the gettimeofday function because when I run configure
I get the following output line (amongst others):
checking whether gettimeofday can't accept two arguments... yes
It would seem that configure thinks that gettimeofday can't accept
two arguments. However, the man page says that gettimeofday takes
two arguments. Note that this is a change from SOLARIS 2.4, gettimeofday
takes only one argument there.
Running "make install" after the erroneous configure step produces
an error in the compiliation of profile.c as follows:
gcc -DHAVE_CONFIG_H -I. -I../src -I/sw/gnu2.x/emacs-19.30/lib-src
-I/sw/gnu2.x/emacs-19.30/lib-src/../src -g -O
/sw/gnu2.x/emacs-19.30/lib-src/profile.c -lsocket -lnsl -lelf -o profile
/sw/gnu2.x/emacs-19.30/lib-src/profile.c: In function `reset_watch':
/sw/gnu2.x/emacs-19.30/lib-src/profile.c:45: too few arguments to function
`gettimeofday'
/sw/gnu2.x/emacs-19.30/lib-src/profile.c: In function `get_time':
/sw/gnu2.x/emacs-19.30/lib-src/profile.c:58: too few arguments to function
`gettimeofday'
/sw/gnu2.x/emacs-19.30/lib-src/profile.c: In function `gettimeofday':
/sw/gnu2.x/emacs-19.30/lib-src/profile.c:70: argument `tzp' doesn't match prototype
/usr/include/sys/time.h:263: prototype declaration
make[1]: *** [profile] Error 1
make[1]: Leaving directory `/sw/gnu2.x/emacs-19.30/lib-src'
make: *** [lib-src] Error 2
Does anyone have an idea what is wrong?
Mark N.
415-354-5034