Re: STK1160 USB VIDEO CAPTURE DRIVER kconfig compatibility issues

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

 



Resending in plain text:

---------- Forwarded message ----------
From: Steven Rosenberg <steven.rosenberg@xxxxxxxxxxxx>
To: Ezequiel Garcia <ezequiel@xxxxxxxxxxxxxxxxxxxx>
Cc: linux-media <linux-media@xxxxxxxxxxxxxxx>
Bcc:
Date: Wed, 18 May 2022 16:17:07 +0300
Subject: Re: STK1160 USB VIDEO CAPTURE DRIVER kconfig compatibility issues
Dear Ezequiel,

Thank you for your response. Yes, your patch seemed to work.
Unfortunately, we cannot upgrade the package, there are too many
version specific dependencies. Currently we are getting another error
on the gcc version:

poky-hardknott-25.0.5/build/tmp/work-shared/dcbullet/kernel-source/include/linux/compiler-gcc.h:106:1:
fatal error: linux/compiler-gcc10.h: No such file or directory
|   106 | #include gcc_header(__GNUC__)
|       | ^~~~~
| compilation terminated.

There were no errors using Yocto sumo which used gcc version 7.3, but
hardknott uses gcc 10.3. Attempting to set the preferred version in
yocto after adding sumo's gcc 7.3 to the environment did not help.

Maybe you have some idea on how to set the __GNUC__ define for version
7 or some other way to have the linux kernel use gcc 7.3 instead of
the gcc 10.3?

Thank you again for your help, time and consideration.

With Best Regards.

Steven.


On Wed, May 18, 2022 at 4:17 PM Steven Rosenberg
<steven.rosenberg@xxxxxxxxxxxx> wrote:
>
> Dear Ezequiel,
>
> Thank you for your response. Yes, your patch seemed to work. Unfortunately, we cannot upgrade the package, there are too many version specific dependencies. Currently we are getting another error on the gcc version:
>
> poky-hardknott-25.0.5/build/tmp/work-shared/dcbullet/kernel-source/include/linux/compiler-gcc.h:106:1: fatal error: linux/compiler-gcc10.h: No such file or directory
> |   106 | #include gcc_header(__GNUC__)
> |       | ^~~~~
> | compilation terminated.
>
> There were no errors using Yocto sumo which used gcc version 7.3, but hardknott uses gcc 10.3. Attempting to set the preferred version in yocto after adding sumo's gcc 7.3 to the environment did not help.
>
> Maybe you have some idea on how to set the __GNUC__ define for version 7 or some other way to have the linux kernel use gcc 7.3 instead of the gcc 10.3?
>
> Thank you again for your help, time and consideration.
>
> With Best Regards.
>
> Steven.
>
>
>
> On Tue, May 17, 2022 at 9:45 PM Ezequiel Garcia <ezequiel@xxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> Hi Steven,
>>
>> I think your mail didn't get delivered because it's HTML and mailing
>> list filter this. Plain-text is required.
>>
>> El mar, 17 may 2022 a la(s) 10:10, Steven Rosenberg
>> (steven.rosenberg@xxxxxxxxxxxx) escribió:
>> >
>> > Dear Ezequiel Garcia,
>> >
>> >
>> >
>> > We are using the linux 3.10.73 package [1], which includes your "drivers/media/usb/stk1160/ Kconfig" file. We are upgrading versions of Yocto and the current version of kconfiglib.py gives errors [2]. There is indeed an extra dot on line 20. Perhaps you have already fixed this in a later version  of this linux package so that we can avoid adding a patch? If so or if you have another solution, please advise accordingly. Currently your Kconfig file for this version of Linux is not compatible with the current version of  kconfiglib.
>>
>> Thanks for the report. The extra dot was apparently introduced by
>> commit "[media] rename most media/video usb drivers to media/usb",
>> and later fixed in commit "[media] stk1160: Build as a module if SND
>> is m and audio support is selected".
>> See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dfb9f94e8e5e7f73c8e2bcb7d4fb1de57e7c333d
>>
>> 3.10 is EOLed so you will have to patch this yourself.
>>
>> PS: If you still want to use 3.10, I would suggest you should be using
>> 3.10.108 (latest stable).
>>
>> Thanks,
>> Ez
>>
>>
>>
>> >
>> >
>> >
>> >
>> >
>> >
>> > [1] https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.73.tar.xz
>> >
>> > [2]
>> >
>> >
>> > kconfiglib.KconfigError: drivers/media/usb/stk1160/Kconfig:20: error: couldn't parse '.': unknown token at start of line
>> >
>> > ERROR: config analysis failed:
>> >
>> > DEBUG: Python function do_kernel_configcheck finished
>> >
>> >
>> > With Best Regards.
>> >
>> >
>> > Steven Rosenberg.
>>
>>
>>
>> --
>> Ezequiel García, VanguardiaSur
>> www.vanguardiasur.com.ar




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux