Need Help with C Compiler Error in AIX 5.3 During GnuPG Build

Rey Abeleda reynaldo.abeleda at nab.com.au
Tue Sep 24 08:07:21 CEST 2019


Hi Werner,

You hit the nail on the head.

Looks like CFLAGS was indeed set by another script that is run automatically after login. After ensuring that script is not run. The compile error I was experience went away.

Thanks very much for your help.

Regards,

Reynaldo Abeleda
Senior Analyst, Engineer
Oracle Financials | Superannuation - Retail & Corporate | Wealth Technology
National Australia Bank

-----Original Message-----
From: Werner Koch [mailto:wk at gnupg.org]
Sent: Tuesday, 24 September 2019 1:52 AM
To: Rey Abeleda via Gnupg-users
Cc: Rey Abeleda
Subject: Re: Need Help with C Compiler Error in AIX 5.3 During GnuPG Build

On Mon, 23 Sep 2019 02:36, gnupg-users at gnupg.org said:

> configure:3554: error: C compiler cannot create executables

configure does an early test to see whether your C compiler works.  This is done to detect crippled compilers delivered on some systems.  Seems not the case here, though.

> configure:3505: cc $(INCLUDE_FLAGS) -U__STR__ -DAIXRIOS -DNLS_ASIA
> -DORE -D_BSD -DRIOS -qro -O -DAFSTUBS conftest.c >&5
> cc: 1501-228 (W) input file $(INCLUDE_FLAGS) not found

... $(INCLUDE_FLAGS) looks like a make macro and definitely does not belong here.  Check whether you have set any of CFLAGS, CPPFLAGS, LDFLAGS set in your environment or whether the envvar CC specifies these flags.  It is also possible that cc is shell script or other wrapper which invokes the real CC; check for uncommon things in your PATH.


Shalom-Salam,

   Werner


--
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

The information contained in this email and its attachments may be confidential.
If you have received this email in error, please notify the sender by return email,
delete this email and destroy any copy.

Any advice contained in this email has been prepared without taking into
account your objectives, financial situation or needs. Before acting on any
advice in this email, National Australia Bank Limited (NAB) recommends that
you consider whether it is appropriate for your circumstances.
If this email contains reference to any financial products, NAB recommends
you consider the Product Disclosure Statement (PDS) or other disclosure
document available from NAB, before making any decisions regarding any
products.

If this email contains any promotional content that you do not wish to receive,
please reply to the original sender and write "Don't email promotional
material" in the subject.




More information about the Gnupg-users mailing list