1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openharmony-vendor_huawei_hdf

 / Детали:

Unable to find <linux/io.h> when the header file osal_io.h included

Предстоит сделать
Владелец
Создано  
26.11.2024

Hi guys,

I have encountered a problem when I am trying to use the header file osal_io.h.

here is the part of my BUILD.gn file:

  include_dirs = [
        "include",
        "$HDF_FRAMEWORKS/ability/sbuf/include",
        "$HDF_FRAMEWORKS/core/shared/include",
        "$HDF_FRAMEWORKS/core/host/include",
        "$HDF_FRAMEWORKS/core/master/include",
        "$HDF_FRAMEWORKS/include/core",
        "$HDF_FRAMEWORKS/include/utils",
        "$HDF_FRAMEWORKS/utils/include",
        "$HDF_FRAMEWORKS/include/osal",
        "//third_party/bounds_checking_function/include",
    ]
    deps = [
        "//drivers/hdf/lite/manager:hdf_core",
        "//drivers/hdf/lite/adapter/osal/posix:hdf_posix_osal",
    ]

And then, the compile error throw up:

../../drivers/hdf/frameworks/include/osal/osal_io.h:62:10: fatal error: 'linux/io.h' file not found
#include <linux/io.h>

Thanks for your help.
You could reply in Chinese,

Комментарий (0)

GitLife Service Account Задача создана

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
1
https://api.gitlife.ru/oschina-mirror/openharmony-vendor_huawei_hdf.git
git@api.gitlife.ru:oschina-mirror/openharmony-vendor_huawei_hdf.git
oschina-mirror
openharmony-vendor_huawei_hdf
openharmony-vendor_huawei_hdf