This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好、
我正在尝试使用 VISION SDK 3.04编译 Gstremer-1.12.2支持。
我从 "<a href="">http://downloads.ti.com/infotainment/esd/jacinto6/processor-sdk-linux-automotive/5_00_00_01/exports/tisdk-rootfs-image-dra7xx-evm.tar.xz" 链接下载了">downloads.ti.com/.../tisdk-rootfs-image-dra7xx-evm.tar.xz" 链接下载了 targetfs、并将其解压到 $ INSTALL_DIR/ti_components/os_tools/linux/kernel/linux-kernel-addon/fs-patches 中、然后解压到$ INSTALL_DIR/ti_components/os_tools/linux/targetfs 中
编译源代码时、我遇到以下错误。
System_GBM_LOADator.c:178:9:错误:函数'GBM_surface_import'的隐式声明[-Werror=隐式函数声明]
SURF = GBM_SURFICE_IMPORT (DEV、
^μ A
System_GBM_LOADator.c:178:7:错误:赋值使指针从整数开始而不进行转换[-Werror=int-conversion ]
SURF = GBM_SURFICE_IMPORT (DEV、
^μ A
请帮我解决这个问题。
对于我的项目,我需要在 rootfs 中支持 Gstremer-1.12.2。
谢谢、
Sankar。
Sankar、您好!
如果您的目标是将 gstreamer 版本从1.6迁移到1.12,我建议您在 PSDKLA3.04的 Yocto 中进行更改,然后应用 $INSTALL_DIR/ti_compons/os_tools/linux/kernel/linux-kernel-addon/fs-patches 中的所有修补程序来构建文件系统。
PSDKLA5.x 基于内核4.14、某些用户空间库可能不兼容。
您是如何创建修补程序的
meta-glsdk/0001-GBM-add-support-for-surface_import.patch?
您是否申请了
meta-glsdk/0003-DDK-update-libs.patch 也是吗?
谢谢
RamPrasad
尊敬的 RamPrasad:
感谢您的快速回复。
在 targetfs 文件夹中提取"install-extra.tar.gz"后、我能够编译源代码。
但是、将编译的图像刷写到电路板后、我遇到了以下错误。
欢迎使用紧急模式! 登录后、键入"journalctl -XB"进行查看
系统日志、"systemctl reboot"重新引导、"systemctl default"或^D 至
请重试以引导至默认模式。
按 Enter 进行维护
(或按 Ctrl-D 继续):
为了快速检查 gstreamer-1.12.2,是否有可能解决上述问题?
谢谢、
Sankar。
Sankar、您好!
正如我之前提到的、如果您要将 gstreamer 从1.6迁移到1.12、则应开始从 PSDKLA3.04修改 Yocto 方法。 这是正确的方法。
如果您使用具有基于 kernel4.19的用户空间库的 PSDKLA5.x 文件系统、并且继续将内核4.4用于内核和模块、则可能无法正常工作、因为它们彼此不兼容。
谢谢
RamPrasad