J?rgen Keil wrote: >> On a fresh installation of SXCE (sparc snv_70b) a >> nightly build of ON shows some errors >> in mail_msg all about compiling libsqlite/src/func.c. >> The corresponding part from nightly.log: >> >> ../src/func.c:27:29: sys/u8_textprep.h: No such file or directory >> ../src/func.c: In function `utf8textprep': >> ../src/func.c:218: error: `U8_UNICODE_LATEST' undeclared (first use in this >> function) >> >> There is no -I in the compile line pointing to >> $CODEMGR_WS/proto/root_sparc/usr/include >> so the compiler seems to look into /usr/include/sys >> but there is no u8_textprep.h under >> snv_70b (is this correct?). > > Yep, my snv_72 sparc (never bfu'ed) doesn't have the > /usr/include/sys/u8_textprep.h file, either. > > But my snv_72 x86 box (bfu'ed a couple of times to > newer opensolaris release) has it. And > "pkgchk -l -p /usr/include/sys/u8_textprep.h" knows > nothing about that file... > > > u8_textprep.h was added to the SUNWhea package > on 14-Sep-2007: > > > http://src.opensolaris.org/source/diff/onnv/onnv-gate/usr/src/pkgdefs/SUNWhea/prototype_com?r2=5049&r1=5044 > > Fix was CR 6603632: PSARC/2007/458 User land UTF-8 text > preparation functions. > > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6603632 > > I think you need snv_74 or newer. > Bfu'ing to a release >= snv_74 should help with this compile error.
Yep. I ran into this as well. I filed 6653792 to track it, though won't be completely surprised if the resolution of the bug is to simply send a Flag Day notice giving the advice to upgrade to snv_74 or later. The bug should show up on bugs.opensolaris.org at the next sync. (The reason there's no -I for this part of the build is that it's part of the toolset that's used during the build, so needs to be compiled for the native system. There's a separate pass with -I to create the delivered binary.) liane
