On Sun, Mar 30, 2008 at 9:29 PM, <[EMAIL PROTECTED]> wrote: > On Sun, 30 Mar 2008 19:29:30 +0800, "Aubrey Li" writes: > >getopt.h and its lib is missing on this box. > >what is the right way to fix this issue? > > Solaris 8 doesn't have getopt.h - or the gnu getopt* functions in libc. > > Grab the source from gnulib and link it in with your application ... > > http://www.gnu.org/software/gnulib/ > > or direct to getopt module ... > > http://www.gnu.org/software/gnulib/MODULES.html#module=getopt > > There are links for each of the following files > > getopt.in.h > getopt.c > getopt1.c > getopt_int.h > > but the first one is bogus - it should be getopt.h ... click on the > link and when you get the error page, go into the address bar and > edit the url such that getopt.in.h is changed to getopt.h. > > I think those four files will be enough ... you will have to figure > out how to link them in - usually edit a Makefile, Makefile.in or > Makefile.am file. > > This has been discussed in the maintainers list before - but its not > your fault you didnt find it - the archives arent easily searchable > (unless someone else has a searchable interface?). Cheers! > Murray...
Thanks Murray, I'll have a try. Just be curious, why don't we upgrade our system to solaris 10? -Aubrey _______________________________________________ dev mailing list dev@lists.blastwave.org https://lists.blastwave.org/mailman/listinfo/dev