From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,766bf28ae0a96ff9,start X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,766bf28ae0a96ff9,start X-Google-Attributes: gidf678f,public From: Jonathan Nicholson Subject: Compiling gcc and libg++ on Digital Unix 4.0 Date: 1997/03/19 Message-ID: #1/1 X-Deja-AN: 226744519 Organization: University of Cambridge, England Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Hi, I'm trying to compile gcc 2.7.2.2 and libg++ version 2.7.2 on this platform (Digital Unix 4.0 running on an Alphastation 255/233) and I'm running into some difficulties. When compiling gcc I get an error message about redefining sprintf on compile. I managed to eliminate this by commenting out the offending line from the source code. This makes gcc compile cleanly but is not a very satisfactory solution. The other problem is also quite worrying, compiling libg++ 2.7.2 on the same system reports the following errors some way into the compile:- In file included from Regex.cc:32: rx.h:1288: conflicting types for `typedef int regoff_t' /usr/include/reg_types.h:52: previous declaration as `typedef long int regoff_t' rx.h:1299: conflicting types for `struct re_pattern_buffer' /usr/include/reg_types.h:50: previous declaration as `struct regex_t' rx.h:1308: conflicting types for `struct regmatch_t' /usr/include/reg_types.h:60: previous declaration as `struct regmatch_t' rx.h:1308: conflicting types for `struct regmatch_t' /usr/include/reg_types.h:60: previous declaration as `struct regmatch_t' *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. Has anyone had this problem / know the solution? Please reply by email if possible. Regards, Jonathan ---------------------------------------------------------------------------- = Jonathan Nicholson - System Administrator +44 1223 494987 (internal 4987) = = The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs, CB10 1SA = = Email: jjn@sanger.ac.uk (Work) jono@acme.demon.co.uk (Home) = ----------------------------------------------------------------------------