----- Message from wie...@porcupine.org ---------
    Date: Thu, 22 Sep 2016 12:13:41 -0400 (EDT)
    From: wie...@porcupine.org
Reply-To: Postfix users <postfix-users@postfix.org>
Subject: Re: Difficulties in compiling postfix 3.1.2 on AIX
      To: Postfix users <postfix-users@postfix.org>

an...@isac.gov.in:
Content-Description: Plaintext Message

Hi List,

I am trying to compile postfix 3.1.2 on AIX, but getting following
error.

[src/master]
/opt/freeware/bin/gcc -I. -I../../include -DUSE_TLS -DUSE_SASL_AUTH
-DUSE_CYRUS_SASL -DHAS_LDAP -DHAS_PCRE -I/opt/freeware/include/openssl
-I/usr/local/cyrus-sasl/include/sasl -I/opt/freeware/include -DNO_DNSSEC
-D_ALL_SOURCE -DHAS_POSIX_REGEXP -DNO_EAI -DHAS_DEV_URANDOM
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS
-Wmissing-prototypes -Wformat -Wno-comment -g -O -I. -I../../include
-DAIX6? -o master master.o master_conf.o master_ent.o master_sig.o
master_avail.o master_spawn.o master_service.o master_status.o
master_listen.o master_vars.o master_wakeup.o master_watch.o
master_flow.o
master_monitor.o ../../lib/libglobal.a ../../lib/libutil.a
-L/opt/freeware/lib64 -L/usr/local/cyrus-sasl/lib -lsasl2 -lldap -llber
-lpcre -lssl -lcrypto
collect2: ../../lib/libglobal.a: not a COFF file
make: *** [master] Error 1
make: *** [update] Error 1

I have googled for this error and it looks like it is specific to AIX,
but
there is no clear solution seen.

Is this a compiler from http://www.bullfreeware.com/ ? If not, could you
try one?
        Wietse

----- End message from wie...@porcupine.org -----

I installed gcc compiler from bullfreeware.com

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/6.2.0/lto-wrapper
Target: powerpc-ibm-aix6.1.0.0
Configured with: ../gcc-6.2.0/configure --prefix=/opt/freeware
--mandir=/opt/freeware/man --infodir=/opt/freeware/info
--with-local-prefix=/opt/freeware --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++,fortran,objc,obj-c++
--enable-version-specific-runtime-libs --disable-nls
--enable-decimal-float=dpd --with-cloog=no --with-ppl=no
--disable-libstdcxx-pch --enable-__cxa_atexit --host=powerpc-ibm-aix6.1.0.0
Thread model: aix
gcc version 6.2.0 (GCC)

but, still getting stuck @ same error.

collect2: fatal error: ../../lib/libglobal.a: not a COFF file
compilation terminated.
make: *** [master] Error 1
make: *** [update] Error 1

Should I try  older version of Postfix?

 
 Anant S Athavale
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------

Reply via email to