Bug 9213 - inconvient header file placement
Summary: inconvient header file placement
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libffi3.4 (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 14:38 MSK by Sergey Bolshakov
Modified: 2006-09-15 01:52 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Bolshakov 2006-03-09 14:38:51 MSK
предлагается изменить содержание файла
$ rpm -qf /usr/lib/gcc/i586-alt-linux/3.4.5/include/ffi.h
libffi3.4-devel-3.4.5-alt1
следующим образом:
--- ffi.h.orig  2006-03-09 14:31:13 +0300
+++ ffi.h       2006-03-09 14:31:39 +0300
@@ -60,7 +60,7 @@
 
 /* ---- System configuration information --------------------------------- */
 
-#include <ffitarget.h>
+#include <libffi/ffitarget.h>
 
 #ifndef LIBFFI_ASM
 
---
либо перенести ffitarget.h уровнем выше
Comment 1 Dmitry V. Levin 2006-03-09 18:12:39 MSK
А что лучше, поправить ffi.h или переместить ffitarget.h?
У тебя есть пример реального использования, для которого один из этих вариантов
предпочтительнее?
Comment 2 Sergey Bolshakov 2006-03-09 18:36:11 MSK
Достаточно возможности без извращений подключить ffi.h.
Поскольку пользователей libffi3.4 я в сизифе не обнаружил,
а единственный известный мне кандидат использует только ffi.h,
предложу подбросить монетку.
Comment 3 Dmitry V. Levin 2006-03-09 20:59:59 MSK
Судя по логам сборки, пользуется g-wrap:
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
Comment 4 Dmitry V. Levin 2006-03-09 21:49:50 MSK
Fixed in libffi3.4-devel-3.4.5-alt2