X11 utility `makedepend' in nto

For some reason the x-stuff in nto does not include makedepend. So
I got it from the net, did the standard xmkmf, make, make install.
But it gets very strange error messages and dies:

sfb 567> makedepend -I. -I/usr/include/g+±3/ -I/usr/ntox86/include/ bed.cc
makedepend: warning: bed.cc: 23: #error Endian not defined
makedepend: warning: bed.cc: 53: #error not configured for CPU
makedepend: warning: bed.cc: 169: #error not configured for target
sfb 568> makedepend -I. -I/usr/include/g+±3/ -I/usr/ntox86/include/ board.cc
makedepend: warning: board.cc: 23: #error Endian not defined
makedepend: warning: board.cc: 53: #error not configured for CPU
makedepend: warning: board.cc: 169: #error not configured for target


obviously something is a miss. Any clue on what I forgot to do?


http://www.math.fsu.edu/~bellenot
bellenot math.fsu.edu
+1.850.644.7189 (4053fax)

In article <939ron$hf1$1@news.fsu.edu>,
Steve Bellenot <bellenot@math.fsu.edu> wrote:

For some reason the x-stuff in nto does not include makedepend. So
I got it from the net, did the standard xmkmf, make, make install.
But it gets very strange error messages and dies:

Maybe that’s why it wasn’t included :slight_smile:

Anyway, makedepend is complaining because the nto headers
assume the compiler will define endian, cpu, and target.
You need to define them, assuming rtp…

sfb 567> makedepend -I. -I/usr/include/g+±3/ -I/usr/ntox86/include/ bed.cc
makedepend: warning: bed.cc: 23: #error Endian not defined

-D__LITTLEENDIAN__

makedepend: warning: bed.cc: 53: #error not configured for CPU

-D__X86__

makedepend: warning: bed.cc: 169: #error not configured for target

-D__QNXNTO__

Change /usr/X11R6/lib/X11/config/nto.cf
~line 88
#define NTODefines -D__LITTLEENDIAN__ -D__X86__ -D__QNXNTO__

or pass them to make
DEPEND_DEFINES="-D__LITTLEENDIAN__ -D__X86__ -D__QNXNTO__" make depend


Garry Turcotte (R&D)
QNX Software Systems, Ltd.