1.0.4+patch's rndlinux fails to link on AIX 4.3.3 due to g10_log_*

Dan Harkless gnupg@dilvish.speed.net
Wed, 17 Jan 2001 22:13:34 -0800

Hello.  Has anyone successfully installed GnuPG 1.0.4 (plus security patch)
on AIX 4.3.3?

I'm using gcc 2.95.2, no GNU binutils, and GNU make 3.79.1.  I configured

    % env CFLAGS="-g -O2 -mcpu=powerpc" configure --enable-static-rnd=egd\

My make worked fine until this point:

    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -g -O2\
     -mcpu=powerpc -Wall -DIS_MODULE -shared  -o rndlinux ./rndlinux.c
    ./rndlinux.c: In function `gather_random':
    ./rndlinux.c:131: warning: implicit declaration of function `bzero'
    ./rndlinux.c:144: warning: int format, long int arg (arg 3)
    ld: 0711-317 ERROR: Undefined symbol: .g10_log_fatal
    ld: 0711-317 ERROR: Undefined symbol: .g10_log_error
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
    collect2: ld returned 8 exit status
    make[2]: *** [rndlinux] Error 1
    make[2]: Leaving directory `/usr/local/src/gnupg-1.0.4/cipher'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/gnupg-1.0.4'
    make: *** [all-recursive-am] Error 2

Shouldn't a .o compiled from util/logger.c be included on the link line to
avoid this?  Should it even be trying to build rndlinux on AIX?

(I am now subscribed to the list, so no need to cc me when you reply.
Thanks in advance.)

Dan Harkless
SpeedGate Communications, Inc.

Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of  "unsubscribe"  to gnupg-users-request@gnupg.org