OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
2.2.0 compilation problem

From: Geoff Gibbs (ggibbshgmp.mrc.ac.uk)
Date: Thu Mar 10 2005 - 03:21:06 CST


Although both of the release candidates compiled and ran
nicely, the new offical release has thrown up an error :-

/packages/Studio9/SUNWspro/bin/cc -DHAS_DB -I/usr/local/BerkeleyDB.3.2/include
-DUSE_TLS -I/usr/local/ssl/include -DUSE_SASL_AUTH -I/usr/local/include/sasl
-Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp
-O -I. -I../../include -DSUNOS5 -c db_common.c
"db_common.c", line 320: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 327: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 330: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 334: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 339: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 341: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 349: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 352: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 357: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 360: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 366: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 368: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
"db_common.c", line 373: operands have incompatible types:
         void ":" pointer to struct VSTRING {struct VBUF {..} vbuf, int maxlen}
cc: acomp failed for db_common.c
*** Error code 2
make: Fatal error: Command failed for target `db_common.o'
Current working directory /archive/sources/Mail/postfix-2.2.0/src/global
*** Error code 1
make: Fatal error: Command failed for target `update'

I used the same commands as for RC2 (line brakes for the mailer) :-

make makefiles CC=/packages/Studio9/SUNWspro/bin/cc DEBUG=
 CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB.3.2/include -DUSE_TLS
  -I/usr/local/ssl/include -DUSE_SASL_AUTH -I/usr/local/include/sasl"
   AUXLIBS="-L/usr/local/BerkeleyDB.3.2/lib -ldb -L/usr/local/ssl/lib
    -lssl -lcrypto -L/usr/local/lib -R/usr/local/lib -lsasl2"
make

Geoff Gibbs

MRC Rosalind Franklin Centre for Genomics Research
Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SB, UK
Tel: +44 1223 494530 Fax: +44 1223 494512
E-mail: G.Gibbsrfcgr.mrc.ac.uk Web: http://www.rfcgr.mrc.ac.uk