<<< Date Index >>>     <<< Thread Index >>>

Re: Fwd: make install failure



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thursday, May 21 at 09:48 AM, quoth Ravi Uday:
>In file included from
>/sw/packages/gcc/c3.4.3-p3/sparc-sun-solaris2.8/lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/signal.h:44,
>                from /usr/include/signal.h:26,
>                from ../mutt.h:34,
>                from auth.c:23:
>/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
>/usr/include/sys/siginfo.h:261: error: ISO C forbids data definition
>with no type or storage class
>/usr/include/sys/siginfo.h:292: error: parse error before '}' token

If you do a google search for that error, you will find this: 
http://forums.sun.com/thread.jspa?threadID=5077618

     I guess what has happened is that you're using a gcc compiler that
     was built on Solaris 9 (or some other Solaris release older than
     Solaris 10 b69), and this gcc release has a set of "fixed" gcc
     specific headers that don't match your s10b69 system headers any
     more.

     The fix is to build a fresh set of gcc "fixed" headers:

     # cd /opt/sfw/gcc-3/lib/gcc-lib/i386-pc-solaris2.9/3.3.2/install-tools/
     # cat > mkheaders.conf
     SHELL=/bin/sh
     SYSTEM_HEADER_DIR="/usr/include"
     OTHER_FIXINCLUDES_DIRS=""
     FIXPROTO_DEFINES="-D_XOPEN_SOURCE"
     STMP_FIXPROTO="stmp-fixproto"
     STMP_FIXINC="stmp-fixinc"
     ^D

     # ./mkheaders

Obviously, on your system the paths are slightly different, but I'm 
guessing that the problem is the same and the fix is probably very 
similar too.

~Kyle
- -- 
And thou shalt smite the house of Ahab thy master, that I may avenge 
the blood of my servants the prophets, and the blood of all the 
servants of the LORD, at the hand of Jezebel. For the whole house of 
Ahab shall perish.
                                             -- Bible, II Kings (9:7-8)
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJKFVsXAAoJECuveozR/AWeidsQALY7Rtrzm5LdU3k1oKKaiv44
4/6ualhurVPExJqltedSa0U1Y8YV8vC4OFMnTuipXKR05ISQ4znXdoYhP+TVxivT
l3u4sm7bySA0raM3rcf0cVQRafecND+ZCJ17VoaUoldbC4W11+kynIALpzUgNyiX
AbsjUT46oO7JfvJ8Bpem17HQj61/ikzKH2ycZ3jdTC8rXwbcGFC2YkOmJzECkki0
ds6/WdEFAQrE3ol1YUpyH/Zutbm7wt0ctgJyfekCK3w+b8/6etYGsE2QqCk+XGz9
8IvX7lCuwTbdK6KlNa/yYtZe3n+ZMhGZBSNP+8RV7hlAmLSgzEa3tTyE4gmBnKZw
L7BY2Kh3kAz3EEXdd3nqZx+FZ0V3sp6UCCHjD72y8OIpJGrJEeWQFTxeWnma91GI
uFilmb637E/cNduarm/hvReSGz8BruLCT6rf7TzX08Xs229Iwu8e7K2xzVCMQlpD
i6yisia1U1paHwkWFtojxNLhtZjt7X3PlaVMq1E2vwGW67AONKxN+GxlZE6pDC5K
BJhvYxVRlIxzMeNZlxoTRL0zkJhZJqDVpChRgvpQxSMebeKcC+PafmkGbqeBRQob
P5vOPfKZ7i9z9qpg/c6s3sy3xdpu3PLsG6GqbAZiyvljs5oSxpm3+D0PxYniUJH5
jVdZ+JrtjBcLaxYRyzDw
=XbUI
-----END PGP SIGNATURE-----