nanogui: Error during compilation for sh4 target file system


Previous by date: 11 May 2007 03:37:26 +0100 Re: nano-X: GsError (GrNewPixmap) Out of server memory, Greg Haerr
Next by date: 11 May 2007 03:37:26 +0100 Re: freetype 2.2.1, Greg Haerr
Previous in thread: 11 May 2007 03:37:26 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr
Next in thread: 11 May 2007 03:37:26 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr

Subject: Re: [nanogui] Error during compilation for sh4 target file system
From: Hou Xiang ZHU ####@####.####
Date: 11 May 2007 03:37:26 +0100
Message-Id: <4643D654.7060400@st.com>

Greg:
Thank you!

Now after I compiled freetype-1.3.1 for SH4 and generated libttf.so,etc,
I proceed to compile, but the following error occured:
---------------
........
Compiling nanox/srvmain.c ...
Compiling nanox/srvfunc.c ...
Compiling nanox/srvutil.c ...
Compiling nanox/srvevent.c ...
Compiling nanox/srvclip.c ...
Compiling nanox/srvnet.c ...
Linking nano-X ...
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/vgaplan4.o:
In function `ega_drawvertline':
vgaplan4.c:(.text+0x1b4): undefined reference to `outw'
vgaplan4.c:(.text+0x1b8): undefined reference to `outw'
vgaplan4.c:(.text+0x1c0): undefined reference to `outw'
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/vgaplan4.o:
In function `ega_readpixel':
vgaplan4.c:(.text+0x368): undefined reference to `outw'
vgaplan4.c:(.text+0x370): undefined reference to `outw'
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/vgaplan4.o:vgaplan4.c:(.text+0x374):
more undefined references to `outw' follow
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/vgaplan4.o:
In function `ega_drawhorzline':
vgaplan4.c:(.text+0x71c): undefined reference to `outb'
vgaplan4.c:(.text+0x720): undefined reference to `outb'
vgaplan4.c:(.text+0x724): undefined reference to `outb'
vgaplan4.c:(.text+0x72c): undefined reference to `outb'
vgaplan4.c:(.text+0x730): undefined reference to `outw'
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/vgaplan4.o:
In function `fbvga_setiopermissions':
vgaplan4.c:(.text+0x84c): undefined reference to `ioperm'
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/vgaplan4.o:
In function `ega_init':
vgaplan4.c:(.text+0x8e8): undefined reference to `ioperm'
vgaplan4.c:(.text+0x8f4): undefined reference to `outw'
vgaplan4.c:(.text+0x8f8): undefined reference to `outw'
vgaplan4.c:(.text+0x8fc): undefined reference to `outw'
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/memplan4.o:
In function `ega_blit':
memplan4.c:(.text+0xc4c): undefined reference to `outw'
memplan4.c:(.text+0xd60): undefined reference to `outw'
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/memplan4.o:memplan4.c:(.text+0xd68):
more undefined references to `outw' follow
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/memplan4.o:
In function `ega_blit':
memplan4.c:(.text+0xf28): undefined reference to `outb'
memplan4.c:(.text+0xf2c): undefined reference to `outb'
memplan4.c:(.text+0xf7c): undefined reference to `outw'
memplan4.c:(.text+0x1100): undefined reference to `outw'
memplan4.c:(.text+0x1108): undefined reference to `outw'
memplan4.c:(.text+0x110c): undefined reference to `outw'
memplan4.c:(.text+0x1110): undefined reference to `outw'
/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/memplan4.o:memplan4.c:(.text+0x1530):
more undefined references to `outw' follow
collect2: ld returned 1 exit status
make[1]: ***
[/home/zhuhx/microwindows/microwindows-0.91_sh4/src/bin/nano-X] Error 1
make: ***
[subdir-/home/zhuhx/microwindows/microwindows-0.91_sh4/src/nanox] Error 2
[zhuhx@zhu_fedora src]$
---------------

For our STB box, we have fb modules, as well as Blit/GFX modules etc.
which can draw line/rectangle etc, and can access graphics hardware
directly. I have vague idea about nano-x screen drivers, etc. I guess I
need replace some of nano-x's drivers with our own drivers. Is that correct?

please give some hint on this in order for nano-x run on our STB.

Thanks,
Houxiang


Previous by date: 11 May 2007 03:37:26 +0100 Re: nano-X: GsError (GrNewPixmap) Out of server memory, Greg Haerr
Next by date: 11 May 2007 03:37:26 +0100 Re: freetype 2.2.1, Greg Haerr
Previous in thread: 11 May 2007 03:37:26 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr
Next in thread: 11 May 2007 03:37:26 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr


Powered by ezmlm-browse 0.20.