From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 00:22:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E652816A4CE for ; Wed, 20 Oct 2004 00:22:50 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9917043D2F for ; Wed, 20 Oct 2004 00:22:48 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b153.otenet.gr [212.205.244.161]) i9K0MjxP021673; Wed, 20 Oct 2004 03:22:45 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i9K0Mg4m002275; Wed, 20 Oct 2004 03:22:43 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i9K0Mg5i002274; Wed, 20 Oct 2004 03:22:42 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 20 Oct 2004 03:22:42 +0300 From: Giorgos Keramidas To: Mike Jeays Message-ID: <20041020002242.GA1306@gothmog.gr> References: <1098141941.1086.19.camel@chaucer> <20041018233914.GA89931@gothmog.gr> <1098185164.1086.544.camel@chaucer> <20041019123151.GA842@orion.daedalusnetworks.priv> <1098227715.1086.551.camel@chaucer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1098227715.1086.551.camel@chaucer> cc: freebsd-questions@freebsd.org Subject: Re: Xmkmf/make problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 00:22:51 -0000 On 2004-10-19 19:15, Mike Jeays wrote: > On Tue, 2004-10-19 at 08:31, Giorgos Keramidas wrote: > > On 2004-10-19 07:26, Mike Jeays wrote: > > > [...] I don't have any clue why this long-standing program, which > > > was developed on Solaris and ported to Linux and FreeBSD, has suddenly > > > started to give me problems. The Imakefile is as follows, and gives no > > > clue about what might be missing. > > > > > > SYS_LIBRARIES= -lXmu -lXaw -lXt -lX11 -lm -lXi > > > SRCS = lst.c > > > OBJS = lst.o > > > > > > ComplexProgramTarget (lst) > > > > Can I see a minimal program that exhibits the problem? By only looking > > at the included headers I can't know what's wrong with the source. > > You can see the source of one of these programs at > http://members.rogers.com/mike.jeays/lst.c Without actually reading the entire source, I tried building this with an Imakefile that contains exactly the text you sent in your previous post. It builds fine here, even if I set my CFLAGS to a set of relatively strict warnings before invoking xmkmf and/or make: CFLAGS='-O -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual \ -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs \ -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes \ -Wwrite-strings' Are you getting compile-time errors? If yes, what are they? Does your environment contain any CFLAGS or CC variables? > I very much appreciate your offer of help - thanks. n/p, you're welcome :-) - Giorgos