[pdftex] Error building pdftex 1.30.6 on cygwin

Olivier Lefevre lefevrol at yahoo.com
Sat Feb 25 11:11:08 CET 2006


Both teTeX and MiKTex come with the ancient 1.21a and
I could probably use the PNG-related improvements, so
I tried upgrading but got:

srcdir=../../../src/texk/web2c /bin/sh 
../../../src/texk/web2c/web2c/convert tangleboot
gcc -DHAVE_CONFIG_H  -I. -I../../../src/texk/web2c -I.. 
-I../../../src/texk/web2
c/..   -g -O2  -c tangleboot.c -o tangleboot.o
In file included from tangleboot.c:94:
tangleboot.h:34: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' 
was here
tangleboot.h:34: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' 
was here
make: *** [tangleboot.o] Error 1

The stdio.h line in question is
ssize_t _EXFUN(getline, (char **, size_t *, FILE *));

Any advice would be much apreciated.

-- O.L.



More information about the pdftex mailing list