nanogui: Thread: Compile microwindows for arm


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Compile microwindows for arm
From: "Ajay Jain" ####@####.####
Date: 3 Apr 2006 14:08:35 +0100
Message-Id: <000201c6571f$b60b89d0$561fa8c0@pcajain>

Hi, 

I want to compile microwindows for linux on arm, using gcc 3.4.1. I looked
at the website, and I got to know that the target is well supported. However
I am unable to cross-compile it. The compilation breaks off giving errors.
Can we cross-compile the current version of microwindows?

Thanks,
Ajay

Subject: Re: [nanogui] Compile microwindows for arm
From: Steven Scholz ####@####.####
Date: 3 Apr 2006 16:32:54 +0100
Message-Id: <4431401D.7080309@imc-berlin.de>

Ajay,

> I want to compile microwindows for linux on arm, using gcc 3.4.1. I looked
> at the website, and I got to know that the target is well supported. However
> I am unable to cross-compile it. The compilation breaks off giving errors.

It would have been a great help if you told us which errors you've got.
But for now we can't help you.

--
Steven
Subject: Re: [nanogui] Compile microwindows for arm
From: tj ####@####.####
Date: 3 Apr 2006 21:27:18 +0100
Message-Id: <4431852D.2090605@comcast.net>

I have it running on arm built on an x86 system.

The BIG thing is to make sure your paths for includes and libs is set up 
correctly and all your support libs, libjpeg, etc, are built for arm.

For the crosstools I use here is my .bash_profile for the arm cross 
tools I am using.

export CROSSTOOLS=/usr/local/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.3
export PATH=:$CROSSTOOLS/bin:$CROSSTOOLS/arm-linux/bin:$PATH:
export CFLAGS=
export LDFLAGS="-L$CROSSTOOLS/arm-linux/lib -L$CROSS/arm-linux/X11R6/lib 
-rdynam

The LDFLAGS is also for using in Makefiles for building arm binaries. 

In nano-X config:
ARCH                     = LINUX-ARM
ARMTOOLSPREFIX           = arm-linux-

The bins for arm linux begin with arm-linux-, example arm-linux-gcc.

Really don't have time to go any deeper, but you should get the gist of 
it from this.

tj


Ajay Jain wrote:

>Hi, 
>
>I want to compile microwindows for linux on arm, using gcc 3.4.1. I looked
>at the website, and I got to know that the target is well supported. However
>I am unable to cross-compile it. The compilation breaks off giving errors.
>Can we cross-compile the current version of microwindows?
>
>Thanks,
>Ajay
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>  
>

Subject: Re: [nanogui] Compile microwindows for arm
From: James Steward ####@####.####
Date: 3 Apr 2006 22:57:18 +0100
Message-Id: <1144101430.4176.2.camel@JS2-LINUX>

On Mon, 2006-04-03 at 18:38 +0530, Ajay Jain wrote:
> Hi, 
> 
> I want to compile microwindows for linux on arm, using gcc 3.4.1. I looked
> at the website, and I got to know that the target is well supported. However
> I am unable to cross-compile it. The compilation breaks off giving errors.
> Can we cross-compile the current version of microwindows?

Yes we can.  I have.  As suggested, please email the end of the make
output where it dies - with sufficient pre death detail that someone
might see what's missing.

It's likely a missing library or path not set correctly in your config.

Regards,
James.

Subject: Re: [nanogui] Compile microwindows for arm
From: Thomas Nemeth ####@####.####
Date: 11 Apr 2006 14:26:36 +0100
Message-Id: <200604111526.27357.thomas.nemeth@betatech.fr>

   Hi James.

   I've got the same problem as Ajay Jain, either with 
gcc-3.4.1/glibc2.3.2 or with gcc-3.4.3/uClibc-0.9.27, so here is the 
(long) output (I'm using a minimalistic configuration just to see if I 
can get it compiled):

