nanogui: Trouble building Microwindows for MIPS target


Previous by date: 14 Feb 2001 21:21:17 -0000 Re: The minimum size of application?, Greg Haerr
Next by date: 14 Feb 2001 21:21:17 -0000 Re: Trouble building Microwindows for MIPS target, Jun Sun
Previous in thread: 14 Feb 2001 21:21:17 -0000 Re: Trouble building Microwindows for MIPS target, Jun Sun
Next in thread: 14 Feb 2001 21:21:17 -0000 Re: Trouble building Microwindows for MIPS target, Jun Sun

Subject: Re: Trouble building Microwindows for MIPS target
From: Scott A McConnell ####@####.####
Date: 14 Feb 2001 21:21:17 -0000
Message-Id: <3A8B1449.47F3975B@cotw.com>

Jun Sun wrote:

> Your missing fb header problem is due to improper installation of toolchain.
> I would remove the existing stuff and re-install them.

I used  "rmhhl.sh hhl" to remove the existing tool chain and kernel

Then I used:
$cd /mnt/cdrom/install/ddb5476
$rpm -ihv *.noarch.rpm *.i386.rpm

 echo $PATH
/usr/kerberos/bin:/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/opt/hardhat/devkit/mips/fp_le/bin:

/opt/hardhat/host/bin

Arch.rules:

ifeq ($(ARCH), LINUX-MIPS)
COMPILER = gcc
CXX_COMPILER = g++
TOOLSPREFIX = $(MIPSTOOLSPREFIX)
DEFINES += -DLINUX=1 -DUNIX=1
CFLAGS  +=  -s -Wall $(OPTFLAGS)
LDFLAGS += -lm
#INCLUDEDIRS += -I/opt/hardhat/devkit/lsp/ddb5476/linux-2.4.0-test5/include
endif

Result:  make -p 2>&1 | tee Makefile.output.txt
....
# make[1]: Entering directory `/opt/microwin/src/drivers'
Updating dependencies in /opt/microwin/src/drivers ...
/bin/sh -ec 'gcc -MM   -DMWPIXEL_FORMAT=MWPF_TRUECOLOR565 -DHAVE_FILEIO
-DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1
-DLINUX=1 -DUNIX=1 -O  -I. -I/opt/microwin/src/include -s -Wall -O3 fblin8.c
fblin16.c fblin24.c fblin32.c genmem.c fb.c fblin1.c fblin2.c genfont.c scr_fb.c
fblin4.c mou_null.c kbd_null.c \
| sed '\''s/\(\)\.o[ :]*/\1.o \.depend : $(TOP)\/config /g'\'' > .depend; \
[ -s .depend ] || rm -f .depend'
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from scr_fb.c:13:
/usr/include/bits/local_lim.h:27: warning: No include path in which to find
linux/limits.h
scr_fb.c:14: warning: No include path in which to find linux/fb.h
scr_fb.c:15: warning: No include path in which to find linux/kd.h
scr_fb.c:16: warning: No include path in which to find linux/vt.h
In file included from /usr/include/sys/ioctl.h:27,
                 from scr_fb.c:24:
/usr/include/bits/ioctls.h:24: warning: No include path in which to find
asm/ioctls.h
In file included from /usr/include/sys/ioctl.h:30,
                 from scr_fb.c:24:
/usr/include/bits/ioctl-types.h:25: warning: No include path in which to find
asm/ioctls.h

......more like the above .....

> > I am also getting errors like:
> You need to modify Arch.rules in mwin.  Remove the soft-float compile option.

I should have seen that, thank you.

I was able to get most of the demo's to compile.  I have executed most of them on
my target
nano-X, nanowm, nx*.

I still would like to understand why I am getting the above warnings.


Thanks,

Scott


Previous by date: 14 Feb 2001 21:21:17 -0000 Re: The minimum size of application?, Greg Haerr
Next by date: 14 Feb 2001 21:21:17 -0000 Re: Trouble building Microwindows for MIPS target, Jun Sun
Previous in thread: 14 Feb 2001 21:21:17 -0000 Re: Trouble building Microwindows for MIPS target, Jun Sun
Next in thread: 14 Feb 2001 21:21:17 -0000 Re: Trouble building Microwindows for MIPS target, Jun Sun


Powered by ezmlm-browse 0.20.