../include/ttyio.h:49: parse error before `*'

müde Taube muede_taube at gmx.de
Fri Oct 21 11:45:20 CEST 2005


Hi David,

 
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl    -g -O2 -Wall -c fileutil.c
> > In file included from fileutil.c:32:
> > ../include/ttyio.h:49: parse error before `*'
> 
> Can you send your config.log file that was generated by configure?
> Also, do you have readline installed on your system?  What Linux
> distribution is this?

It is red hat based on a 7.0 distribution, just a mail and webserver
without X or something.

you are right, one of the problem was missing readline lib. I installed
readline and now make breaks later:

.
.
.
DEPDIR=.deps depmode=gcc /bin/sh ../scripts/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl   -DGNUPG_LIBEXECDIR="\"/usr/local/libexec/gnupg\"" -g -O2 -Wall -c exec.c
gcc -DGNUPG_LIBEXECDIR="\"/usr/local/libexec/gnupg\"" -g -O2 -Wall   -o gpg  g10.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  -lreadline -ltermcap -ldl     
card-util.o: In function `card_edit_completion':
/usr/local/gnupg-1.4.2/g10/card-util.c:1378: undefined reference to `rl_completion_matches'
keyedit.o: In function `keyedit_completion':
/usr/local/gnupg-1.4.2/g10/keyedit.c:1482: undefined reference to `rl_completion_matches'
collect2: ld returned 1 exit status
make[2]: *** [gpg] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/gnupg-1.4.2/g10«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/gnupg-1.4.2«
make: *** [all] Fehler 2


It looks that theres still something wrong with readline (rl means
readline?). I installed redline from

http://cnswww.cns.cwru.edu/~chet/readline/rltop.html

and it compiled without problems.

Attached you find the config log.  

Best Regards

Frank







-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 180252 bytes
Desc: not available
Url : /pipermail/attachments/20051021/cd077d6f/config-0001.obj


More information about the Gnupg-devel mailing list