Re: error building master branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-08-08 16:58 GMT+02:00 Laura Abbott <labbott@xxxxxxxxxx>:
> On 08/08/2016 01:39 AM, Thorsten Leemhuis wrote:
>>
>> Lo! Mr. Aappddeevv wrote on 08.08.2016 03:47:
>>>
>>> I am encountering compile errors building off master. My build system
>>> is f24. Any thoughts? I did some google searches but could not find
>>> anyone else that had the same problem.
>>>
>>> One of the errors is below:
>>>
>>>  pushd tools/iio/
>>>
>>> ~/proj/kernel/kernel-4.7.fc26/linux-4.8.0-0.rc0.git7.2.local.fc26.x86_64/tools/iio
>>> ~/proj/kernel/kernel-4.7.fc26/linux-4.8.0-0.rc0.git7.2.local.fc26.x86_64
>>> + make
>>> make[1]: Entering directory
>>> '/home/me/proj/kernel/kernel-4.7.fc26/linux-4.8.0-0.rc0.git7.2.local.fc26.x86_64/tools/iio'
>>> gcc -Wall -g -D_GNU_SOURCE   -c -o iio_event_monitor.o
>>> iio_event_monitor.c
>>> iio_event_monitor.c:58:3: error: 'IIO_PH' undeclared here (not in a
>>> function)
>>>   [IIO_PH] = "ph",
>>
>>
>> I ran into this issue when building 4.8-pre for F23 and F24
>> (https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories ). If you
>> want to just circumvent this problem install the kernel-headers package
>> from at least 4.7 (from my repos or the kernel-stabilization repo) in
>> your build environment. Those headers contain everything that is needed
>> to compile the iio tools from 4.8-pre. I haven't reported the problem
>> upstream yet (-ELACKOFTIME) :-/
>>
>> CU, thl
>>
>
>
> Yes, installing the new headers is the correct solution. Several of
> the #defines for the IIO tools came in for 4.7. Since this is a

It would be better for the userspace tools to use the headers from the
kernel source tree instead of those from the "previous" kernel-headers
package.
This will lead to a bootstraping issue if that's not the case. Or is
there any reason why it's must use system installed headers ?

Thx



-- 
-

Nicolas (kwizart)
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux