G++ Galib installation error

Allan Findlay allan at zedtwo.com
Thu Jan 2 03:50:35 EST 2003


It looks like its can't find the prototype for the getpid() function (its
the Get Process ID function).
 
If you look in gaconfig.h you can tell it to use/not use getpid(). Its only
used to give a random seed.

-----------
    Allan 

-----Original Message-----
From: Nikesh Garera [mailto:nikeshgarera at yahoo.co.in] 
Sent: 24 December 2002 09:20
To: galib at mit.edu
Subject: G++ Galib installation error


Hi,
 
I am trying to install GALib...please help me with the following error.
 
C:\GNU\include\GALib\ga>make
make
g++ -g -Wall -O -fexceptions -O0 -I.. -c garandom.C
garandom.C: In function `void GARandomSeed(unsigned int = 0)':
garandom.C:69: implicit declaration of function `int getpid(...)'
make: *** [garandom.o] Error 1
 
Thanks
Nikesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20030102/5b3ec3a5/attachment.htm


More information about the galib mailing list