LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2007, 07:27 PM   #1
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Rep: Reputation: 15
gcc errors


Here's what I got when trying to compile something.

Newly created files are older than distributed files. Check your system clock!

This happened to me just a couple weeks ago. I googled and found the answer.

I remember I had to apt-get something. Something to do with gcc.

I've already apt-get install gcc though and it says its the latest version.

I know I just have the apt-get something. I've googled again and couldn't find the thread.

Anyone know?
 
Old 01-30-2007, 07:58 PM   #2
shorun
Member
 
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
Quote:
Newly created files are older than distributed files. Check your system clock!
well, according to this error, you simply have a bad timesetting.

set your time to the correct date using "date" or your favorite editor.
"man date" should get you a manual for date
 
Old 01-30-2007, 08:09 PM   #3
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
Yeah, I know it "says" that, but it's simply a matter of apt-getting something.

I just can't find out what the apt-get.

But it has nothing to do with the clock.
 
Old 01-30-2007, 08:22 PM   #4
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
Some extra info:

Installed Debian Etch netinst, so I know it doesn't have a lot of libraries etc..

that's why there is a problem. The clock is fine, i'm just missing something needed other than gcc in order to compile.
 
Old 01-30-2007, 09:44 PM   #5
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
Ok basically instead of some random library, how bout someone lists all the libraries that can be installed via apt-get so I can compile everything.
 
Old 01-30-2007, 10:05 PM   #6
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
anybody? bump
 
Old 01-30-2007, 10:22 PM   #7
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
I need an answer, i'm not going to melt away.
 
Old 01-30-2007, 10:59 PM   #8
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
I just need something that will compile c files for me.

Because apparently, by itself gcc isn't cutting it.

Obviously i need more than just gcc so if you can post libraries that are attainable via apt-get i would be very happy.

I have an entire day to spend on this, so I don't want this to get me stuck.
 
Old 01-30-2007, 11:16 PM   #9
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
Anybody? Please!
 
Old 01-30-2007, 11:39 PM   #10
gloomz
Member
 
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
88 views??!!! Come on.. this isn't that hard. I just can't find an answer through google.
 
Old 01-31-2007, 12:01 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by gloomz
I just need something that will compile c files for me.
What libraries you need will depend on what libraries are used in the relevant files..

Surely apt-get has an option that will let you search for things, so use that (or use Synaptic and see all the packages you can install).

Please could you be more patient in future. Just because people view your thread doesn't mean they can help you.
 
Old 02-01-2007, 09:34 AM   #12
shorun
Member
 
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
apt does have a search function, i think it was apt-cache or something like that. try "man apt".

sorry i can't help you with this.

ps: 88 vieuws means people care, but can't help. useless info would still be, useless. keep in mind this is still a free forum, and that we do not get paid to do this. it's all just a "friendly hand" from people who care.
 
Old 02-01-2007, 09:43 AM   #13
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
And also keep in mind that forum rules say that you have to wait 24 hours before you bump you thread.
 
Old 02-01-2007, 10:02 AM   #14
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by gloomz
Here's what I got when trying to compile something.

Newly created files are older than distributed files. Check your system clock!

This happened to me just a couple weeks ago. I googled and found the answer.

I remember I had to apt-get something. Something to do with gcc.

I've already apt-get install gcc though and it says its the latest version.

I know I just have the apt-get something. I've googled again and couldn't find the thread.

Anyone know?
If you apt-get installed something a couple of weeks ago to solve the problem, then it should still be installed. Unless you uninstalled it, but that wouldn't make sense to do would it? Typically this is because your system time or the packager's system time is wrong. Especially if you use NTP and the daemon is borked. Using UTC has also been reported to skew time settings. Check your system time and try to touch the offending files before you configure again.

Besided gcc, you need Linux headers, glibc headers, binutils, bash, coreutils, diffutils, findutils, gawk, gettext, grep, make, patch, sed, texinfo, and probably somethings I forgot. I'm assuming, of course, that you're trying to build something from a tarball you downloaded.
 
  


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
gcc errors? rlprofessional Linux - Newbie 1 06-13-2006 12:33 PM
GCC Compilation Errors The_Dish Programming 7 10-08-2004 04:33 PM
gcc-3.3.1 compile errors RTT Linux From Scratch 1 02-28-2004 06:53 PM
Apache / gcc errors ridertech Linux - Newbie 6 02-13-2004 01:59 PM
gcc errors?? or are they? Rito Linux From Scratch 1 01-06-2003 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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