Hi,

On Tue, Oct 19, 2010 at 10:58:22PM -0400, Robert S. Kissel wrote:
> The difficulty I'm having building looks very similar to a problem
> reported last year, at about this time, by Alister Hood
> (archived here:
> http://www.mail-archive.com/pdfedit-support@lists.sourceforge.net/msg00492.html)
> 
> $ make
> . . .
> make[3]: Entering directory `[path]/pdfedit-0.4.5/src/xpdf/goo'
> g++ -c  -O2   -fmessage-length=0 -D_FORTIFY_SOURCE=2
> -fno-strict-aliasing -fexceptions
>       -pipe -posix -ansi -std=c++98 -pedantic -I.
> -I[path]/pdfedit-0.4.5/src -I[path]/pdfedit-0.4.5/src/xpdf/
>       -I/usr/include -I/usr/include/freetype2  -I/usr/include -o
> gfile.o gfile.cc
> gfile.cc: In function `GBool openTempFile(GString**, FILE**, char*, char*)':
> gfile.cc:523: error: `mkstemp' was not declared in this scope
> gfile.cc:531: error: `fdopen' was not declared in this scope
> make[3]: *** [gfile.o] Error 1
> make[3]: Leaving directory `[path]/pdfedit-0.4.5/src/xpdf/goo'
> make[2]: *** [libxpdf] Error 2
> make[2]: Leaving directory `[path]/pdfedit-0.4.5/src/xpdf'
> make[1]: *** [xpdf] Error 2
> make[1]: Leaving directory `[path]/pdfedit-0.4.5/src'
> make: *** [source] Error 2

Could you check out whether those functions are present in stdlib.h?
The file has to be in the include path so I would expect it somewhere in
/usr/include

-- 
Michal Hocko

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Pdfedit-support mailing list
Pdfedit-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to