From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9f3b7f3412a24a73,start X-Google-Attributes: gidfee84,public From: Scott Sanbeg Subject: Anyone Compile GCC 2.7.2.1 on DEC OSF/1 v3.2? Date: 1997/01/14 Message-ID: <32DBEE6C.197D@interglobe.com>#1/1 X-Deja-AN: 209789816 content-type: text/plain; charset=us-ascii organization: interGlobe Networks, Inc., Seattle, WA USA mime-version: 1.0 reply-to: ssanbeg@interglobe.com newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.01Gold (WinNT; I) Hello All, I get: In file included from /usr/users/ssanbeg/gcc-2.7.2.1/include/stdio.h:348, from runtime.h:31, from sendmsg.c:28: ../getopt.h:22: parse error before string constant ../getopt.h:126: parse error before `}' In file included from runtime.h:35, from sendmsg.c:28: ../assert.h:25: parse error before string constant In file included from runtime.h:37, from sendmsg.c:28: ../objc/objc.h:54: parse error before `sel_eq' ../objc/objc.h:150: parse error before `}' In file included from runtime.h:38, from sendmsg.c:28: ../objc/objc-api.h:81: parse error before `objc_trace' ../objc/objc-api.h:81: warning: data definition has no type or storage class ../objc/objc-api.h:346: parse error before `sel_is_mapped' ../objc/objc-api.h:346: warning: data definition has no type or storage class ../objc/objc-api.h:381: parse error before `class_is_class' ../objc/objc-api.h:387: parse error before `class_is_meta_class' ../objc/objc-api.h:457: parse error before `object_is_class' ../objc/objc-api.h:463: parse error before `object_is_instance' ../objc/objc-api.h:469: parse error before `object_is_meta_class' In file included from sendmsg.c:28: runtime.h:57: parse error before `__objc_class_links_resolved' runtime.h:57: warning: data definition has no type or storage class runtime.h:68: parse error before `__objc_responds_to' runtime.h:68: warning: data definition has no type or storage class In file included from sarray.h:50, from sendmsg.c:29: ../assert.h:25: parse error before string constant sendmsg.c:94: parse error before `__objc_responds_to' *** Exit 1 Stop. *** Exit 1 Stop. ... latest bison, binutils-2.7 is installed. The line in ./getopt.h that causes the problem is: #ifdef __cplusplus extern "C" { #endif and, similarly, the trailing error is the above's #endif, such that: #ifdef __cplusplus } #endif ... causes it. Anyone know what the problem is this time?? Scott -- -- Scott Sanbeg INTERNET: ssanbeg@interglobe.com interGlobe Networks, Inc. OFFICE: 206.623.2222 1520 Fourth Avenue, Suite 200 FAX: 206.623.0885 Seattle, WA 98101 INFO: info@interglobe.com This is my opinion and mine alone. URL: http://www.interglobe.com