Build error Stable_1.4 r 4920
David Shaw
dshaw at jabberwocky.com
Fri Oct 6 14:12:38 CEST 2006
On Fri, Oct 06, 2006 at 01:15:02AM -0500, John Clizbe wrote:
> make[2]: Entering directory `/home/jpclizbe/gnupg-cvs/gnupg14/g10'
> gcc -O3 -mtune=pentium3 -march=pentium3 -mfpmath=sse -mmmx -mms-bitfields -msse
> -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wformat-nonliteral -Wall
> -Wcast-align -Wshadow -Wstrict-prototypes -Wformat-nonliteral -o gpg.exe
> gpg.o build-packet.o compress.o compress-bz2.o free-packet.o getkey.o keydb.o
> keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o textfilter.o
> progress.o misc.o openfile.o keyid.o parse-packet.o status.o plaintext.o
> sig-check.o keylist.o signal.o cardglue.o tlv.o card-util.o app-openpgp.o
> iso7816.o apdu.o ccid-driver.o pkclist.o skclist.o pubkey-enc.o passphrase.o
> seckey-cert.o encr-data.o cipher.o encode.o sign.o verify.o revoke.o decrypt.o
> keyedit.o dearmor.o import.o export.o trustdb.o tdbdump.o tdbio.o delkey.o
> keygen.o pipemode.o helptext.o keyserver.o photoid.o exec.o
> ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -lz -lbz2 -lwsock32
> -lreadline
> getkey.o(.text+0x7b8):getkey.c: undefined reference to `hextobyte'
> getkey.o(.text+0x914):getkey.c: undefined reference to `hextobyte'
> getkey.o(.text+0x9c5):getkey.c: undefined reference to `hextobyte'
> card-util.o(.text+0x38c7):card-util.c: undefined reference to `hextobyte'
> pubkey-enc.o(.text+0x824):pubkey-enc.c: undefined reference to `hextobyte'
> keyedit.o(.text+0x4d47):keyedit.c: more undefined references to `hextobyte' follow
> collect2: ld returned 1 exit status
>
> hextobyte is defines in util/compat.c but compat.c isn't mentioned in
> util/Makefile, nor is libcompat. They are mentioned in Makefile.am
>
> Tpyo?
I'm presuming you're using Mingw here, based on the link to wsock32.
Is that correct? I don't think it's a typo as I am able to build on
Mingw without error.
Please send me the make output from building the util/ directory.
Also, what version of autoconf and automake are you using?
David
More information about the Gnupg-devel
mailing list