From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8763f31a098dba26,start X-Google-Attributes: gid1164f8,public From: mlewis@swmed.edu (Matthew A LEWIS) Subject: problems compiling elm on OSF/1 V3.2 Date: 1996/01/19 Message-ID: <4dom5u$56u@swsu65.swmed.edu> X-Deja-AN: 135771492 organization: UT-Southwestern Medical Center newsgroups: comp.sys.dec we're been unsuccessful in compiling elm with GCC 2.7.0 and the native cc on our alpha.... would anyone have any hints or an executable floating around??? exact errors follow: petlab:/home/mlewis//work[9] make cd lib; /bin/make - all cc -fpcc-struct-return -traditional -O -I../hdrs -c get_tz.c /usr/lib/cmplrs/cc/cfe: Warning: get_tz.c, line 98: illegal combination of pointer and integer tm = localtime(&tval); ---^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 99: 'tm_year' undefined, reoccurrences will not be reported t1 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, --------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 99: member of structure or union required t1 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, ----------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 99: 'tm_mon' undefined, reoccurrences will not be reported t1 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, ---------------------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 99: member of structure or union required t1 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, -----------------------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 99: 'tm_mday' undefined, reoccurrences will not be reported t1 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, ---------------------------------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 99: member of structure or union required t1 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, -----------------------------------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 100: 'tm_hour' undefined, reoccurrences will not be reported tm->tm_hour, tm->tm_min, tm->tm_sec); --^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 100: member of structure or union required tm->tm_hour, tm->tm_min, tm->tm_sec); ----^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 100: 'tm_min' undefined, reoccurrences will not be reported tm->tm_hour, tm->tm_min, tm->tm_sec); ---------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 100: member of structure or union required tm->tm_hour, tm->tm_min, tm->tm_sec); -----------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 100: 'tm_sec' undefined, reoccurrences will not be reported tm->tm_hour, tm->tm_min, tm->tm_sec); ---------------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 100: member of structure or union required tm->tm_hour, tm->tm_min, tm->tm_sec); -----------------------------^ /usr/lib/cmplrs/cc/cfe: Warning: get_tz.c, line 102: illegal combination of pointer and integer tm = gmtime(&tval); ---^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 103: member of structure or union required t2 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, ----------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 103: member of structure or union required t2 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, -----------------------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 103: member of structure or union required t2 = make_gmttime(tm->tm_year, tm->tm_mon, tm->tm_mday, -----------------------------------------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 104: member of structure or union required tm->tm_hour, tm->tm_min, tm->tm_sec); ----^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 104: member of structure or union required tm->tm_hour, tm->tm_min, tm->tm_sec); -----------------^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 104: member of structure or union required tm->tm_hour, tm->tm_min, tm->tm_sec); -----------------------------^ /usr/lib/cmplrs/cc/cfe: Warning: get_tz.c, line 138: illegal combination of pointer and integer tm = localtime(&t); ---^ /usr/lib/cmplrs/cc/cfe: Error: get_tz.c, line 189: 'TZNAME_HANDLING' undefined, reoccurrences will not be reported no_tzname_handling_defined(TZNAME_HANDLING); ---------------------------^ *** Exit 1 Stop. *** Exit 1 Stop.