--- /dev/null
+--- a/xmloutputdev.cpp
++++ b/xmloutputdev.cpp
+@@ -30,7 +30,7 @@
+ FILE *f;
+
+ if (!(f = fopen(fileName, "wb"))) {
+- error(-1, "Couldn't open output file '%s'", fileName);
++ fprintf(stderr, "Couldn't open output file '%s'\n", fileName);
+ ok = gFalse;
+ return;
+ }