On Tue, Oct 26, 2010 at 5:57 AM, Michal Hocko <[email protected]> wrote: > please try to remove -ansi parameter from both CONFIG_CFLAGS and > CONFIG_CXXFLAGS variables (do not run configure again, just run make).
I'm sorry to report that the build still fails in the same way. I removed -ansi from CONFIG_CFLAGS and CONFIG_CXXFLAGS in Makefile.flags, and ran make again. I include the transcript at the end of this e-mail, which has some line-breaks introduced by "copy/paste" in Windoze. Here's the only change I made (line-wrapped by the copy-paste operation in Windoze): # R.S.K. At Michal Hocko's suggestion: #CONFIG_CFLAGS = $(DEBUG) $(OPTIM) $(ARCH) $(WARN) $(C_EXTRA) -pipe -p osix -ansi -std=c99 -pedantic #CONFIG_CXXFLAGS = $(DEBUG) $(OPTIM) $(ARCH) $(WARN) $(CXX_EXTRA) $(OBSER VER_CXXFLAGS) -pipe -posix -ansi -std=c++98 CONFIG_CFLAGS = $(DEBUG) $(OPTIM) $(ARCH) $(WARN) $(C_EXTRA) -pipe -posix -st d=c99 -pedantic CONFIG_CXXFLAGS = $(DEBUG) $(OPTIM) $(ARCH) $(WARN) $(CXX_EXTRA) $(OBSERVER_CXXF LAGS) -pipe -posix -std=c++98 Any further suggestions? What I might do at some point is try build the earlier version Mr. Kyle said he was able to build without a problem under cygwin (0.36 or something like that). I may just have to abandon trying to build and use pdfedit and its tools under cygwin, and "roll by own" tool to do the manipulations I need to perform on some PDF files. Sigh. I was so hoping to avoid that! Oh, well. $ make cd /home/RSK1/pdfedit-0.4.5/src && make make[1]: Entering directory `/home/RSK1/pdfedit-0.4.5/src' cd /home/RSK1/pdfedit-0.4.5/src/xpdf && make staticlib make[2]: Entering directory `/home/RSK1/pdfedit-0.4.5/src/xpdf' cd goo && make make[3]: Entering directory `/home/RSK1/pdfedit-0.4.5/src/xpdf/goo' g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexce ptions -pipe -posix -std=c++98 -pedantic -I. -I/home/RSK1/pdfedit-0.4.5/src - I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include -I/usr/include/freetype2 -I /usr/include -o GHash.o GHash.cc g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexce ptions -pipe -posix -std=c++98 -pedantic -I. -I/home/RSK1/pdfedit-0.4.5/src - I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include -I/usr/include/freetype2 -I /usr/include -o GList.o GList.cc g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexce ptions -pipe -posix -std=c++98 -pedantic -I. -I/home/RSK1/pdfedit-0.4.5/src - I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include -I/usr/include/freetype2 -I /usr/include -o GString.o GString.cc GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' GString.cc:72: warning: deprecated conversion from string constant to `char*' g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexce ptions -pipe -posix -std=c++98 -pedantic -I. -I/home/RSK1/pdfedit-0.4.5/src - I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include -I/usr/include/freetype2 -I /usr/include -o gmem.o gmem.cc g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexce ptions -pipe -posix -std=c++98 -pedantic -I. -I/home/RSK1/pdfedit-0.4.5/src - I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include -I/usr/include/freetype2 -I /usr/include -o gmempp.o gmempp.cc g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexce ptions -pipe -posix -std=c++98 -pedantic -I. -I/home/RSK1/pdfedit-0.4.5/src - I/home/RSK1/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 `/home/RSK1/pdfedit-0.4.5/src/xpdf/goo' make[2]: *** [libxpdf] Error 2 make[2]: Leaving directory `/home/RSK1/pdfedit-0.4.5/src/xpdf' make[1]: *** [xpdf] Error 2 make[1]: Leaving directory `/home/RSK1/pdfedit-0.4.5/src' make: *** [source] Error 2 ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Pdfedit-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdfedit-support
