http://bugs.freedesktop.org/show_bug.cgi?id=21777





--- Comment #1 from Dan Nicholson <dbn.li...@gmail.com>  2009-05-18 06:38:26 
PST ---
On Fedora, clock_gettime comes from librt, but that gets added in the build
when linking to libdrm.la. Can you check that -lrt is actually getting added to
libdrm?

$ grep 'LIBADD *=' libdrm/Makefile
libdrm_la_LIBADD = -lrt
$ grep dependency_libs libdrm/libdrm.la 
dependency_libs=' -lrt'

Because it links dristat correctly for me, but that's because libtool is
specifically adding -lrt:

gcc -DHAVE_CONFIG_H -I. -I../libdrm  -I ../shared-core -I ../libdrm   -g -O2
-MT dristat.o -MD -MP -MF .deps/dristat.Tpo -c -o dristat.o dristat.c
mv -f .deps/dristat.Tpo .deps/dristat.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2  -Wl,--as-needed -o
dristat dristat.o ../libdrm/libdrm.la
gcc -g -O2 -Wl,--as-needed -o .libs/dristat dristat.o 
../libdrm/.libs/libdrm.so -lrt
creating dristat


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to