G++ Galib installation error

Nikesh Garera nikeshgarera at yahoo.co.in
Thu Jan 2 07:29:15 EST 2003


MessageThat was the solution to my problem -- Thanks.

Nikesh
  ----- Original Message ----- 
  From: Allan Findlay 
  To: 'galib at mit.edu' 
  Sent: Thursday, January 02, 2003 2:20 PM
  Subject: RE: G++ Galib installation error


  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/4bc79784/attachment.htm


More information about the galib mailing list