LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-10-2004, 08:13 AM   #1
ertmann|CPH
Member
 
Registered: Oct 2003
Location: Copenhagen
Distribution: Debian SID
Posts: 36

Rep: Reputation: 15
Can't compile anything :(


I can't compile anything, im getting pretty sick of it...

When i try to compile anything from a kernel, to simple programs i get syntax errors, incomplete types, implicit declarations, primarily (and as far as i am aware only) in these files

/usr/include/time.h
scripts/fixdep.c
/usr/include/bits/stat.h


some examples of errors from when i f.x tried to compile a 2.6.0 kernel

/usr/include/time.h:10: error: syntax error before "time_t"
/usr/include/time.h:120: error: field `it_interval' has incomplete type
/usr/include/bits/stat.h:70: error: field `st_atim' has incomplete type
scripts/fixdep.c:161: warning: implicit declaration of function `memcmp'
+ alot of similar errors in same files.


Have everything i can think of installed and in most recent version, can anyone help out (i'm using SID) ?
 
Old 01-10-2004, 09:12 AM   #2
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Those files are pretty well tested, I'm betting it's an error in your code and not that code. It probably was a syntax error before the #include's of the two files in /usr/include
 
Old 01-11-2004, 09:25 AM   #3
ertmann|CPH
Member
 
Registered: Oct 2003
Location: Copenhagen
Distribution: Debian SID
Posts: 36

Original Poster
Rep: Reputation: 15
that was what i got when i typed "make config" (and make xconfig) in the /usr/src /kernel-source-2.6.0 dir. tried with a 2.4.22 kernel too, and got the exact same errors. Those scripts should be fine eh?

Got it in other programs, can't remember which ones right now. But basicly everything i've tried.... surely they can't all have errors in their scripts.
 
  


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
How do I compile? icecream33 Programming 3 12-20-2017 11:49 AM
compile 2.6.13 jupiter3437 Linux - Software 3 09-09-2005 04:09 PM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM
Cannot compile c davidtsl Programming 8 12-13-2004 01:36 AM
Compile help Twiggy794 Linux - Software 1 12-03-2003 01:53 AM

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

All times are GMT -5. The time now is 04:39 PM.

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