[thomas@dev07 src]$ make
Compiling drivers/obsolete.c ...
Creating library libmwdrivers.a ...
ar: 
creating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/libmwdrivers.a
Building convbmp tool ...
Building makebmp tool ...
Converting mwin/bmp/car8.bmp ...
Compiling mwin/bmp/car8.c ...
Converting mwin/bmp/min4.bmp ...
Compiling mwin/bmp/min4.c ...
Converting mwin/bmp/max4.bmp ...
Compiling mwin/bmp/max4.c ...
Converting mwin/bmp/close4.bmp ...
Compiling mwin/bmp/close4.c ...
Converting mwin/bmp/under4.bmp ...
Compiling mwin/bmp/under4.c ...
Converting mwin/bmp/zion208.bmp ...
Compiling mwin/bmp/zion208.c ...
Converting mwin/bmp/cs1.bmp ...
Compiling mwin/bmp/cs1.c ...
Converting mwin/bmp/rle8.bmp ...
Compiling mwin/bmp/rle8.c ...
Converting mwin/bmp/microwin.bmp ...
Compiling mwin/bmp/microwin.c ...
Converting mwin/bmp/penguin.bmp ...
Compiling mwin/bmp/penguin.c ...
Creating library libmwimages.a ...
ar: 
creating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/libmwimages.a
Creating shared library libmwimages.so ...
make[2]: Dépendance 
circulaire /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/ 
<- /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/ 
abandonnée.
Compiling mwin/winlib/obsolete.c ...
Creating library libmwinlib.a ...
ar: 
creating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/libmwinlib.a
Creating shared library libmwinlib.so ...
Compiling engine/devopen.c ...
Compiling engine/devdraw.c ...
Compiling engine/devfont.c ...
Compiling engine/devmouse.c ...
Compiling engine/devkbd.c ...
Compiling engine/devclip.c ...
Compiling engine/devrgn.c ...
Compiling engine/devpal1.c ...
Compiling engine/devpal2.c ...
Compiling engine/devimage.c ...
Compiling engine/devimage_stretch.c ...
Compiling engine/image_bmp.c ...
Compiling engine/image_gif.c ...
Compiling engine/image_jpeg.c ...
Compiling engine/image_png.c ...
Compiling engine/image_pnm.c ...
Compiling engine/image_tiff.c ...
Compiling engine/image_xpm.c ...
Compiling engine/devlist.c ...
Compiling engine/selfont.c ...
Compiling engine/error.c ...
Compiling engine/devrgn2.c ...
Compiling engine/devarc.c ...
Compiling engine/devpoly.c ...
Compiling engine/devstipple.c ...
Compiling engine/font_dbcs.c ...
Compiling engine/font_fnt.c ...
Compiling engine/font_pcf.c ...
Compiling engine/devtimer.c ...
Compiling engine/devpal8.c ...
Compiling engine/devpal4.c ...
Compiling fonts/rom8x16.c ...
Compiling fonts/rom8x8.c ...
Compiling fonts/winFreeSansSerif11x13.c ...
Compiling fonts/winFreeSystem14x16.c ...
Building convbdf tool ...
Converting fonts/X6x13.bdf ...
Generating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/fonts/X6x13.c
Compiling fonts/X6x13.c ...
Compiling drivers/fblin8.c ...
Compiling drivers/fblin16.c ...
Compiling drivers/fblin24.c ...
Compiling drivers/fblin32.c ...
Compiling drivers/fblin32alpha.c ...
Compiling drivers/genmem.c ...
Compiling drivers/fb.c ...
Compiling drivers/fblin1.c ...
Compiling drivers/fblin2.c ...
Compiling drivers/vgaplan4.c ...
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c: 
In function `ega_readpixel':
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c:128: 
warning: assignment makes integer from pointer without a cast
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c: 
In function `ega_drawhorzline':
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c:164: 
warning: assignment makes integer from pointer without a cast
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c:177: 
warning: assignment makes integer from pointer without a cast
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c: 
In function `ega_drawvertline':
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c:217: 
warning: assignment makes integer from pointer without a cast
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/vgaplan4.c:218: 
warning: assignment makes integer from pointer without a cast
Compiling drivers/memplan4.c ...
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/memplan4.c: 
In function `vga_to_vga_blit':
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/memplan4.c:206: 
warning: assignment makes integer from pointer without a cast
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/memplan4.c:207: 
warning: assignment makes integer from pointer without a cast
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/memplan4.c: 
In function `mempl4_to_vga_blit':
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/memplan4.c:268: 
warning: assignment makes integer from pointer without a cast
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/memplan4.c: 
In function `vga_to_mempl4_blit':
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/drivers/memplan4.c:320: 
warning: assignment makes integer from pointer without a cast
Compiling drivers/genfont.c ...
Compiling drivers/scr_fb.c ...
Compiling drivers/fbportrait_left.c ...
Compiling drivers/fbportrait_right.c ...
Compiling drivers/fbportrait_down.c ...
Compiling drivers/fblin4.c ...
Compiling drivers/mou_ser.c ...
Compiling drivers/kbd_ttyscan.c ...
Compiling mwin/winmain.c ...
Compiling mwin/winuser.c ...
Compiling mwin/wingdi.c ...
Compiling mwin/winexpos.c ...
Compiling mwin/winclip.c ...
Compiling mwin/winevent.c ...
Compiling mwin/windefw.c ...
Compiling mwin/winrgn.c ...
Compiling mwin/winfont.c ...
Compiling mwin/winsbar.c ...
Compiling mwin/winlib/draw3d.c ...
Compiling mwin/winlib/ptinsid.c ...
Compiling mwin/winlib/insetr.c ...
Compiling mwin/winlib/fastfill.c ...
Compiling mwin/winlib/graph3d.c ...
Compiling mwin/winlib/mwuser.c ...
Compiling mwin/winlib/button.c ...
Compiling mwin/winlib/edit.c ...
Compiling mwin/winlib/listbox.c ...
Compiling mwin/winlib/progbar.c ...
Compiling mwin/winlib/static.c ...
Compiling mwin/winlib/combobox.c ...
Compiling mwin/winlib/caret.c ...
Compiling mwin/winlib/scrlbar.c ...
Compiling mwin/winlib/medit.c ...
Creating library libmwin.a ...
ar: 
creating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/libmwin.a
Creating shared library libmwin.so ...
Compiling engine/obsolete.c ...
Creating library libmwengine.a ...
ar: 
creating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/libmwengine.a
Compiling fonts/obsolete.c ...
Creating library libmwfonts.a ...
ar: 
creating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/libmwfonts.a
Compiling nanox/nxdraw.c ...
Compiling nanox/nxutil.c ...
Compiling nanox/nxtransform.c ...
Compiling nanox/client.c ...
Compiling nanox/nxproto.c ...
Compiling nanox/error.c ...
Compiling nanox/clientfb.c ...
Creating library libnano-X.a ...
ar: 
creating /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/lib/libnano-X.a
Creating shared library libnano-X.so ...
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/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/engine/devfont.o(.text+0x143): 
In function `GdCreateFont':
: undefined reference to `strcmpi'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x2b): 
In function `ega_init':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x3a): 
In function `ega_init':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x49): 
In function `ega_init':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x114): 
In function `ega_drawpixel':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x12c): 
In function `ega_drawpixel':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x152): 
more undefined references to `outw' follow
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x16c): 
In function `ega_drawpixel':
: undefined reference to `RMW_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x218): 
In function `ega_readpixel':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x220): 
In function `ega_readpixel':
: undefined reference to `GETBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x364): 
In function `ega_drawhorzline':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x38c): 
In function `ega_drawhorzline':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x3e9): 
In function `ega_drawhorzline':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x40e): 
In function `ega_drawhorzline':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x417): 
In function `ega_drawhorzline':
: undefined reference to `RMW_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x429): 
In function `ega_drawhorzline':
: undefined reference to `outb'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x44e): 
In function `ega_drawhorzline':
: undefined reference to `PUTBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x472): 
In function `ega_drawhorzline':
: undefined reference to `outb'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x47a): 
In function `ega_drawhorzline':
: undefined reference to `RMW_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x48e): 
In function `ega_drawhorzline':
: undefined reference to `outb'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x4b7): 
In function `ega_drawhorzline':
: undefined reference to `outb'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x4d4): 
In function `ega_drawhorzline':
: undefined reference to `RMW_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x609): 
In function `ega_drawvertline':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x621): 
In function `ega_drawvertline':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x646): 
In function `ega_drawvertline':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/vgaplan4.o(.text+0x677): 
In function `ega_drawvertline':
: undefined reference to `RMW_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xa7b): 
In function `vga_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xb13): 
In function `vga_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xb2e): 
In function `vga_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xb5a): 
In function `vga_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xb65): 
In function `vga_to_vga_blit':
: undefined reference to `GETBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xb9d): 
In function `vga_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xba6): 
In function `vga_to_vga_blit':
: undefined reference to `GETBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xbba): 
In function `vga_to_vga_blit':
: undefined reference to `PUTBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xbcc): 
In function `vga_to_vga_blit':
: undefined reference to `outb'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xbe6): 
In function `vga_to_vga_blit':
: undefined reference to `GETBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xbfa): 
In function `vga_to_vga_blit':
: undefined reference to `PUTBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xc13): 
In function `vga_to_vga_blit':
: undefined reference to `outb'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xc1b): 
In function `vga_to_vga_blit':
: undefined reference to `GETBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xc2c): 
In function `vga_to_vga_blit':
: undefined reference to `PUTBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xc69): 
In function `vga_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xc7b): 
In function `vga_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xeab): 
In function `mempl4_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xf34): 
In function `mempl4_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xf5c): 
In function `mempl4_to_vga_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0xf67): 
In function `mempl4_to_vga_blit':
: undefined reference to `RMW_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0x1257): 
In function `vga_to_mempl4_blit':
: undefined reference to `outw'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/drivers/memplan4.o(.text+0x1262): 
In function `vga_to_mempl4_blit':
: undefined reference to `GETBYTE_FP'
/home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/nanox/srvmain.o(.text+0x347): 
In function `main':
: undefined reference to `GsSelect'
collect2: ld returned 1 exit status



