From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079271218729.tru64-unix-managers.marc@archive.invalid> From: Bill Ramsey Date: Fri, 21 Jan 2000 19:34:24 +0000 To: tru64-unix-managers Subject: Still having trouble compiling apache X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079271218729 I am compiling apache version 1.39 onto tru64 version 5.0 one suggestion was to use cc -std1 for compiling, It got farther, now the error messages look like this. Thank you for your help, Bill # make ===> src ===> src/regex <=== src/regex ===> src/os/unix <=== src/os/unix ===> src/ap <=== src/ap ===> src/main cc -std1 -c -I../os/unix -I../include -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite util.c cc: Warning: util.c, line 117: In this statement, "ctime(...)" of type "int", is being converted to "pointer to char". (cvtdiftypes) time_string = ctime(&t); ----^ cc: Warning: util.c, line 148: In this statement, "(gmt?gmtime(...):localtime(...))" of type "int", is being converted to "pointer to struct tm". (cvtdiftypes) tms = (gmt ? gmtime(&t) : localtime(&t)); ----^ cc: Warning: util.c, line 193: In this statement, "gmtime(...)" of type "int", is being converted to "pointer to struct tm". (cvtdiftypes) tms = gmtime(&sec); ----^ cc: Warning: util.c, line 197: In this statement, "tms" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) "%s, %.2d %s %d %.2d:%.2d:%.2d GMT", ap_day_snames[tms->tm_wday], -------------------------------------------------------------------^ cc: Error: util.c, line 197: In this statement, "tm_wday" is not a member of "tms". (needmember) "%s, %.2d %s %d %.2d:%.2d:%.2d GMT", ap_day_snames[tms->tm_wday], -------------------------------------------------------------------^ cc: Warning: util.c, line 198: In this statement, "tms" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) tms->tm_mday, ap_month_snames[tms->tm_mon], tms->tm_year + 1900, ----------------^ cc: Error: util.c, line 198: In this statement, "tm_mday" is not a member of "tms". (needmember) tms->tm_mday, ap_month_snames[tms->tm_mon], tms->tm_year + 1900, ----------------^ cc: Warning: util.c, line 198: In this statement, "tms" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) tms->tm_mday, ap_month_snames[tms->tm_mon], tms->tm_year + 1900, ----------------------------------------------^ cc: Error: util.c, line 198: In this statement, "tm_mon" is not a member of "tms". (needmember) tms->tm_mday, ap_month_snames[tms->tm_mon], tms->tm_year + 1900, ----------------------------------------------^ cc: Warning: util.c, line 198: In this statement, "tms" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) tms->tm_mday, ap_month_snames[tms->tm_mon], tms->tm_year + 1900, ------------------------------------------------------------^ cc: Error: util.c, line 198: In this statement, "tm_year" is not a member of "tms". (needmember) tms->tm_mday, ap_month_snames[tms->tm_mon], tms->tm_year + 1900, ------------------------------------------------------------^ cc: Warning: util.c, line 199: In this statement, "tms" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) tms->tm_hour, tms->tm_min, tms->tm_sec); ----------------^ cc: Error: util.c, line 199: In this statement, "tm_hour" is not a member of "tms". (needmember) tms->tm_hour, tms->tm_min, tms->tm_sec); ----------------^ cc: Warning: util.c, line 199: In this statement, "tms" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) tms->tm_hour, tms->tm_min, tms->tm_sec); ------------------------------^ cc: Error: util.c, line 199: In this statement, "tm_min" is not a member of "tms". (needmember) tms->tm_hour, tms->tm_min, tms->tm_sec); ------------------------------^ cc: Warning: util.c, line 199: In this statement, "tms" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) tms->tm_hour, tms->tm_min, tms->tm_sec); -------------------------------------------^ cc: Error: util.c, line 199: In this statement, "tm_sec" is not a member of "tms". (needmember) tms->tm_hour, tms->tm_min, tms->tm_sec); -------------------------------------------^ cc: Warning: util.c, line 209: In this statement, "localtime(...)" of type "int", is being converted to "pointer to struct tm". (cvtdiftypes) t = localtime(&tt); ----^ cc: Warning: util.c, line 210: In this statement, "t" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) *tz = (int) (t->tm_gmtoff / 60); -----------------^ cc: Error: util.c, line 210: In this statement, "tm_gmtoff" is not a member of "t". (needmember) *tz = (int) (t->tm_gmtoff / 60); -----------------^ *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop.