[Mesa-dev] [Bug 94394] Compile Mesa , specific compilation , /usr/bin/ld: cannot find -ldrm

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 4 23:10:12 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94394

--- Comment #2 from tele <swojskichlopak at wp.pl> ---
 - Do I need all 32 bit dependencies before compile on 64 bit system ?

#========================
$ echo $PKG_CONFIG_PATH
/usr/lib64/pkgconfig

$ echo $PKG_CONFIG_PATH
/usr/lib64/pkgconfig

$ ld -ldrm --verbose
...
attempt to open /usr/lib64/libdrm.so succeeded
-ldrm (/usr/lib64/libdrm.so)
libm.so.6 needed by /usr/lib64/libdrm.so
found libm.so.6 at /lib64/libm.so.6
libc.so.6 needed by /usr/lib64/libdrm.so
found libc.so.6 at /lib64/libc.so.6
ld-linux-x86-64.so.2 needed by /lib64/libc.so.6
found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2
ld: warning: cannot find entry symbol _start; not setting start address


$ ls /usr/lib64/pkgconfig | grep libdrm.pc
libdrm.pc
#========================

./configure CC="gcc -m32" CXX="g++ -m32" --build=x86_64-pc-linux-gnu
--host=i686-pc-linux-gnu --disable-static  PKG_CONFIG_PATH=/usr/lib64/pkgconfig

http://wklejto.pl/249051

make snd the same error
http://wklejto.pl/249052

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160304/906d1d7c/attachment.html>


More information about the mesa-dev mailing list