nanogui: CVS compile error
Subject:
Re: [nanogui] CVS compile error
From:
"Darren Legge" ####@####.####
Date:
23 Aug 2007 16:33:59 +0100
Message-Id: <s6cdb725.074@mail.energytechnologycontrol.com>
Hi
I just commented out the abs() function in winevent.c. I guess it uses abs() from the C library.
Darren.
####@####.####
>>> Christian Boon ####@####.#### 23/08/07 15:48 >>>
Hello,
when cross compiling the latest CVS version from microwindows i get the
following error:
Compiling mwin/winevent.c ...
/home/pxa255-2.6.22/src/microwin/src/mwin/winevent.c:25: error: static
declaration of 'abs' follows non-static declaration
make[1]: *** [/home/pxa255-2.6.22/src/microwin/src/obj/mwin/winevent.o]
Error 1
make: *** [subdir-/home/pxa255-2.6.22/src/microwin/src/mwin] Error 2
this is probably because of my gcc version.
i use gcc version 4.1.2
the toolchain i use is an EABI toolchain
i probably won't get this error when i compile it with for example gcc
version 3.4
but i cannot easily change the toolchain because other libraries /
applications / kernel
are compiled with this toolchain too..
is there a way to fix this?
thanks in advance,
Chris.
---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####