Re: gtop 0.99.2




>From: Philippe.Defert@cern.ch

>On sparc-sun-solaris2.5.1, sparc-sun-solaris2.6, hppa1.1-hp-hpux10.20
>and powerpc-ibm-aix4.3.2.0, the compilation stopped for main.c with:

>:*:session.h:10: getopt.h: No such file or directory
>:*:gmake: *** [main.o] Error 1
> 
>I deleted the include directive with getopt.h, and compilation went on.


This is a general thing I keep meaning to mention.  In Solaris (and probably 
many other Unixen) getopt() is declared in stdlib.h, *not* in a seperate, 
specialised header of its own.  So I either delete this line, or change it to 
#include <stdlib.h> if it isn't already in the list of #includes, to compile on 
Solaris.

Can this be done in configure, or is it purely down to the developers of each 
package?

Thanks,

-------My opinion - Not sane, intelligent or necessarily useful-------
o o                                      mailto:Moredhel@earthling.net 
/v\ark R. Bowyer.  http://i.am/Moredhel  mailto:Mark.Bowyer@UK.Sun.COM
`-'                                             I'm the dots in .co.uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]