[Expat-discuss] [PATCH] Add pkg-config support

yuki latt yuki.latt at gmail.com
Fri Jul 18 17:49:21 CEST 2008


Dear all,

  To cure "Error: Unresolved external '_XML_ParserCreate' referenced from
...  \ELEMENTS.OBJ",  I searched for two days on web and was waiting for any
reply in mailing list. At last, I found a patch file that will "Add a
pkg-config file for expat to allow easier linking with the library."

- I downloaded "expat-pkgconfig.patch".
- placed that patch file C:\Program Files\Expat 2.0.1
- typed as follows

      patch -p0 < expat-pkgconfig.patch

-  found out the followings.  Cursor was blinking in the line of "File to
patch".   I dont know what file I'll have to patch.  Please help me!!!!!!!!


patching file expat.pc.in
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: .cvsignore
|===================================================================
|RCS file: /cvsroot/expat/expat/.cvsignore,v
|retrieving revision 1.10
|diff -p -u -r1.10 .cvsignore
|--- .cvsignore 3 May 2007 19:54:50 -0000       1.10
|+++ .cvsignore 6 Jul 2007 14:40:26 -0000
--------------------------
File to patch:  [cursor is waiting here]


More information about the Expat-discuss mailing list