{"id":483,"date":"2010-08-03T08:56:21","date_gmt":"2010-08-03T08:56:21","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2010\/08\/03\/solaris-10-x86n-error-compiling-from-source\/"},"modified":"2021-07-24T18:40:19","modified_gmt":"2021-07-24T18:40:19","slug":"solaris-10-x86n-error-compiling-from-source","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/UNIX\/Solaris\/solaris-10-x86n-error-compiling-from-source.html","title":{"rendered":"Solaris 10 x86 – Error compiling from source"},"content":{"rendered":"
When compiling from source you may see the following errors occur :<\/p>\n
\/usr\/include\/sys\/siginfo.h:259: error: parse error before “ctid_t”<\/em><\/span><\/strong> In order to resolve this you will need to update your header files. Below shows you how to rebuild your header files for your particular version of Solaris 10.<\/p>\n find \/ -name mkheaders.conf After doing this, then you should be able to rebuild your code without compiler errors.<\/p>\n","protected":false},"excerpt":{"rendered":" When compiling from source you may see the following errors occur : \/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 … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[],"yoast_head":"\n
\/usr\/include\/sys\/siginfo.h:292: error: parse error before ‘}’ token<\/em><\/span><\/strong>
\/usr\/include\/sys\/siginfo.h:294: error: parse error before ‘}’ token<\/em><\/span><\/strong>
\/usr\/include\/sys\/siginfo.h:390: error: parse error before “ctid_t”<\/em><\/span><\/strong>
\/usr\/include\/sys\/siginfo.h:392: error: conflicting types for `__proc’<\/em><\/span><\/strong>
\/usr\/include\/sys\/siginfo.h:261: error: previous declaration of `__proc’<\/em><\/span><\/strong>
\/usr\/include\/sys\/siginfo.h:398: error: conflicting types for `__fault’<\/em><\/span><\/strong>
\/usr\/include\/sys\/siginfo.h:267: error: previous declaration of `__fault’<\/em><\/span><\/strong><\/p>\n
vi \/usr\/local\/lib\/gcc-lib\/i386-pc-solaris2.10\/3.3.2\/install-tools\/mkheaders.conf
[add the following line to the beginnning of the file :- SHELL=\/bin\/sh ]
cd \/usr\/local\/lib\/gcc-lib\/i386-pc-solaris2.10\/3.3.2\/install-tools\/
.\/mkheaders<\/p>\n