After my prior note, I tried updating the libassuan package from 1.0.4 to 1.0.5 using the entire ftp'd from the gnupg site.
With the environment set as follows: export CC=gcc export LIBPATH=/usr/lib:/usr/ccs/lib:/usr/local/lib export CFLAGS="-g -O2 -mcpu=powerpc" and running configure as:" ./configure -with-pth-prefix=/usr/local -program-prefix=/usr/local I receive the following: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -g -O2 -mcpu=powerpc -Wall -Wc ast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -MT assuan-io.o -MD -MP - MF .deps/assuan-io.Tpo -c -o assuan-io.o assuan-io.c assuan-io.c: In function `_assuan_usleep': assuan-io.c:225: error: storage size of `req' isn't known assuan-io.c:226: error: storage size of `rem' isn't known assuan-io.c:234: warning: implicit declaration of function `nanosleep' assuan-io.c:225: warning: unused variable `req' assuan-io.c:226: warning: unused variable `rem' make[3]: *** [assuan-io.o] Error 1 make[3]: Leaving directory `/usr/local/libassuan-1.0.5/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/libassuan-1.0.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/libassuan-1.0.5' make: *** [all] Error 2 The code that seems to be problematic for this system is: +219 _assuan_usleep (unsigned int usec) +220 { +221 #ifdef HAVE_W32_SYSTEM +222 /* FIXME. */ +223 Sleep (usec / 1000); +224 #else +225 struct timespec req; +226 struct timespec rem; +227 +228 if (usec == 0) +229 return; +230 +231 req.tv_sec = 0; +232 req.tv_nsec = usec * 1000; +233 +234 while (nanosleep (&req, &rem) < 0 && errno == EINTR) +235 req = rem; +236 #endif +237 } Has anyone run into this or have advice to get around this?
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users