Summary: | media-libs/xine-lib-1.2.6-r1 fails to build - implicit declaration of function 'major' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bartosz Szreder <zgredder> |
Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.xine-project.org/show_bug.cgi?id=574 | ||
See Also: |
https://bugs.xine-project.org/show_bug.cgi?id=574 https://bugs.gentoo.org/show_bug.cgi?id=642500 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 575232 | ||
Attachments: |
build log fragment
emerge --info |
Created attachment 430514 [details]
emerge --info
Adding as a blocker to #575232 fixed in Gentoo & sent upstream: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c946fd3b81136b633882884a8e47abc49c706e |
Created attachment 430512 [details] build log fragment xine-lib fails on building src/xine-utils/xine_check.c (see attached build log fragment). Failure is caused by implicit declaration of function major(). Looking at "man major" suggests that xine_check.c is missing #include <sys/types.h> but on my system (linux-headers-4.5) the proper header file is in fact <sys/sysmacros.h>. Adding such #include directive to xine_check.c makes the build complete successfully.