Gnupg Compilation

Geoffrey Yuen (HTHK - System Analyst, IIPN) GEOFFREYY@HTHK.COM
Thu, 27 Apr 2000 17:46:50 +0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BFB02E.7013E740
Content-Type: text/plain

Hi,

I've downloaded gnupg 1.0.1 and tried to run 'configure' in 'Digital UNIX
V4.0D'.
However the program reported errors, please see the attached file.
Would you please advise me how can I fix the problems. Thanks a lot.

 <<config>> 


Geoffrey

------_=_NextPart_000_01BFB02E.7013E740
Content-Type: application/octet-stream;
	name="config.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="config.log"
Content-Description: config

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:724: checking which static random module to use
configure:752: checking whether use of /dev/random is requested
configure:766: checking whether use of extensions is requested
configure:778: checking whether assembler modules are requested
configure:790: checking whether memory debugging is requested
configure:808: checking whether memory guard is requested
configure:828: checking whether included zlib is requested
configure:841: checking whether use of capabilities is requested
configure:857: checking whether to enable maintainer-specific portions =
of Makefiles
configure:909: checking host system type
configure:930: checking target system type
configure:948: checking build system type
configure:1005: checking whether make sets ${MAKE}
configure:1032: checking whether build environment is sane
configure:1071: checking for working aclocal
configure:1084: checking for working autoconf
configure:1097: checking for working automake
configure:1110: checking for working autoheader
configure:1125: checking for gcc
configure:1155: checking for cc
configure:1238: checking whether the C compiler (cc  ) works
configure:1254: cc -o conftest    conftest.c  1>&5
configure:1280: checking whether the C compiler (cc  ) is a =
cross-compiler
configure:1285: checking whether we are using GNU C
configure:1294: cc -E conftest.c
configure:1313: checking whether cc accepts -g
configure:1345: checking how to run the C preprocessor
configure:1366: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1425: checking for POSIXized ISC
configure:1457: checking for a BSD compatible install
configure:1514: checking for mawk
configure:1514: checking for gawk
configure:1546: checking for docbook-to-man
configure:1662: checking for BSD-compatible nm
configure:1698: checking command to parse /usr/ucb/nm -B output
configure:1761: cc -c -g -w  conftest.c 1>&5
configure:1764: /usr/ucb/nm -B conftest.o | sed -n -e 's/^.* =
[BCDEGRSTU] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
configure:1822: cc -o conftest -g -w   conftest.c conftestm.o 1>&5
configure:1873: checking for _ prefix in compiled symbols
configure:1882: cc -c -g -w  conftest.c 1>&5
configure:1885: /usr/ucb/nm -B conftest.o | sed -n -e 's/^.* =
[BCDEGRSTU] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
configure:1920: checking for option to create PIC
configure:1985: checking how to specify -rdynamic
configure:2069: checking for ranlib
configure:2097: checking for ANSI C header files
configure:2110: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2177: cc -o conftest -g -w   conftest.c  1>&5
configure:2201: checking for working const
configure:2255: cc -c -g -w  conftest.c 1>&5
configure:2276: checking for inline
configure:2290: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 2286: Invalid declaration.
} inline foo() {
---------^
configure: failed program was:
#line 2283 "configure"
#include "confdefs.h"

int main() {
} inline foo() {
; return 0; }
configure:2290: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 2286: Invalid declaration.
} __inline__ foo() {
-------------^
configure: failed program was:
#line 2283 "configure"
#include "confdefs.h"

int main() {
} __inline__ foo() {
; return 0; }
configure:2290: cc -c -g -w  conftest.c 1>&5
configure:2316: checking for off_t
configure:2349: checking for size_t
configure:2384: checking for working alloca.h
configure:2396: cc -o conftest -g -w   conftest.c  1>&5
configure:2417: checking for alloca
configure:2450: cc -o conftest -g -w   conftest.c  1>&5
configure:2619: checking for unistd.h
configure:2629: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2658: checking for getpagesize
configure:2686: cc -o conftest -g -w   conftest.c  1>&5
configure:2711: checking for working mmap
configure:2859: cc -o conftest -g -w   conftest.c  1>&5
configure:2887: checking for argz.h
configure:2897: cc -E  conftest.c >/dev/null 2>conftest.out
cc: Error: configure, line 2893: Cannot find file <argz.h> specified in =
#include directive.
#include <argz.h>
-^
configure: failed program was:
#line 2892 "configure"
#include "confdefs.h"
#include <argz.h>
configure:2887: checking for limits.h
configure:2897: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2887: checking for locale.h
configure:2897: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2887: checking for nl_types.h
configure:2897: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2887: checking for malloc.h
configure:2897: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2887: checking for string.h
configure:2897: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2887: checking for unistd.h
configure:2887: checking for sys/param.h
configure:2897: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2927: checking for getcwd
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for munmap
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for putenv
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for setenv
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for setlocale
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for strchr
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for strcasecmp
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for strdup
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
configure:2927: checking for __argz_count
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
__argz_count
configure: failed program was:
#line 2932 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_count();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:2927: checking for __argz_stringify
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
__argz_stringify
configure: failed program was:
#line 2932 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_stringify();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined =
(__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:2927: checking for __argz_next
configure:2955: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
__argz_next
configure: failed program was:
#line 2932 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_next();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:2984: checking for stpcpy
configure:3012: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
stpcpy
configure: failed program was:
#line 2989 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stpcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:3046: checking for LC_MESSAGES
configure:3058: cc -o conftest -g -w   conftest.c  1>&5
configure:3079: checking whether NLS is requested
configure:3099: checking whether included gettext is requested
configure:3118: checking for libintl.h
configure:3128: cc -E  conftest.c >/dev/null 2>conftest.out
cc: Error: configure, line 3124: Cannot find file <libintl.h> specified =
in #include directive.
#include <libintl.h>
-^
configure: failed program was:
#line 3123 "configure"
#include "confdefs.h"
#include <libintl.h>
configure:3459: checking whether catgets can be used
configure:3731: checking for msgfmt
configure:3765: checking for gmsgfmt
configure:3801: checking for xgettext
configure:3894: checking for catalogs to be installed
configure:4008: checking for gdbm.h
configure:4018: cc -E  conftest.c >/dev/null 2>conftest.out
cc: Error: configure, line 4014: Cannot find file <gdbm.h> specified in =
#include directive.
#include <gdbm.h>
-^
configure: failed program was:
#line 4013 "configure"
#include "confdefs.h"
#include <gdbm.h>
configure:4097: checking for gethostbyname in -lnsl
configure:4116: cc -o conftest -g -w   conftest.c -lnsl   1>&5
ld:
Can't locate file for: -lnsl
configure: failed program was:
#line 4105 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gethostbyname();

int main() {
gethostbyname()
; return 0; }
configure:4144: checking for socket in -lsocket
configure:4163: cc -o conftest -g -w   conftest.c -lsocket   1>&5
ld:
Can't locate file for: -lsocket
configure: failed program was:
#line 4152 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:4189: checking for gethostbyname in -lnsl
configure:4237: checking for dlopen in -ldl
configure:4256: cc -o conftest -g -w   conftest.c -ldl   1>&5
ld:
Can't locate file for: -ldl
configure: failed program was:
#line 4245 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dlopen();

int main() {
dlopen()
; return 0; }
configure:4298: checking for dlopen
configure:4326: cc -o conftest -g -w   conftest.c  1>&5
configure:4446: checking for ANSI C header files
configure:4553: checking for unistd.h
configure:4553: checking for langinfo.h
configure:4563: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4592: checking for working const
configure:4667: checking for inline
configure:4707: checking for size_t
configure:4740: checking return type of signal handlers
configure:4762: cc -c -g -w  conftest.c 1>&5
configure:4781: checking for sys_siglist declaration in signal.h or =
unistd.h
configure:4798: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 4794: In the initializer for msg, =
"sys_siglist" is not declared.
char *msg =3D *(sys_siglist + 1);
--------------^
configure: failed program was:
#line 4786 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
/* NetBSD declares sys_siglist in unistd.h.  */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
int main() {
char *msg =3D *(sys_siglist + 1);
; return 0; }
configure:4823: checking endianess
configure:4841: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 4836: In this declaration, "bogus" must =
specify a type.
         bogus endian macros
---------^
configure: failed program was:
#line 4830 "configure"
#include "confdefs.h"
#include <sys/types.h>
        #include <sys/param.h>
int main() {

        #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
         bogus endian macros
        #endif
; return 0; }
configure:4890: cc -o conftest -g -w   conftest.c  1>&5
configure:4922: checking for byte typedef
configure:4938: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 4933: In the initializer for a, "byte" is =
not declared.
    int a =3D sizeof(byte);
-------------------^
configure: failed program was:
#line 4927 "configure"
#include "confdefs.h"
#include <stdlib.h>
    #include <sys/types.h>
int main() {

    #undef byte
    int a =3D sizeof(byte);
   =20
; return 0; }
configure:4959: checking for ushort typedef
configure:4975: cc -c -g -w  conftest.c 1>&5
configure:4996: checking for ulong typedef
configure:5012: cc -c -g -w  conftest.c 1>&5
configure:5033: checking for u16 typedef
configure:5049: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 5044: In the initializer for a, "u16" is not =
declared.
    int a =3D sizeof(u16);
-------------------^
configure: failed program was:
#line 5038 "configure"
#include "confdefs.h"
#include <stdlib.h>
    #include <sys/types.h>
int main() {

    #undef u16
    int a =3D sizeof(u16);
   =20
; return 0; }
configure:5070: checking for u32 typedef
configure:5086: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 5081: In the initializer for a, "u32" is not =
declared.
    int a =3D sizeof(u32);
-------------------^
configure: failed program was:
#line 5075 "configure"
#include "confdefs.h"
#include <stdlib.h>
    #include <sys/types.h>
int main() {

    #undef u32
    int a =3D sizeof(u32);
   =20
; return 0; }
configure:5108: checking size of unsigned short
configure:5127: cc -o conftest -g -w   conftest.c  1>&5
configure:5147: checking size of unsigned int
configure:5166: cc -o conftest -g -w   conftest.c  1>&5
configure:5186: checking size of unsigned long
configure:5205: cc -o conftest -g -w   conftest.c  1>&5
configure:5234: checking for vprintf
configure:5262: cc -o conftest -g -w   conftest.c  1>&5
configure:5341: checking for strerror
configure:5369: cc -o conftest -g -w   conftest.c  1>&5
configure:5341: checking for stpcpy
configure:5341: checking for strlwr
configure:5369: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
strlwr
configure: failed program was:
#line 5346 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strlwr(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strlwr();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strlwr) || defined (__stub___strlwr)
choke me
#else
strlwr();
#endif

; return 0; }
configure:5341: checking for stricmp
configure:5369: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
stricmp
configure: failed program was:
#line 5346 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stricmp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stricmp();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stricmp) || defined (__stub___stricmp)
choke me
#else
stricmp();
#endif

; return 0; }
configure:5341: checking for tcgetattr
configure:5369: cc -o conftest -g -w   conftest.c  1>&5
configure:5341: checking for rand
configure:5369: cc -o conftest -g -w   conftest.c  1>&5
configure:5341: checking for strtoul
configure:5369: cc -o conftest -g -w   conftest.c  1>&5
configure:5341: checking for mmap
configure:5369: cc -o conftest -g -w   conftest.c  1>&5
configure:5396: checking for memmove
configure:5424: cc -o conftest -g -w   conftest.c  1>&5
configure:5396: checking for gettimeofday
configure:5424: cc -o conftest -g -w   conftest.c  1>&5
configure:5396: checking for getrusage
configure:5424: cc -o conftest -g -w   conftest.c  1>&5
configure:5396: checking for gethrtime
configure:5424: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
gethrtime
configure: failed program was:
#line 5401 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gethrtime(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gethrtime();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_gethrtime) || defined (__stub___gethrtime)
choke me
#else
gethrtime();
#endif

