Another AIX build problem

Jos Backus Jos.Backus at
Thu Nov 18 15:17:32 CET 1999

I have just tried building 1.1.0 from the devel directory using the IBM C
compiler on AIX 4.3.0. This yields the following:

(cd .libs && rm -f && ln -s ../
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -g -DIS_MODULE -shared  -o rndlinux ./rndlinux.c
"./rndlinux.c", line 181.14: 1506-196 (W) Initialization between types "void*" and "int(*)(void(*)(const void*,unsigned long,int),int,unsigned long,int)" is not allowed.
ld: 0706-012 The -h flag is not recognized.
ld: 0706-012 The -a flag is not recognized.
gmake[2]: *** [rndlinux] Error 255
gmake[2]: Leaving directory `/usr/local/src/gnupg-1.1.0/cipher'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/gnupg-1.1.0'
gmake: *** [all-recursive-am] Error 2

VisualAge C doesn't grok ``-shared'', it appears. I have no idea what to
replace it with though. If I leave it out I get ``ld: 0711-317 ERROR:
Undefined symbol: .main''.

I would really like to build GnuPG on AIX. Please help :-)

Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
Jos.Backus at  _/_/  _/_/_/      use Std::Disclaimer;

More information about the Gnupg-devel mailing list