Skip to content

tests/drivers/build_all: The Zephyr library 'drivers__adc' was created without source files #13547

@cinlyooi-intel

Description

@cinlyooi-intel

Describe the bug
Configuration failed with message "The Zephyr library 'drivers__adc' was created without source files" on 2. quark_se_c1000_devboard

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=quark_se_c1000_devboard -DARCH=x86 -DCONF_FILE=sensors_a_h.conf ..
  3. See error

Screenshots or console output

Zephyr version: 1.14.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.2", minimum required is "3.4") 
-- Selected BOARD quark_se_c1000_devboard
-- Loading /path/to/zephyr.git/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard.dts as base
-- Overlaying /path/to/zephyr.git/dts/common/common.dts
quark_se_c1000_devboard.dts_compiled: Warning (simple_bus_reg): /soc/virtualcom: missing or empty reg/ranges property
Parsing Kconfig tree in /path/to/zephyr.git/Kconfig
Loading /path/to/zephyr.git/boards/x86/quark_se_c1000_devboard/quark_se_c1000_devboard_defconfig as base
Merging sensors_a_h.conf
Configuration written to '/path/to/zephyr.git/tests/drivers/build_all/build/zephyr/.config'
-- Cache files will be written to: /home/cinlyooi/.cache/zephyr
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc
-- Performing Test toolchain_is_ok
-- Performing Test toolchain_is_ok - Success
Including module(s): 
CMake Error at ../../../CMakeLists.txt:758 (message):
  The Zephyr library 'drivers__adc' was created without source files.  Empty
  (non-imported) libraries are not supported.  Either make sure that the
  library has the sources it should have, or make sure it is not created when
  it has no source files.


-- Configuring incomplete, errors occurred!
See also "/path/to/zephyr.git/tests/drivers/build_all/build/CMakeFiles/CMakeOutput.log".
See also "/path/to/zephyr.git/tests/drivers/build_all/build/CMakeFiles/CMakeError.log".

Environment (please complete the following information):

  • OS: Fedora29
  • Toolchain: Zephyr
  • Commit SHA or Version used: 9063c95

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions