LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2007, 04:32 PM   #1
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Rep: Reputation: 15
Please Help With Make Command


Hi,

I tried to type make command so that it will compile necessary source files and create the executable program, but it showed the following error.

Could anybody please tell how to rectify the error.



XXX@xxxx:/home/xxxx/Desktop/mcs# make
g++ -ansi -pedantic -Wall -W -c mcs.cc
In file included from mcs.cc:54:
unp.h:43:59: error: sys/time.h: No such file or directory
make: *** [mcs.o] Error 1

Thanks,

vamsi.
 
Old 04-25-2007, 04:48 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Did you run the ./configure first? You are missing the file sys/time.h If you are running Fedora you would need the kernel-devel package.
 
Old 04-25-2007, 04:50 PM   #3
krisvamc
LQ Newbie
 
Registered: Apr 2007
Posts: 29

Original Poster
Rep: Reputation: 15
i am using ubuntu. the document says please type make and it will compile necessary files.what is needed for ubuntu
 
Old 04-25-2007, 05:03 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You need the kernel source for your particular kernel. I do not run ubuntu so I have not idea what the procedure is.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
make command in.... Guts Linux - Newbie 6 03-19-2005 07:31 PM
make command greenpenguin246 Linux - Software 6 12-13-2004 08:47 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
make command help Odin5578 SUSE / openSUSE 1 11-04-2004 04:26 AM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:08 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