[Kst] Building from .src.rpm fails on 64 bit FC4

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Mon Nov 27 18:41:53 CET 2006


Hi,

I have just tried to build a rpm for FC4 (64 bits) with the provided
.src.rpm and it fails on the libXext test:

configure:28750: gcc -o conftest -std=iso9899:1990 -W -Wall
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2
-Wformat-security -Wmissing-format-attribute   -L/usr/X11R6/lib
conftest.c -lXext -lX11  >&5
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when
searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when
searching for -lXext
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status

It seems to me that on 64 bit architectures we need to pass a special
flag to configure, if someone familiar with it could update the .src.rpm
or find a workaround I'd be most grateful :-)

Nicolas


More information about the Kst mailing list