; return 0; }
configure:5396: checking for setrlimit
configure:5424: cc -o conftest -g -w   conftest.c  1>&5
configure:5451: checking for memicmp
configure:5479: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
memicmp
configure: failed program was:
#line 5456 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char memicmp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char memicmp();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_memicmp) || defined (__stub___memicmp)
choke me
#else
memicmp();
#endif

; return 0; }
configure:5451: checking for atexit
configure:5479: cc -o conftest -g -w   conftest.c  1>&5
configure:5451: checking for raise
configure:5479: cc -o conftest -g -w   conftest.c  1>&5
configure:5451: checking for getpagesize
configure:5451: checking for strftime
configure:5479: cc -o conftest -g -w   conftest.c  1>&5
configure:5451: checking for nl_langinfo
configure:5479: cc -o conftest -g -w   conftest.c  1>&5
configure:5507: checking for mlock
configure:5535: cc -o conftest -g -w   conftest.c  1>&5
ld:
Unresolved:
mlock
configure: failed program was:
#line 5512 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mlock(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mlock();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_mlock) || defined (__stub___mlock)
choke me
#else
mlock();
#endif

; return 0; }
configure:5631: checking if mkdir takes one argument
configure:5653: cc -c -g -w  conftest.c 1>&5
configure:5785: checking for sys/ipc.h
configure:5795: cc -E  conftest.c >/dev/null 2>conftest.out
configure:5785: checking for sys/shm.h
configure:5795: cc -E  conftest.c >/dev/null 2>conftest.out
configure:5823: checking whether IPC_RMID allowes subsequent attaches
configure:5857: cc -o conftest -g -w   conftest.c  1>&5
cc: Error: configure, line 5840: In this statement, "IPC_PRIVATE" is =
not declared.
             id =3D shmget (IPC_PRIVATE, 4, IPC_CREAT | 0777);
