|
On Fri, 8 Oct 2004, Jack J. Woehr wrote:
Okay, commented past that and now:
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"x5250\" -DVERSION=\"0.4.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_SELECT=1 -I. -I. -I/usr/openwin/include -g -O2 -MT x5250.o -MD -MP -MF ".deps/x5250.Tpo" \ -c -o x5250.o `test -f 'x5250.c' || echo './'`x5250.c; \ then mv -f ".deps/x5250.Tpo" ".deps/x5250.Po"; \ else rm -f ".deps/x5250.Tpo"; exit 1; \ fi x5250.c: In function `main': x5250.c:148: error: `LC_ALL' undeclared (first use in this function) x5250.c:148: error: (Each undeclared identifier is reported only once x5250.c:148: error: for each function it appears in.) x5250.c: In function `place_graphics': x5250.c:1170: error: structure has no member named `scrollbar' x5250.c: In function `check_options': x5250.c:1645: error: storage size of `options' isn't known x5250.c:1649: error: `required_argument' undeclared (first use in this function) x5250.c:1653: error: `no_argument' undeclared (first use in this function) make[1]: *** [x5250.o] Error 1 make[1]: Leaving directory `/usr/local/src/x5250-0.4.1' make: *** [all-recursive] Error 1
#ifdef ENHANCED
int getopt_long(int argc, char * const argv[], const char *optstring, const struct option *longopts, int *longindex);
and the option struct is:
struct option { const char *name; int has_arg; int *flag; int val; };
What does Solaris want?
James Rich
It's not the software that's free; it's you. - billyskank on Groklaw
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.