[csw-dev] getopt.h missing on solaris8
aubreylee at gmail.com
Sun Mar 30 17:16:32 CEST 2008
On Sun, Mar 30, 2008 at 9:29 PM, <Murray.Jensen at csiro.au> 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 ...
> or direct to getopt module ...
> There are links for each of the following files
> 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!
Thanks Murray, I'll have a try.
Just be curious, why don't we upgrade our system to solaris 10?
More information about the devel