ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Nano-X with PNG support, with HAVE_PNG_SUPPORT = Y winmain.c


From: Stuart Hughes
Subject: Re: [Ltib] Nano-X with PNG support, with HAVE_PNG_SUPPORT = Y winmain.c doesn't compile
Date: Tue, 17 Apr 2007 11:37:48 +0100

Hi Claudia,

You'll need to go in and fix the package if you want to change that
option.  If you look at your output, you'll see: -I/usr/include 
which will clearly break under cross compilation.  I had a look and this
comes from INCFT2LIB in Rules.make and src/config.

This is not really an ltib question as much as a general package porting
question.  You may find it easier to see if there's a later version of
microwindows that is more cross compiler aware.  If you can't then there
is no option but to go in and do the necessary porting work.

Regards, Stuart


On Tue, 2007-04-17 at 11:56 +0200, Claudia De Bartolomeis wrote:
> Hi,
> my name's Claudia.
> My problem is I want to use Nano-X with PNG support,
> (packadge microwindows-0.90)
> but setting in src/config
> 
> HAVE_PNG_SUPPORT = Y
> 
> microwindos copmpilation results in the following error:
> 
> ......
> 
> Compiling winmain.c ...
> gcc -c -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO
> -DHAVE_PNG_SUPPORT=1 -DHAVE_FNT_SUPPORT=1
> -DFNT_FONT_DIR="\""fonts/bdf""\" -DHAVE_BMP_SUPPORT=1
> -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1
> -DHAVE_SHAREDMEM_SUPPORT=1 -DHAVETEXTMODE=1 -DERASEMOVE=1
> -DUPDATEREGIONS=1 -DLINUX=1 -DUNIX=1 -I.
> -I/home/claudia/ltib-m532xevb-20061117/rpm/BUILD/microwindows-0.90/src/include
>  -I/usr/include -Wall -Wpointer-arith  -o winmain.o winmain.c
> winmain.c: In function 'MwSelect':
> winmain.c:267: error: impossible constraint in 'asm'
> winmain.c:268: error: impossible constraint in 'asm'
> winmain.c:269: error: impossible constraint in 'asm'
> winmain.c:320: error: impossible constraint in 'asm'
> winmain.c:325: error: impossible constraint in 'asm'
> winmain.c:332: error: impossible constraint in 'asm'
> winmain.c:334: error: impossible constraint in 'asm'
> winmain.c:336: error: impossible constraint in 'asm'
> make[1]: *** [winmain.o] Error 1
> make[1]: Leaving directory
> `/home/claudia/ltib-m532xevb-20061117/rpm/BUILD/microwindows-0.90/src/mwin'
> make: *** [subdir-mwin] Error 2
> error: Bad exit status
> from /home/claudia/ltib-m532xevb-20061117/tmp/rpm-tmp.3000 (%build)
> .....
> 
> THANKS IN ADVANCE
> 
> CLAUDIA
> 
> _______________________________________________
> LTIB home page: http://bitshrine.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]