I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32' ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -fokernel. res kernel.rc Source: ¤Q¤ë a4 51 a4 eb Unicode: 5341 6708 Back: ¢Ì¤ë a2 cc a4 eb nls/cht.nls:84:16: Error: String ¤Q¤ë does not convert identically to Unicode and back in codepage 950. Try us ing a Unicode string instead make[2]: *** [kernel.res] Error 1 make[2]: Leaving directory `/export/home/src/wine2004/wine/dlls/kernel32' make[1]: *** [kernel32] Error 2 make[1]: Leaving directory `/export/home/src/wine2004/wine/dlls' make: *** [dlls] Error 2
2009/3/22 Robert Lunnon bobl@optusnet.com.au:
I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32' ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -fokernel. res kernel.rc Source: ¤Q¤ë a4 51 a4 eb Unicode: 5341 6708 Back: ¢Ì¤ë a2 cc a4 eb nls/cht.nls:84:16: Error: String ¤Q¤ë does not convert identically to Unicode and back in codepage 950. Try us ing a Unicode string instead make[2]: *** [kernel.res] Error 1 make[2]: Leaving directory `/export/home/src/wine2004/wine/dlls/kernel32' make[1]: *** [kernel32] Error 2 make[1]: Leaving directory `/export/home/src/wine2004/wine/dlls' make: *** [dlls] Error 2
Have you read this yet? http://wiki.winehq.org/OpenSolaris
Ben Klein wrote:
2009/3/22 Robert Lunnon bobl@optusnet.com.au:
I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32' ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -fokernel. res kernel.rc Source: ¤Q¤ë a4 51 a4 eb Unicode: 5341 6708 Back: ¢Ì¤ë a2 cc a4 eb nls/cht.nls:84:16: Error: String ¤Q¤ë does not convert identically to Unicode and back in codepage 950. Try us ing a Unicode string instead make[2]: *** [kernel.res] Error 1 make[2]: Leaving directory `/export/home/src/wine2004/wine/dlls/kernel32' make[1]: *** [kernel32] Error 2 make[1]: Leaving directory `/export/home/src/wine2004/wine/dlls' make: *** [dlls] Error 2
Have you read this yet? http://wiki.winehq.org/OpenSolaris
I have now, but that page is just a little bit wrong.
I have a build script for Wine that at least used to work.
The error is in the nls files, removing Taiwanese and another chinese dialect that escapes me right now resolved the error (I don't speak chinese), but I'd like to fix the problem rather than work around it.
Bob
On Sun, Mar 22, 2009 at 08:45:18PM +1000, Robert Lunnon wrote:
I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32' ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -fokernel. res kernel.rc Source: ¤Q¤ë a4 51 a4 eb Unicode: 5341 6708 Back: ¢Ì¤ë a2 cc a4 eb nls/cht.nls:84:16: Error: String ¤Q¤ë does not convert identically to Unicode and back in codepage 950. Try us ing a Unicode string instead
What version do you build?
There was a transient error like this, but it lived for 1 or 2 days only.
Ciao, Marcus
On Sun, Mar 22, 2009 at 5:45 AM, Robert Lunnon bobl@optusnet.com.au wrote:
I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32'
Are you really building something that old? Upgrade to 1.1.17 and retry.
Austin English wrote:
On Sun, Mar 22, 2009 at 5:45 AM, Robert Lunnon bobl@optusnet.com.au wrote:
I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32'
Are you really building something that old? Upgrade to 1.1.17 and retry.
Ignore the path, it's 1.17 I'm building, the path says when I started maintaining the build script, not the year it is now...
2009/3/22 Robert Lunnon bobl@optusnet.com.au:
I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32' ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -fokernel. res kernel.rc Source: ¤Q¤ë a4 51 a4 eb Unicode: 5341 6708 Back: ¢Ì¤ë a2 cc a4 eb nls/cht.nls:84:16: Error: String ¤Q¤ë does not convert identically to Unicode and back in codepage 950. Try us ing a Unicode string instead
There is a problem with converting to/from codepages in wrc on your system, but the code that does should not be system-dependent (the character data is all in libwine).
The Unicode string dumped above looks correct, but the first two bytes of "Back" are wrong. wrc uses libs/wine/wctomb.c:wine_cp_wcstombs to do the conversion from UCS-16 -> cp950 and in this case I believe it will specifically use the wcstombs_dbcs function. Can you change this function to dump out *src, uni2cp_high[*src >> 8] and res inside the loop and run wrc again on the file above?
Also, what compiler did you use to compile wrc and libwine?
Robert Lunnon bobl@optusnet.com.au writes:
I get this error under solaris building wine. Any clues would be welcome (Things have probably changed a lot since I last hacked on Wine)
make[2]: Entering directory `/export/home/src/wine2004/wine/dlls/kernel32' ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -fokernel. res kernel.rc Source: ¤Q¤ë a4 51 a4 eb Unicode: 5341 6708 Back: ¢Ì¤ë a2 cc a4 eb nls/cht.nls:84:16: Error: String ¤Q¤ë does not convert identically to Unicode and back in codepage 950. Try us ing a Unicode string instead
You have an old libwine somewhere in your library path.