--------------------------^
cc: Error: configure, line 5840: In this statement, "IPC_CREAT" is not =
declared.
             id =3D shmget (IPC_PRIVATE, 4, IPC_CREAT | 0777);
------------------------------------------^
cc: Error: configure, line 5844: In this statement, "IPC_RMID" is not =
declared.
               shmctl (id, IPC_RMID, 0);
---------------------------^
configure: failed program was:
#line 5831 "configure"
#include "confdefs.h"

             #include <sys/types.h>
             #include <sys/ipc.h>
             #include <sys/shm.h>
             int main()
             {
               int id;
               char *shmaddr;
             id =3D shmget (IPC_PRIVATE, 4, IPC_CREAT | 0777);
             if (id =3D=3D -1)
               exit (2);
               shmaddr =3D shmat (id, 0, 0);
               shmctl (id, IPC_RMID, 0);
               if ((char*) shmat (id, 0, 0) =3D=3D (char*) -1)
               {
                 shmdt (shmaddr);
                 exit (1);
               }
               shmdt (shmaddr);
               shmdt (shmaddr);
               exit (0);
             }
        =20
configure:5887: checking whether SHM_LOCK is available
configure:5903: cc -c -g -w  conftest.c 1>&5
cc: Error: configure, line 5898: Missing ";".
             int foo( int shm_id ) {  shmctl(shm_id, SHM_LOCK, 0); }
-----------------------------------^
cc: Error: configure, line 5900: Invalid declarator.
; return 0; }
--^
configure: failed program was:
#line 5892 "configure"
#include "confdefs.h"
#include <sys/types.h>
             #include <sys/ipc.h>
             #include <sys/shm.h>
int main() {

             int foo( int shm_id ) {  shmctl(shm_id, SHM_LOCK, 0); }
            =20
; return 0; }
configure:5937: checking for random device
configure:6155: checking for mpi assembler functions
configure:6197: checking for zlib.h
configure:6207: cc -E  conftest.c >/dev/null 2>conftest.out
cc: Error: configure, line 6203: Cannot find file <zlib.h> specified in =
#include directive.
#include <zlib.h>
-^
configure: failed program was:
#line 6202 "configure"
#include "confdefs.h"
#include <zlib.h>

------_=_NextPart_000_01BFB02E.7013E740--