Date: Mon, 28 May 2001 23:38:33 +0800 (CST) From: rafan@ck.tp.edu.tw To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27710: joe build fails Message-ID: <200105281538.f4SFcX900672@camel1.ck.tp.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 27710 >Category: ports >Synopsis: joe build fails >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 28 08:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Jung-an Fan >Release: FreeBSD 4.3-STABLE i386 >Organization: Taipei Chien-kuo Senior High School >Environment: System: FreeBSD camel1.ck.tp.edu.tw 4.3-STABLE FreeBSD 4.3-STABLE #4: Mon May 28 22:58:10 CST 2001 root@camel1.ck.tp.edu.tw:/usr/obj/usr/src/sys/camel i386 >Description: ===> Building for joe-2.8_3 cc conf.c -o conf ./conf /usr/local/lib 0 cc -O -pipe -c b.c In file included from b.c:28: config.h:57: conflicting types for `time' /usr/include/time.h:132: previous declaration of `time' b.c: In function `ttsig': b.c:2037: warning: passing arg 1 of `ctime' from incompatible pointer type *** Error code 1 >How-To-Repeat: cd /usr/ports/editors/joe make >Fix: src/sys/i386/include/ansi.h was changed at 2001.05.18 UTC MFC: Spell _BSD_TIME_T_ consistently as `int'. This will cause an error in ports/editors/joe/work/joe/conf.c (line 207,208) if(sizeof(long)==8) fprintf(f,"int time();\n"); else fprintf(f,"long time();\n"); We can manually edit ports/editors/joe/work/joe/config.h long time(); -> int time(); Thanks zmx.bbs@abpe.org for providing this solution :) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105281538.f4SFcX900672>