-- 
Thomas Nemeth - Ingénieur d'Études en Informatique Industrielle
                Industrial Computing Software Designer
BETAtech - 15, rue Apollo, Z.A. de Montredon, 31240, L'Union.
05 34 30 40 00  /  05 34 30 40 09
Subject: Re: [nanogui] Compile microwindows for arm
From: Thomas Nemeth ####@####.####
Date: 11 Apr 2006 15:58:54 +0100
Message-Id: <200604111658.42844.thomas.nemeth@betatech.fr>

Le mardi 11 Avril 2006 15:26, Thomas Nemeth a écrit :
>    Hi James.
>
>    I've got the same problem as Ajay Jain, either with
> gcc-3.4.1/glibc2.3.2 or with gcc-3.4.3/uClibc-0.9.27, so here is the
> (long) output (I'm using a minimalistic configuration just to see if
> I can get it compiled):

    Ooops. That was a typo in the configuration file !


-- 
Thomas Nemeth - Ingénieur d'Études en Informatique Industrielle
                Industrial Computing Software Designer
BETAtech - 15, rue Apollo, Z.A. de Montredon, 31240, L'Union.
05 34 30 40 00  /  05 34 30 40 09
Subject: Re: [nanogui] Compile microwindows for arm
From: James Steward ####@####.####
Date: 12 Apr 2006 00:41:22 +0100
Message-Id: <1144798854.4760.8.camel@JS2-LINUX>

