Bug 27884

Summary: make fails when compiling with LLVM
Product: Mesa Reporter: Fabio Pedretti <pedretti.fabio>
Component: OtherAssignee: mesa-dev
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: make output

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.