pixman compile failed on x86-64

Wu, Nian nian.wu at intel.com
Sun Mar 16 18:35:11 PDT 2008

Hi, Sandmann,

When I compiled pixman on x86_64 machine, it failed with info:

gcc -g -O2 -Wall -fvisibility=hidden -o .libs/composite-test
composite-test.o  ../pixman/.libs/libpixman-1.so -L/usr/lib64
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -Wl,--rpath -Wl,/opt/X11R7//lib
../pixman/.libs/libpixman-1.so: undefined reference to `pixman_have_sse'
collect2: ld returned 1 exit status
make[2]: *** [composite-test] Error 1
make[2]: Leaving directory `/GFX/build/component/Xorg/xorg/pixman/test'

I checked the source, found that pixman_have_sse() would not be defined
on x86_64 because the conditional direction:
#if !defined(__amd64__) && !defined(__x86_64__)
in file /pixman-pict.c.

Please fix it.

Nian Wu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080317/3e13c005/attachment.html>

More information about the xorg mailing list