On Tue, 2006-04-11 at 15:26 +0200, Thomas Nemeth wrote:
>    Hi James.
> 
>    I've got the same problem as Ajay Jain, either with 
> gcc-3.4.1/glibc2.3.2 or with gcc-3.4.3/uClibc-0.9.27, so here is the 
> (long) output (I'm using a minimalistic configuration just to see if I 
> can get it compiled):
[snip]
> Linking nano-X ...
> /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows-0.91/src/obj/engine/devfont.o(.text+0x143): 
> In function `GdCreateFont':
> : undefined reference to `strcmpi'
[snip]

Have you got 
ARCH                     = LINUX-ARM
in your config file?

If so, then from Arch.Rules you should get
DEFINES += -DLINUX=1 -DUNIX=1
included on line 48

Then in engine/devfont.h (included from engine/devfont.c) you should get
#define strcmpi strcasecmp
on line 20.

As strcmpi doesn't seem to exist, but strcasecmp should, it would
suggest that your config is NQR.

Who knows, fix this one error and all the others may vanish...

Regards,
James.


Subject: Re: [nanogui] Compile microwindows for arm
From: Thomas Nemeth ####@####.####
Date: 12 Apr 2006 08:26:34 +0100
Message-Id: <200604120926.30161.thomas.nemeth@betatech.fr>

Le mercredi 12 Avril 2006 01:40, vous avez écrit :
> On Tue, 2006-04-11 at 15:26 +0200, Thomas Nemeth wrote:
> >    Hi James.
[...]
> > Linking nano-X ...
> > /home/thomas/devel/embedded-arm/targets/betatech/build/microwindows
> >-0.91/src/obj/engine/devfont.o(.text+0x143):
> >
> > In function `GdCreateFont':
> > : undefined reference to `strcmpi'
>
> [snip]
>
> Have you got
> ARCH                     = LINUX-ARM
> in your config file?

    No :)
    I had LINUX-ARL !


> Who knows, fix this one error and all the others may vanish...

    Yes, almost : I could compile yesterday with a minimalistic
    configuration after I saw my mistype, but adding libjpeg, libpng
    and zlib is not that easy.

    Oh, and I had to modify config and Makefile.rules so that I could
    add INCZ to be used just like INCPNG but with the zlib src
    directory.


    Best regards,

T.
-- 
Thomas Nemeth - Ingénieur d'Études en Informatique Industrielle
                Industrial Computing Software Designer
BETAtech - 15, rue Apollo, Z.A. de Montredon, 31240, L'Union.
05 34 30 40 00  /  05 34 30 40 09
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.