[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    MySQL - KDElibs compiles error
From:       "Mark W.Webb" <markwebb () adelphia ! net>
Date:       2001-07-27 2:25:39
[Download RAW message or body]

I am trying to compile Mp3Kult, which is a KDE-based mp3 database that uses 
MySQL as a backend database.  When I compile the code, I get the folloing 
error:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/qt-2.3.0/include 
-I/usr/X11R6/include -I/usr/include/mysql
   -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin  -c 
export.cpp
In file included from /usr/lib/qt-2.3.0/include/qwindowdefs.h:48,
                 from /usr/lib/qt-2.3.0/include/qwidget.h:42,
                 from /usr/lib/qt-2.3.0/include/qframe.h:42,
                 from /usr/lib/qt-2.3.0/include/qscrollview.h:41,
                 from /usr/lib/qt-2.3.0/include/qlistview.h:51,
                 from export.h:21,
                 from export.cpp:18:
/usr/include/limits.h:124:3: warning: #include_next is a GCC extension
In file included from /usr/include/mysql/mysql.h:46,
                 from mydb.h:22,
                 from plview.h:31,
                 from mp3kult.h:38,
                 from export.cpp:20:
/usr/include/mysql/mysql_com.h:96: conflicting types for `typedef
struct st_net NET'
/usr/include/netwm_def.h:171: previous 
declaration as `class NET'
gmake[3]: *** [export.o] Error 1
gmake[3]: Leaving directory `/home/mark/c_src/mp3kult-0.3/mp3kult'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/mark/c_src/mp3kult-0.3/mp3kult'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/mark/c_src/mp3kult-0.3'
gmake: *** [all-recursive-am] Error 2

now I have tracked down the file /usr/include/mysql/mysql_com.h to the 
kdelibs package.  I am really not sure what to do, since these two 
conflicting structs come from 2 populate packages(KDE, and MySQL) I am 
suprised that this happened.  Is there any way to fix the problem?

thank you for helping....

PS.  I have tried contacting the author of Mp3Kult, and have gotten no 
answer.
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic