This is on RHEL 5.5 /afs/mrph.org/sys/gentoo/amd64_linux26/bin/bash ../libtool --tag=CC --mode=com pile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset -O2 -pipe -Wall -ansi -MT fribidi-run.lo -MD -MP -MF .deps/fribidi-run.Tpo -c -o fribidi -run.lo fribidi-run.c /afs/mrph.org/sys/gentoo/amd64_linux26/bin/bash ../libtool --tag=CC --mode=com pile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset -O2 -pipe -Wall -ansi -MT fribidi-shape.lo -MD -MP -MF .deps/fribidi-shape.Tpo -c -o fri bidi-shape.lo fribidi-shape.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset -O2 -pipe -Wall -ansi -MT fribidi-mirroring.lo -MD -MP -MF .deps/fribidi-mirror ing.Tpo -c fribidi-mirroring.c -fPIC -DPIC -o .libs/fribidi-mirroring.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset -O2 -pipe -Wall -ansi -MT fribidi-run.lo -MD -MP -MF .deps/fribidi-run.Tpo -c f ribidi-run.c -fPIC -DPIC -o .libs/fribidi-run.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset -O2 -pipe -Wall -ansi -MT fribidi-shape.lo -MD -MP -MF .deps/fribidi-shape.Tpo -c fribidi-shape.c -fPIC -DPIC -o .libs/fribidi-shape.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset -O2 -pipe -Wall -ansi -MT fribidi-mirroring.lo -MD -MP -MF .deps/fribidi-mirror ing.Tpo -c fribidi-mirroring.c -o fribidi-mirroring.o >/dev/null 2>&1 mv -f .deps/fribidi-joining-types.Tpo .deps/fribidi-joining-types.Plo fribidi-run.c: In function '_fribidi__new_run__internal__': fribidi-run.c:70: error: 'PAGE_SIZE' undeclared (first use in this function) fribidi-run.c:70: error: (Each undeclared identifier is reported only once fribidi-run.c:70: error: for each function it appears in.) libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset -O2 -pipe -Wall -ansi -MT fribidi-shape.lo -MD -MP -MF .deps/fribidi-shape.Tpo -c fribidi-shape.c -o fribidi-shape.o >/dev/null 2>&1 make[3]: *** [fribidi-run.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/fribidi-mirroring.Tpo .deps/fribidi-mirroring.Plo mv -f .deps/fribidi-shape.Tpo .deps/fribidi-shape.Plo make[3]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2-r1/work/fri bidi-0.19.2/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2-r1/work/fri bidi-0.19.2/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2-r1/work/fri bidi-0.19.2' make: *** [all] Error 2 emake failed * ERROR: dev-libs/fribidi-0.19.2-r1 failed: * emake failed aij@ghc11:~$ cat /usr/include/asm/page.h /* File autogenerated by 'make headers_install' */ #ifndef __ASM_STUB_PAGE_H #define __ASM_STUB_PAGE_H # if defined __x86_64__ # include <asm-x86_64/page.h> # elif defined __i386__ # include <asm-i386/page.h> # else # warning This machine appears to be neither x86_64 nor i386. # endif #endif /* __ASM_STUB_PAGE_H */ aij@ghc11:~$ cat /usr/include/asm-x86_64/page.h #ifndef _X86_64_PAGE_H #define _X86_64_PAGE_H #endif /* _X86_64_PAGE_H */ aij@ghc11:~$ rpm -qf /usr/include/asm/page.h kernel-headers-2.6.18-194.17.1.el5 aij@ghc11:~$ I have a patch
Created attachment 256702 [details, diff] Patch to check if PAGE_SIZE is defined
(In reply to comment #1) > Created an attachment (id=256702) [details] > Patch to check if PAGE_SIZE is defined > Will you submit it upstream, please. https://bugs.freedesktop.org/enter_bug.cgi?product=FriBidi
Can you try fribidi-0.19.6?
RHEL-5.5 is loooong dead, 5.11 is extended lifecycle, this needs checking with latest versions. I'm sorry for closing this bug.