bug-a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug on compilation ?


From: Benoit Rouits
Subject: bug on compilation ?
Date: Thu, 04 Oct 2001 15:38:26 +0200

Hello, 
I'm compiling a2ps-4.13b under Solaris and get a syntax error while i
don't find it :

$ uname -a
SunOS cezanne 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-250

$ gcc -v
gcc version 2.95.3 20010315 (release)

$ ./configure --prefix=/home/brouits/a2psdir
# i'm not root
$ make
[...]
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/home/brouits/a2psdir/share/locale\"
-DSYSCONFFILE=\"/home/brouits/a2psdir/etc/a2ps.cfg\" -I.. -I../intl -I.
-g -O2 -c media_.c -Wp,-MD,.deps/media_.TPlo -o media_.o
./media.c:193: parse error before `)'
./media.c:194: parse error before `{'
make[2]: *** [media_.lo] Error 1
make[2]: Leaving directory `/home/brouits/a2ps-4.13/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brouits/a2ps-4.13'
make: *** [all-recursive-am] Error 2

$ more lib/media.c
/* Is libpaper used? */
bool
a2ps_medium_libpaper_p (PARAM_UNUSED a2ps_job * job, const char * name)
{
  return strequ (name, LIBPAPER_MEDIUM) ? true : false;
}

I don't find any syntax error !

Thanks for your help !
Ben

-- 
Benoit Rouits
office : (+33)146398261 home : (+33)672814789
http://sys-unix.ctlmcof.fr/~brouits/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]