Xmkmf/make problem

Mike Jeays Mike.Jeays at rogers.com
Sat Nov 13 13:49:53 GMT 2004


On Tue, 2004-10-19 at 20:22, Giorgos Keramidas wrote:
> On 2004-10-19 19:15, Mike Jeays <Mike.Jeays at rogers.com> wrote:
> > On Tue, 2004-10-19 at 08:31, Giorgos Keramidas wrote:
> > > On 2004-10-19 07:26, Mike Jeays <Mike.Jeays at rogers.com> 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
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

Sorry for the long delay in replying.  Since October 19th, I installed
5.3 on another machine, and tried again.  I get exactly the same error
from "make".  It responds immediately with 
"make: don't know how to make /usr/include/machine/ansi.h. Stop"




More information about the freebsd-questions mailing list