LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Help me, how to debug this? (http://www.linuxquestions.org/questions/programming-9/help-me-how-to-debug-this-296229/)

lmmix 03-01-2005 06:34 AM

[revisioned] Help me, how to debug this?
 
in libxklavier-2.0,

i solved previous warnings then new warnings again.

X.org 6.8.2, gcc 4.0.0, gtk 2.6.4...

Quote:

make[1]: Entering directory `/sources/libxklavier-2.0'
Making all in libxklavier
make[2]: Entering directory `/sources/libxklavier-2.0/libxklavier'

if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I/usr/include/libxml2 -I/usr/X11R6/include -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier_xmm.lo -MD -MP -MF ".deps/xklavier_xmm.Tpo" -c -o xklavier_xmm.lo xklavier_xmm.c; \
then mv -f ".deps/xklavier_xmm.Tpo" ".deps/xklavier_xmm.Plo"; else rm -f ".deps/xklavier_xmm.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/usr/share/libxklavier\" -I. -I/usr/include -I/usr/include/libxml2 -I/usr/X11R6/include -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier_xmm.lo -MD -MP -MF .deps/xklavier_xmm.Tpo -c xklavier_xmm.c -fPIC -DPIC -o .libs/xklavier_xmm.o
cc1: warnings being treated as errors
In file included from xklavier_xmm.c:14:
xklavier_private_xmm.h:38: warning: type qualifiers ignored on function return type
xklavier_private_xmm.h:44: warning: type qualifiers ignored on function return type
xklavier_xmm.c:67: warning: type qualifiers ignored on function return type
xklavier_xmm.c:100: warning: type qualifiers ignored on function return type
make[2]: *** [xklavier_xmm.lo] Error 1
make[2]: Leaving directory `/sources/libxklavier-2.0/libxklavier'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/libxklavier-2.0'
make: *** [all] Error 2

lmmix 03-03-2005 07:21 AM

not solved the warnings, instead, kick it.
pwd
/sources/libxklavier-2.0/

deleted "-Werror" in libxklavier/Makefile.

--


All times are GMT -5. The time now is 11:40 AM.