When compiling iText 1.0.0 (with gcj 3.4 and 3.3.1 und windows/mingw) I get
the following error:
D:\MinGW\classpath\lib_test\PdfCopy.java: In class
D:\MinGW\classpath\lib_test\PdfCopy.java: In method
D:\MinGW\classpath\lib_test\PdfCopy.java:170: error: Can't find constructor
(Lcom/lowagie/text/pdf/PRIndirectReference;)' in type
`com.lowagie.text.pdf.PdfCopy$RefKey'. Candidates are: `
RefKey key = new RefKey(in);
This could probably be a bug, because this works without errors with the JDK
and also compiled with the Excelsior JET trial version.
I have assembled all files required for the project in a zip file, to
reproduce it. It is 2.4 MB big, so I could mail it to anyone interested on
I am calling gcj with this command line:
D:\mingw\bin\gcj.exe --classpath=D:\MinGW\classpath\rt --
D:\MinGW\classpath\lib_test\*.java -o d:\mingw\encryptpdf.exe
All files are placed in D:\MinGW\classpath\rt and subdirectories, but I also
had to include all files seperately, because else I got undefined reference
errors. So all files are placed in D:\MinGW\classpath\lib_test and included in
Can you attach it, please it would be nice so if you cannot be found on the face of the earth.
I found itext 1.00 (from itext.sf.net) and tried this out with gcc 3.3.1. It worked fine. Where did you
get your sources for iText?
Okay, reproduced. Someone with more knowledge should probably try to reduce it though.
Created attachment 5546 [details]
uncompess, problem is with gcj -classpath=. -c -c
Any status on this? I'd love to try out a patch or...