Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=773021 --- Comment #4 from Scott Tsai <scottt.tw@xxxxxxxxx> 2012-01-12 13:27:58 EST --- (In reply to comment #2) In http://mcepl.fedorapeople.org/tmp/_build-1-0.9.git20120110Rf26fbd0.el6.log the build failure is caused by: /usr/bin/gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -g -fPIC CMakeFiles/crash-cubemap-order.dir/crash-cubemap-order.c.o -o ../../../../bin/crash-cubemap-order -rdynamic ../../../../lib/libpiglitutil.so -lGL -lGLU -lglut -lX11 -lm ../../../../lib/libpiglitutil.so: undefined reference to `piglit_window_mode' ../../../../lib/libpiglitutil.so: undefined reference to `piglit_height' ../../../../lib/libpiglitutil.so: undefined reference to `piglit_display' ../../../../lib/libpiglitutil.so: undefined reference to `piglit_width' ../../../../lib/libpiglitutil.so: undefined reference to `piglit_init' If you remove "-DBUILD_SHARED_LIBS:BOOL=ON" from you cmake invocation, libpiglitutil would get built as a static library and the link failure would not happen. Analysis: apparently piglit tests that use window related functions from libpiglit must define the "piglit_window_mode" etc global variables. crash-cubemap-order.c doesn't use those functions, doesn't define those global variables and thus linking fails when libpiglit is built as a shared library. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review