WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Cant find mktime.h and head.h  (Read 2220 times)

Offline Areal Person

  • Newbie
  • *
  • Posts: 4
Cant find mktime.h and head.h
« on: November 28, 2009, 05:55:18 PM »
Hi,

I'm building an experimental custom kernel based on linux-0.99.1 :)
I've several specific reasons for doing this.

However, I'm having trouble finding the following two files...

init/main.c:12:26: linux/mktime.h: No such file or directory
init/main.c:18:24: linux/head.h: No such file or directory

Can someone help me locate them ? I've looked with no luck.

Thanks,
-Areal

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11035
Re: Cant find mktime.h and head.h
« Reply #1 on: November 28, 2009, 07:29:49 PM »
You should use the versions recommended for the kernel version. I really doubt gcc 4 can build linux that old, since even our glibc doesn't support anything below 2.6 (2.4 by version, 2.6 by configuration).

It would require building almost a completely fresh system just for the purpose; it will be easier just to download a distro from that time, and build inside it.
The only barriers that can stop you are the ones you create yourself.