Ralf,

> > /cw/bin/cc -o nsinstall.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DOJI   
>-I../dist/include -I../dist/include 
>-I/usr/local/OpenPKG/RPM/TMP/mozilla/dist/include/nspr      -I/usr/include   -fPIC 
>-I/usr/include -Wno-long-long -O2 -pipe -I/cw/include -pthreads -pipe  -DNDEBUG 
>-DTRIMMED  -I/usr/include -include ../config-defs.h -DMOZILLA_CLIENT nsinstall.c
> > nsinstall.c: In function `main':
> > nsinstall.c:372: `optarg' undeclared (first use in this function)
[snip]
> Hmmmm... looks like Solaris 8 doesn't know (or at least Mozilla does not
> know because it doesn't include the corresponding headers) about getopt

Odd. I see the "-I/usr/include" and..

# egrep -l optarg /usr/include/*.h
/usr/include/stdio.h
/usr/include/stdlib.h
/usr/include/unistd.h

..so it's got little excuse for not finding it, based on my pitifully
naive understanding of how includes work in the coding build process.

> I'll look at this if I find time and our Solaris box is fast enough to come
> to this compile point in a reasonable time... ;)

I didn't time it, but I was building on a smallish slowish box and it was
some minutes into the build. I'll be happy to do test builds if it will
help.


-Andrew-
-- 
 ________________________________________________________________
|  -Andrew J. Caines-   703-886-2689    [EMAIL PROTECTED] |
| Unix Systems Engineer, WorldCom  [EMAIL PROTECTED] |
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to