LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-01-2005, 06:34 AM   #1
lmmix
Member
 
Registered: Feb 2005
Distribution: debian sid, blfs 6.0
Posts: 41

Rep: Reputation: 15
[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

Last edited by lmmix; 03-03-2005 at 07:20 AM.
 
Old 03-03-2005, 07:21 AM   #2
lmmix
Member
 
Registered: Feb 2005
Distribution: debian sid, blfs 6.0
Posts: 41

Original Poster
Rep: Reputation: 15
not solved the warnings, instead, kick it.
pwd
/sources/libxklavier-2.0/

deleted "-Werror" in libxklavier/Makefile.

--

Last edited by lmmix; 03-03-2005 at 09:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Questions hansi umayangan Linux - General 1 03-18-2005 03:19 AM
How to debug ?NFS Steve Cronje Linux - Networking 4 01-23-2005 12:57 PM
Cant debug with kdevelop sibtay Programming 2 09-26-2004 10:29 AM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM
How do I debug a C program mfeoli Programming 3 03-12-2004 01:58 PM


All times are GMT -5. The time now is 02:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration