Darren Legge
2007-08-23 15:34:35 UTC
Hi
I just commented out the abs() function in winevent.c. I guess it uses abs() from the C library.
Darren.
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.
I just commented out the abs() function in winevent.c. I guess it uses abs() from the C library.
Darren.
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.