gcc -c -march=pentium3 -Os -pipe -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include mule-wnnfns.c In file included from mule-wnnfns.c:273: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/wnn/commonhd.h:54:22: wnnerror.h: No such file or directory make[1]: *** [mule-wnnfns.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src' make: *** [src] Error 2 I have all use flags on and freewnn-1.1.1_alpha19 installed. The requested file I have at /usr/include/wnn/wnnerror.h If I dump wnnerror.h into /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/wnn/ then xemacs compiles smoothly. However I wonder why gcc installs this at this particular path: grep -ri 'commonhd.h' /var/db/pkg/ /var/db/pkg/app-i18n/freewnn-1.1.1_alpha19/CONTENTS:obj /usr/include/wnn/commonhd.h 4f81335ee860f486fe3424e7c00ee68e 1053614873 /var/db/pkg/sys-devel/gcc-3.2.3-r1/CONTENTS:obj /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/wnn/commonhd.h 8b03446cb3b48a0eecc3374f34528758 1053611787 Also worth a mention is that removing wnn subfolder entirely from gcc's include directory makes xemacs successfully build.
Can you try upgrading gcc-config and maybe working with your gcc-config profile? I just merged 21.4.12 with no problems with frewnn enabled and your same freewnn version using gcc 3.2.3-r1.
any news on this ?
Resolving as NEEDINFO. It is possible this issue was fixed in later versions of gcc as well.