[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compilation problems



Dear Debian Community,

I just installed Debian 3.0.0r0 from the set of 7 cd's and I am very
excited about it 
(and a new user to debian).

I have, however a problem compiling any kind of C - Files.

I first tried compiling the kernbel source and got errors; then i write
a small 
hello-word program and i also got the same compilation errors.

The output is attached below.

I think that this woudl eb a package misselection i did during the
system install, but I 
cannot think of which package that might be. Can anyone give me a hint
of what to 
try?

Thank your very much for your help and time in advance!

Christian Fuchs

e-mail: asten@werwolf.com

===Cut===
File: test.c

#include <stdlib.h>

void main (void) {
	printf("hello world!");
}
===Cut===
Output compilation errors test.c

In file included from /usr/include/sys/types.h:132,
from /usr/include/stdlib.h:390,
from test.c:1:
/usr/include/time.h:82: parse error before `clockid_t'
/usr/include/time.h:82: warning: data definition has no type or storage
class
/usr/include/time.h:94: parse error before `timer_t'
/usr/include/time.h:94: warning: data definition has no type or storage
class
In file included from /usr/include/sys/types.h:215,
from /usr/include/stdlib.h:390,
from test.c:1:
/usr/include/sys/select.h:49: parse error before `suseconds_t'
/usr/include/sys/select.h:49: warning: data definition has no type or
storage class
/usr/include/sys/select.h:55: conflicting types for `__fd_mask'
/usr/local/include/bits/types.h:89: previous declaration of `__fd_mask'
test.c: In function `main':
test.c:3: warning: return type of `main' is not `int'
===Cut===



Reply to: