Page 1 of 1

cant compile

Posted: Sat Jan 16, 2010 12:35 pm
by deustheprogrammer
hello i am trying to compile unreal on solaris 10 and i keep getting the following errror messages, i am using GCC


bash-3.00# make
Building src
make[1]: Entering directory `/tmp/Unreal3.2/src'
gcc -I../include -I/tmp/Unreal3.2/extras/regexp/include -I/tmp/Unreal3.2/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -D_SOLARIS -c s_bsd.c
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from s_bsd.c:61:
/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 s_bsd.c:61:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from s_bsd.c:61:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make[1]: *** [s_bsd.o] Error 1
make[1]: Leaving directory `/tmp/Unreal3.2/src'
make: *** [build] Error 2
bash-3.00#

Re: cant compile

Posted: Sat Jan 16, 2010 7:07 pm
by Syzop
I don't think Unreal can be blamed because of this. We include signal.h, and then the header errors... doesn't look like our fault.

A google search might help you further. Seems to have something to do with the compiler and/or headers. Well, just read some of the posts, should help.