element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Yocto error compling module
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 328 subscribers
  • Views 341 views
  • Users 0 members are here
Related

Yocto error compling module

Former Member
Former Member over 8 years ago

Hello,

I'm trying to write a module to transfer data with my custom IP in a Microzed board.

I wrote the module but trying to compile it I receive the following error:

Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 2042 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:00
Parsing of 1521 .bb files complete (1520 cached, 1 parsed). 2042 targets, 130 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
 
Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "microzed-zynq7"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard       cortexa9"
TARGET_FPU        = "hard"
meta              
meta-poky         
meta-yocto-bsp    = "HEAD:7d70e6747973334cccd13a8dfc703cc973d52116"
meta-xilinx       = "HEAD:dcd1c218f943c3657b138cb05012c90c65f32a35"
meta-mylayer      = "<unknown>:<unknown>"
meta-oe           = "krogoth:851a064b53dca3b14dd33eaaaca9573b1a36bf0e"
 
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: epcmod-0.1-r0 do_make_scripts: Function failed: do_make_scripts (log file is located at /home/berta/Programmi/Yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/epcmod/0.1-r0/temp/log.do_make_scripts.21424)
ERROR: Logfile of failure stored in: /home/berta/Programmi/Yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/epcmod/0.1-r0/temp/log.do_make_scripts.21424
Log data follows:
| DEBUG: Executing shell function do_make_scripts
| make: Entering directory '/home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-source'
| make[1]: Entering directory '/home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-build-artifacts'
|   GEN     ./Makefile
| scripts/kconfig/conf  --silentoldconfig Kconfig
| *
| * Restart config...
| *
| *
| * Enable the block layer
| *
| Enable the block layer (BLOCK) [Y/n/?] y
|   Support for large (2TB+) block devices and files (LBDAF) [Y/n/?] (NEW) aborted!
| 
| Console input/output is redirected. Run 'make oldconfig' to update configuration.
| 
| /home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-source/scripts/kconfig/Makefile:37: recipe for target 'silentoldconfig' failed
| make[3]: *** [silentoldconfig] Error 1
| /home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-source/Makefile:531: recipe for target 'silentoldconfig' failed
| make[2]: *** [silentoldconfig] Error 2
| make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'scripts'.  Stop.
| make[1]: Leaving directory '/home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-build-artifacts'
| Makefile:146: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2
| make: Leaving directory '/home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-source'
| WARNING: /home/berta/Programmi/Yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/epcmod/0.1-r0/temp/run.do_make_scripts.21424:1 exit 2 from 'make CC="arm-poky-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd" LD="arm-poky-linux-gnueabi-ld.bfd  " AR="arm-poky-linux-gnueabi-ar " -C /home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-source O=/home/berta/Programmi/Yocto/build/tmp/work-shared/microzed-zynq7/kernel-build-artifacts scripts'
| ERROR: Function failed: do_make_scripts (log file is located at /home/berta/Programmi/Yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/epcmod/0.1-r0/temp/log.do_make_scripts.21424)
ERROR: Task 6 (/home/berta/Programmi/Yocto/meta-mylayer/recipes-hlsaxim/epcmod/epcmod_0.1.bb, do_make_scripts) failed with exit code '1'
NOTE: Tasks Summary: Attempted 596 tasks of which 595 didn't need to be rerun and 1 failed.
No currently running tasks (559 of 606)
 
Summary: 1 task failed:
  /home/berta/Programmi/Yocto/meta-mylayer/recipes-hlsaxim/epcmod/epcmod_0.1.bb, do_make_scripts
Summary: There was 1 WARNING message shown.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.    

It seems that a module into the kernel fails. I tried to find it but it seems it didn't exist.

Where is my error? Any suggestion?

Thanks

Claudio

  • Sign in to reply
  • Cancel
  • narrucmot
    0 narrucmot over 8 years ago

    What Yocto environment is this?

    We are most familiar with PetaLinux and WindRiver Pulsar for running Linux on Zynq devices, so I am unsure how much help I am going to be here.  That said, it looks as though this may be a makefile issue, or something incorrectly configured in the bitbake recipe.  Can you compile your source code without the makefile?  Something like:

    bitbake -f -c compile foo

     

    Regards,

    Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube