[arch-general] Having trouble compileing a2ps

Baho Utot baho-utot at columbus.rr.com
Sun Feb 1 09:44:06 EST 2009


Using:    gcc version 4.3.2
              default build falgs in makepkg

pkgname=a2ps
pkgver=4.13c
pkgrel=1
pkgdesc="a2ps is an Any to PostScript filter


/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
-DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" 
-I. -I.. -I.. -I../intl -I.    -march=i686 -mtune=generic -O2 -pipe  -MT 
hashtab.lo -MD -MP -MF .deps/hashtab.Tpo -c -o hashtab.lo hashtab.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" 
-DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I. 
-march=i686 -mtune=generic -O2 -pipe -MT hashtab.lo -MD -MP -MF 
.deps/hashtab.Tpo -c hashtab.c -o hashtab.o
mv -f .deps/hashtab.Tpo .deps/hashtab.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
-DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" 
-I. -I.. -I.. -I../intl -I.    -march=i686 -mtune=generic -O2 -pipe  -MT 
path-concat.lo -MD -MP -MF .deps/path-concat.Tpo -c -o path-concat.lo 
path-concat.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" 
-DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I. 
-march=i686 -mtune=generic -O2 -pipe -MT path-concat.lo -MD -MP -MF 
.deps/path-concat.Tpo -c path-concat.c -o path-concat.o
In file included from path-concat.c:30:
/usr/include/string.h:234: error: expected identifier or '(' before 'void'
/usr/include/string.h:234: error: expected ')' before '(' token
make[3]: *** [path-concat.lo] Error 1
make[3]: Leaving directory 
`/srv/http/Build/BUILD.i686/extra/a2ps/src/a2ps-4.13/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/srv/http/Build/BUILD.i686/extra/a2ps/src/a2ps-4.13/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/srv/http/Build/BUILD.i686/extra/a2ps/src/a2ps-4.13'
make: *** [all] Error 2
==> ERROR: Build Failed.

Is this a gcc issue?


More information about the arch-general mailing list