Re: 0.52 make error on Solaris
"DINH Viêt Hoà" <[email protected]> Wed, 26 Dec 2007 23:51:25 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
On Dec 26, 2007 2:43 PM, Alex S Moore <[email protected]> wrote: > Getting the source from cvs and adding the rules-mk.patch made a huge > leap in completing the build. I have tried a few things on this new > error and am at a loss. This build environment is Solaris 8 with Sun's > compiler. The configure options are just directory redirects. > > --------------- > source='option-parser.c' object='option-parser.o' libtool=no \ > DEPDIR=.deps depmode=none /bin/bash ../depcomp \ > /opt/studio/SOS8/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. > -I../include -I/opt/csw/bdb4/include -I/opt/csw/include -D_REENTRANT > -I/opt/csw/include -DSOLARIS -D__SUNPRO_CC -O -xarch=386 -ULIBETPAN_DLL > -c option-parser.c > "option-parser.c", line 5: cannot find include file: <getopt.h> > "option-parser.c", line 75: incomplete struct/union/enum option: > long_options > "option-parser.c", line 76: cannot do pointer arithmetic on operand of > unknown > size > "option-parser.c", line 76: too many struct/union initializers > "option-parser.c", line 76: cannot recover from previous errors > cc: acomp failed for option-parser.c > gmake[3]: *** [option-parser.o] Error 2 > gmake[3]: Leaving directory > `/export/medusa/asmoore/build/libetpan-0.52-cvs/tests' > gmake[2]: *** [all] Error 2 > --------------- > > Besides the obvious include file missing error, the compile option > '-ULIBETPAN_DLL' is not expected. Some time ago, you added some SOLARIS > defines for me. I think the __SUNPRO_CC defines is not used and I will > remove it on the next build. As first step, you could tests from SUBDIRS in libetpan/Makefile.am I'll investigate on how to fix the build problem. I have some free time issue at the moment. -- DINH Viêt Hoà ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/