From owner-freebsd-questions Tue Jun 9 01:01:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA21349 for freebsd-questions-outgoing; Tue, 9 Jun 1998 01:01:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ms11.hinet.net (root@ms11.hinet.net [168.95.4.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA21338 for ; Tue, 9 Jun 1998 01:01:16 -0700 (PDT) (envelope-from jwlo@ms11.hinet.net) Received: from ms11.hinet.net (h157.s153.ts.hinet.net [168.95.153.157]) by ms11.hinet.net (8.8.8/8.8.8) with ESMTP id QAA08363 for ; Tue, 9 Jun 1998 16:04:00 +0800 (CST) Message-ID: <357CEACC.19D5AC12@ms11.hinet.net> Date: Tue, 09 Jun 1998 15:57:01 +0800 From: Doug Lo X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: BLT2.3 compile error. Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, FreeBSDers, I got error messages while compiling blt2.3 on FreeBSD 2.2.6-RELEASE. The error messages as below: Jupiter# make making all in ./src gcc -c -O3 -fno-strength-reduce -Wwrite-strings -Wshadow -Wtraditional -fwritable-strings -Wall -I. -I. -I./.. -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include bltGrMarker.c bltGrMarker.c: In function `PrintImage': bltGrMarker.c:1767: warning: passing arg 1 of `Tk_FindPhoto' from incompatible pointer type bltGrMarker.c:1767: too few arguments to function `Tk_FindPhoto' *** Error code 1 Stop. *** Error code 1 Stop. Would anyone tell me how to fix this problem, thanks. Sincerely yours, Doug. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message