Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation help needed



Hi,

I've been building crossedit-0.7 on our platform in Cardiff, but I've hit a
problem.  First let me tell you about the platform in question:

Platform:	SunSPARCstation 1, 1+ and 2's
OS:		SunOS 4.1.3, Openwindows 3.0, X11R4
Compiler:	gcc -ansi

this is the point where compilation fails:

making all in ./crossedit/Cnv...
gcc -ansi -Wall -O   -I/usr/include  -I. -I../include   -DFONTDIR=\"/well/lot/Games/X/crossedit-0.7/fonts\" -DFONTNAME=\"crossfire\"   -DLIBDIR=\"/well/lot/Games/X/crossedit-0.7/lib\"    -target sun4 -c  test.c
In file included from Cnv.h:25, from test.c:1:
../include/Xaw.h:40: X11/Xaw/Panner.h: No such file or directory
../include/Xaw.h:41: X11/Xaw/Repeater.h: No such file or directory
In file included from Cnv.h:25, from test.c:1:
../include/Xaw.h:62: X11/Xaw/Porthole.h: No such file or directory
../include/Xaw.h:63: X11/Xaw/Tree.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `test.o'
Current working directory /tmp_mnt/nfs/well/lot/Games/X/crossedit-0.7/crossedit/Cnv
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp_mnt/nfs/well/lot/Games/X/crossedit-0.7/crossedit
*** Error code 1
make: Fatal error: Command failed for target `all'


This puzzles me because it looks like it is complaining that we are lacking a
certain library, but we didn't have this problem when we successfully built
crossfire-0.89.2  about a month ago.  We use xview here, not motif (although
we will be swapping to motif in the near future), so I'm a little uncertain
why it is complaining about some and not all of the athena widget headers
being missing.  Here is the code causing the problems from Xaw.h:

/*** Simple Widgets ***/
#include <X11/Xaw/Command.h>
#include <X11/Xaw/Grip.h>
#include <X11/Xaw/Label.h>
#include <X11/Xaw/List.h>
#include <X11/Xaw/Panner.h>
#include <X11/Xaw/Repeater.h>
#include <X11/Xaw/Scrollbar.h>
#include <X11/Xaw/StripChart.h>
#include <X11/Xaw/Toggle.h>

Why is it complaining about Panner.h, Repeater.h etc being missing, but
not the others?

If anyone can shed some light as to what has gone wrong I'd be very grateful!
If there is someway to tell it to use xview for now and leave Xaw out of
it, I think that would help.

Cheers,

Simon

Simon N. McIntosh-Smith, PhD candidate    |  Email : Simon.N.Smith@cm.cf.ac.uk
Room M/1.36 Department of Computing Maths |  Phone : +44 (0)222 874000
University of Wales, College of Cardiff   |  Fax   : +44 (0)222 666182
PO Box 916, Cardiff, Wales, CF2 4YN, U.K. |  Home  : +44 (0)222 560522