LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2015, 05:17 PM   #1
intrajp
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Rep: Reputation: Disabled
Mesa-10.2.7 fail to compile


Hi, I'm building lfs system.

When I build Mesa, fail occurres.

root [ /sources/Mesa-10.2.7 ]# make
Making all in src
make[1]: Entering directory '/sources/Mesa-10.2.7/src'
Making all in gtest
make[2]: Entering directory '/sources/Mesa-10.2.7/src/gtest'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/Mesa-10.2.7/src/gtest'
Making all in loader
make[2]: Entering directory '/sources/Mesa-10.2.7/src/loader'
CC libloader_la-loader.lo
In file included from loader.c:96:0:
/usr/include/libudev.h:1:1: error: unknown type name 'setting'
setting __param_arr_rx_altsetting num_rx_altsetting __UNIQUE_ID_tx_padding11 __UNIQUE_ID_tx_paddingtype10 __param_tx_padding __param_str_tx_padding __param
^
/usr/include/libudev.h:1:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'num_rx_altsetting'
setting __param_arr_rx_altsetting num_rx_altsetting __UNIQUE_ID_tx_padding11 __UNIQUE_ID_tx_paddingtype10 __param_tx_padding __param_str_tx_padding __param
^
/usr/include/libudev.h:1:35: error: unknown type name 'num_rx_altsetting'
loader.c: In function 'udev_dlopen_handle':
loader.c:103:9: error: 'udev_handle' undeclared (first use in this function)
if (!udev_handle) {
^
loader.c:103:9: note: each undeclared identifier is reported only once for each function it appears in
loader.c: At top level:
loader.c:138:32: warning: 'struct udev' declared inside parameter list
udev_device_new_from_fd(struct udev *udev, int fd)
^
loader.c:138:32: warning: its scope is only this definition or declaration, which is probably not what you want
loader.c: In function 'udev_device_new_from_fd':
loader.c:141:16: error: storage size of 'buf' isn't known
struct stat buf;
^
loader.c:145:4: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration]
if (fstat(fd, &buf) < 0) {
^
loader.c:141:16: warning: unused variable 'buf' [-Wunused-variable]
struct stat buf;
^
loader.c: In function 'loader_get_pci_id_for_fd':
loader.c:178:13: warning: passing argument 1 of 'udev_device_new_from_fd' from incompatible pointer type
device = udev_device_new_from_fd(udev, fd);
^
loader.c:138:1: note: expected 'struct udev *' but argument is of type 'struct udev *'
udev_device_new_from_fd(struct udev *udev, int fd)
^
loader.c: In function 'loader_get_device_name_for_fd':
loader.c:303:13: warning: passing argument 1 of 'udev_device_new_from_fd' from incompatible pointer type
device = udev_device_new_from_fd(udev, fd);
^
loader.c:138:1: note: expected 'struct udev *' but argument is of type 'struct udev *'
udev_device_new_from_fd(struct udev *udev, int fd)
^
loader.c: In function 'udev_dlopen_handle':
loader.c:123:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors
Makefile:550: recipe for target 'libloader_la-loader.lo' failed
make[2]: *** [libloader_la-loader.lo] Error 1
make[2]: Leaving directory '/sources/Mesa-10.2.7/src/loader'
Makefile:529: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sources/Mesa-10.2.7/src'
Makefile:578: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Any ideas?
Thanks in advance.
 
Old 03-20-2015, 01:14 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this is Fedora ?? right ?

for the current Fedora 21
Code:
yum update
will update mesa

also did you install any of the fedora patches that the developers use ?
have a look in the SRC rpm's ( you might have to turn on the development repo )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mesa libs fail to upgrade Shaine Linux - Software 4 05-03-2014 03:19 AM
Mesa Compile Error business_kid Linux - Software 2 10-19-2010 02:37 AM
Mesa Libraries Won't Compile: cannot stat... Blender3D Linux From Scratch 6 06-23-2010 06:48 AM
OpenGL program compile error with gcc 4.1.1 and Mesa 6.5.2 iam_techno Linux - Software 1 01-07-2007 05:25 PM
fail to compile cdfs ixogn Linux - Software 1 02-26-2004 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration