LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2020, 07:50 PM   #1
Sylvester Ink
Member
 
Registered: Jun 2010
Distribution: Slackware
Posts: 112

Rep: Reputation: 35
Building Arm Project Missing stdint.h


I'm trying to build a project using the arm compiler (installed the arm-gcc and arm-binutils packages from Slackbuilds.org), but it seems that I'm missing stdint.h.

Code:
arm-none-eabi/9.2.0/include/stdint.h|9 col 16| fatal error: stdint.h: No such file or directory
Some quick searching shows that in other distributions, such as Ubuntu, there may be other arm C libraries to install, but I'm not finding these on Slackbuilds. Is there a package I'm missing?
 
Old 02-26-2020, 05:10 AM   #2
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by Sylvester Ink View Post
but I'm not finding these on Slackbuilds. Is there a package I'm missing?
I've never done this, but as stdint.h is supplied by the standard C library (glibc) and its headers, you may need an arm version of that?
 
1 members found this post helpful.
Old 02-26-2020, 10:55 AM   #3
Sylvester Ink
Member
 
Registered: Jun 2010
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by ehartman View Post
I've never done this, but as stdint.h is supplied by the standard C library (glibc) and its headers, you may need an arm version of that?
That's the conclusion I came to as well. But where would I find that library? I assumed it was on Slackbuilds, but unless it's under a very different name, I'm not seeing it.
 
Old 02-26-2020, 11:20 AM   #4
Sylvester Ink
Member
 
Registered: Jun 2010
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 35
Looks like the library I was looking for is newlib on Slackbuilds. It's just not tagged for arm, which is why I missed it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] need max int when using stdint.h bkelly Programming 5 05-01-2018 08:06 AM
LKM trouble with compile stdint.h dzaku Programming 2 10-20-2014 10:53 AM
folders missing in archieved output of hudson during php project building. renjuchingath Linux - Newbie 0 11-22-2011 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration