#45 error when compiling

v3.7
open
nobody
5
2009-11-13
2009-11-13
Anonymous
No

Hi, Got this error when i do a make install

root@lawang # make install
cd sparcv7; make -f ../Makefile VPATH=.. srcdir=.. \ BINARY=./top ARCHFLAG= top
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c ../commands.c
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from ../commands.c:47:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from ../commands.c:47:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from ../commands.c:47:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `commands.o'
Current working directory /tmp/top-3.7/sparcv7
*** Error code 1
make: Fatal error: Command failed for target `sparcv7/top'
root@lawang #

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks