Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8085783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:14:17+00:00 2026-06-05T18:14:17+00:00

I am trying to build a project on Linux via Makefile. I keep getting

  • 0

I am trying to build a project on Linux via Makefile.

I keep getting cannot find <sys/time.h> error.

I asked around, and I was told that my project doesn’t have access to library folders.

Therefore, I am trying to solve this problem by using the time library locally inside my project’s folder.
I am very new to Linux. So, please forgive my question if it sounds naive.

I found this, but I don’t know what files I need, and how to build the library.
http://sourceware.org/git/?p=glibc.git;a=tree;f=time;h=c950c5d4dd90541e8f3c7e1649fcde4aead989bb;hb=master

  • Where can I find the time.h library/package?
  • How do I build the library?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:14:19+00:00Added an answer on June 5, 2026 at 6:14 pm

    On Debian-derived distributions, apt-get install libc6-dev will get the required header files. You will need them for pretty much any C project. In the general case, Debian package search or apt-file can tell you where to find missing library etc files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to build my VS 2008 project in CCNEt and getting the
Trying to configure TeamCity to build our project, I'm having trouble getting the git
Trying to build my project with ANT in idea 10 and I get a
I am trying to build a project using Boost's Asio and I am having
I'm trying to build a project with FlashDevelop, which I was able to build
I'm trying to build a project in Eclipse with Maven. However I get the
I'm trying to build my project using ANT. My project uses ActionbarSherlock, and Roboguice-Sherlock.
I'm trying to build a project with a specific compiler in Eclipse, and I'm
I'm trying to build my Qt project on Windows, however something called jom.exe prevents
I am trying to build a VC++ project and I get these LINK errors:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.