[poppler] Trouble building 0.3.3 on Solaris - problems with va_list?

Dan Nicholson dbnichol at gmail.com
Sat Jun 25 15:20:40 PDT 2005


Hi,

I'm trying to build poppler-0.3.3 on Solaris 9 Sparc, but I keep running 
into problems with Error.cc.  I'm using gcc-3.4.3.  I also tried with 
gcc-3.3 and the error was in the same place, but the code broke 
differently.  Anyway, it looks like the Solaris implementation of 
va_list might be different than expected.  Possibly it is not being 
included correctly?  I'm not too sure what's going on in this error.  
Thanks for your help.

Dan Nicholson

if /s0/dbnichol/bin/sh ../libtool --tag=CXX --mode=compile g++ 
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/s0/dbnichol/include    
-DDATADIR=\""/s0/dbnichol/opt/gtk2/share"\"  
-I/s0/dbnichol/opt/gtk2/include -I/s0/dbnichol/include  -Wall 
-Wno-unused -mcpu=v9 -O2 -MT DCTStream.lo -MD -MP -MF 
".deps/DCTStream.Tpo" -c -o DCTStream.lo DCTStream.cc; \
then mv -f ".deps/DCTStream.Tpo" ".deps/DCTStream.Plo"; else rm -f 
".deps/DCTStream.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/s0/dbnichol/include 
-DDATADIR=\"/s0/dbnichol/opt/gtk2/share\" 
-I/s0/dbnichol/opt/gtk2/include -I/s0/dbnichol/include -Wall -Wno-unused 
-mcpu=v9 -O2 -MT DCTStream.lo -MD -MP -MF .deps/DCTStream.Tpo -c 
DCTStream.cc  -fPIC -DPIC -o .libs/DCTStream.o
In file included from DCTStream.h:33,
                 from DCTStream.cc:9:
Error.h:21: error: `va_list' has not been declared
Error.h:21: error: ISO C++ forbids declaration of `args' with no type
In file included from /s0/dbnichol/include/jpeglib.h:24,
                 from DCTStream.h:41,
                 from DCTStream.cc:9:
/s0/dbnichol/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from DCTStream.h:11,
                 from DCTStream.cc:9:
../config.h:72:1: warning: this is the location of the previous definition
make[3]: *** [DCTStream.lo] Error 1
make[3]: Leaving directory 
`/s0/dbnichol/opt/gtk2/src/libs/poppler-0.3.3/poppler'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/s0/dbnichol/opt/gtk2/src/libs/poppler-0.3.3/poppler'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/s0/dbnichol/opt/gtk2/src/libs/poppler-0.3.3'
make: *** [all] Error 2


More information about the poppler mailing list