DragonFly BSD
DragonFly bugs List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

error compiling


From: Geiregat Jonas <eniac@xxxxxxxxxx>
Date: Wed, 26 Nov 2003 10:19:41 +0000

I've downloaded the sources all of them
next went to /usr/dragonsrc and did
make

then I got this :

/usr/include/unistd.h:188: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:191: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:192: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:193: syntax error before `*'
/usr/include/unistd.h:193: warning: type defaults to `int' in declaration of `setgroups'
/usr/include/unistd.h:199: syntax error before `_pid'
/usr/include/unistd.h:200: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:201: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:202: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:203: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:204: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:205: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:212: syntax error before `__syscall'
/usr/include/unistd.h:212: syntax error before `...'
/usr/include/unistd.h:212: warning: type defaults to `int' in declaration of `__syscall'
/usr/include/unistd.h:212: warning: data definition has no type or storage class
/usr/include/unistd.h:222: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:223: syntax error before `vfork'
/usr/include/unistd.h:223: warning: type defaults to `int' in declaration of `vfork'
/usr/include/unistd.h:223: warning: data definition has no type or storage class
In file included from login.c:42:
/usr/include/stdlib.h:52: `size_t' redeclared as different kind of symbol
/usr/dragonsrc/lib/libutil/../../sys/sys/types.h:136: previous declaration of `size_t'
In file included from login.c:43:
/usr/include/utmp.h:54: syntax error before `time_t'
/usr/include/utmp.h:63: syntax error before `time_t'
In file included from login.c:44:
/usr/dragonsrc/lib/libutil/libutil.h:64: syntax error before `pid_t'
/usr/dragonsrc/lib/libutil/libutil.h:65: syntax error before `uid_t'
login.c: In function `login':
login.c:55: called object is not a function
*** Error code 1

Stop in /usr/dragonsrc/lib/libutil.
*** Error code 1

Stop in /usr/dragonsrc/lib.
*** Error code 1

Stop in /usr/dragonsrc.
*** Error code 1

Stop in /usr/dragonsrc.


I'm doing this on Freebsd 4.9 , gcc version 2.95.4 20020320 [FreeBSD]



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