Bug 27884 - make fails when compiling with LLVM
Summary: make fails when compiling with LLVM
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 03:56 UTC by Fabio Pedretti
Modified: 2010-04-29 05:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
make output (3.12 KB, text/plain)
2010-04-29 03:56 UTC, Fabio Pedretti
Details

Description Fabio Pedretti 2010-04-29 03:56:25 UTC
Created attachment 35331 [details]
make output

When trying to compile mesa with --enable-gallium-llvm on a Ubuntu 10.04 make fails with:
/usr/bin/ld: cannot find -lffi
See the attachment for the make output.
Comment 1 Jose Fonseca 2010-04-29 05:28:57 UTC
Fabio,

You need libffi-dev installed.

  apt-get install libffi-dev

should do the trick. 

The only thing we can do is verify it is missing and report it. Reopen if you thing that's important. But I also heard that LLVM 2.7 no longer depends on this library, so it might be better just to wait for LLVM 2.7 to be more prevalent and forget about libffi.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.