[789] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

pthreads compilation

daemon@ATHENA.MIT.EDU (Stas Lanford)
Tue Aug 18 19:30:53 1998

From: Stas Lanford <Stas@conversa.com>
To: "'pthreads@mit.edu'" <pthreads@MIT.EDU>,
        "'proven@mit.edu'"
	 <proven@MIT.EDU>
Date: Tue, 18 Aug 1998 16:14:27 -0700

Hi,

I'm attempting to compile pthreads-1_60_beta6 on linux 2.0.34
After successfully running 'configure', I get the following message on
'make':

gcc -I. -Iinclude -I/usr/src/pthreads-1_60_beta6/include -DTHREAD_KERNEL
-g -O -Werror -c /usr/src/pthreads-1_60_beta6/stdio/vprintf.c -o
obj/vprintf.o
/usr/src/pthreads-1_60_beta6/stdio/vprintf.c:733: warning: `#ifndef'
argument starts with a digit
make: *** [obj/vprintf.o] Error 1
bash#

I removed vprintf from the both makefiles and the package compiled fine.
However, during use, it apparently lacks all the "output" functionality
(printf, fprintf, etc...), probably because those functions use
vprintf()?

All of the files in ./tests compiled fine, however none of the output
functions worked. However, sleep() seemed to work.

Would you have any suggestions?

thanks,
-stas

home help back first fref pref prev next nref lref last post