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 u-boot compilation errors
  • 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 Verified Answer
  • Replies 9 replies
  • Subscribers 329 subscribers
  • Views 1050 views
  • Users 0 members are here
Related

u-boot compilation errors

satishkumar
satishkumar over 10 years ago

Dear all,

I am downloading u-boot code from following link,
https://github.com/Xilinx/u-boot-xlnx

with "git clone https://github.com/Xilinx/u-boot-xlnx.git"
I am trying to compile with

make ARCH=arm zynq_zed_config
make ARCH=arm

I am getting error as

"In file included from tools/aisimage.c:10:0:
include/image.h:880:27: fatal error: openssl/evp.h: No such file or directory"

can you please help me out to resolve the problem.

Thanks & Regards
Satish.G


  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Satish,

      Did you check out a specific tag?  Are you using the Code Sourcery or Linaro toolchain?  To make sure you didn't miss any steps, take a look at the Ubuntu Tutorial for ZedBoard chapter on Creating the Second Stage loader.   The information there is still relevent.  

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • satishkumar
    0 satishkumar over 10 years ago

    I am using arm-xilinx-linux-gnueabi- for compiling u-boot which default provided with Vivado.
    I will try with code sourcery

    --Satish.G

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    That is the Code sourcery toolchain.  I've used both many times without a problem, but I haven't built anything lately specifically for Zedboard.

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    I just ran into this exact issue and found a solution. It turns out I was missing the openssl library. To get it, I did:
    yum install openssl-devel.x86_64
    (P.S. This should work on CentOS/RedHat. You'll need to find the equivalent for your system if it's something else.)
    (P.P.S. You should do this as root/sudo to avoid permission issues.)

    I had originally just installed the 32-bit library by doing:
    yum install openssl-devel.i686
    That cleared the header issue, but gave the following error when it tried to link:
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libssl.so when searching for -lssl
    /usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl

    The smoking gun that told me I needed the 64-bit lib was where it says "x86_64".

    Under no circumstance should you try downloading the openssl sources and compiling/cross-compiling them yourself. It was a complete waste of time.

    BTW - I am using Code Sourcery/Petalinux tool chain -- although this error is coming from the HOST tool chain.

    Hope this helps...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    I am getting exactly the same error as described by Satish while compiling PetaLinux U-boot. As we are getting that error from the arm-xilinx-linux-gnueabi- tool chain, no host tool chain, lib or include file is involved. This is still an open problem.

    -Gordon

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    My bad. You are correct in everything you said. I apologize profusely )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    thx! This was the solution for the prob. I downloaded openssl devel rpm for my opensuse distro and the compilation did run through without any errors.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    FWIW, the corresponding Debian/Ubuntu package is "libssl-dev".

    • 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