Bug 416941
Summary: | gphoto2 build problem (alpha only?) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Oliver Falk <oliver> |
Component: | gphoto2 | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | pknirsch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | alpha | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-25 05:52:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Oliver Falk
2007-12-08 23:54:16 UTC
Oliver, it seems like you have incorrect glibc-headers installed in buildroot as IXANY isn't declared in %{_includedir}/bits/termios.h. This is all I can guess from the build log you posted here. Try to add somthing like: #ifdef __ALPHA__ # define IXANY 0004000 #endif after the #include <termios.h> in gphoto2-2.4.0/libgphoto2-2.4.0/libgphoto2_port/serial/unix.c and you will see. Well. I do see it defined: [oliver@gosa F-8]$ grep -r IXANY /usr/include/{asm,bits}/* /usr/include/asm/termbits.h:#define IXANY 0004000 /usr/include/bits/termios.h:# define IXANY 0004000 In bits/termios.h the define is inside of some ifdef __USE_BSD. But __USE_BSD isn't enabled somewhere, is it? The define is also commented with: /* POSIX.1 doesn't want these... */. - On Alpha. On x86 I don't see this idef or the comment ?! rpm -q glibc-headers ? ... and also rpm -q kernel-headers please :) [oliver@gosa work]$ rpm -q kernel-headers kernel-headers-2.6.23.1-58.fc8axp #ifndef IXANY # define IXANY 0004000 #endif Is what I patched in. Just in case some other arch also has problems... If you don't matter, please add appropriate patch (with your ifdef, or my ifndef - I don't mind). The question with the headers - of course - is still open. I applied the ifndef in rawhide, it seems to be safer. |