Bug 64538 - kxdata.cpp compile fails on Solaris with undeffined macros for mices etc.
Summary: kxdata.cpp compile fails on Solaris with undeffined macros for mices etc.
Status: RESOLVED FIXED
Alias: None
Product: kxconfig
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Matthias Hoelzer-Kluepfel
URL:
Keywords:
: 65292 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-19 11:54 UTC by steve
Modified: 2005-10-29 14:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steve 2003-09-19 11:54:34 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
Compiler:          GCC 3.3.1 
OS:          Solaris

Multiple macros aren't defined when file is compiled under Solaris. (see below).

Seeing as there's not a lot you can change in the X configuration under Solaris without XFree86 installed, it may be better not to attempt to compile kxconfig at all on systems which don't have XFree86 on them.

kxdata.cpp:339: error: `MTYPE_PS_2' undeclared (first use this function)
kxdata.cpp:339: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
kxdata.cpp:343: error: `MTYPE_MMANPLUSPS2' undeclared (first use this function)
kxdata.cpp:346: error: `MTYPE_IMPS2' undeclared (first use this function)
kxdata.cpp:352: error: `MTYPE_THINKINGPS2' undeclared (first use this function)
kxdata.cpp:355: error: `MTYPE_GLIDEPOINTPS2' undeclared (first use this 
   function)
kxdata.cpp:357: error: `MTYPE_NETPS2' undeclared (first use this function)
kxdata.cpp:360: error: `MTYPE_NETSCROLLPS2' undeclared (first use this 
   function)
kxdata.cpp:363: error: `MTYPE_MICROSOFT' undeclared (first use this function)
kxdata.cpp:367: error: `MTYPE_LOGIMAN' undeclared (first use this function)
kxdata.cpp:369: error: `MTYPE_MOUSESYS' undeclared (first use this function)
kxdata.cpp:374: error: `MTYPE_BUSMOUSE' undeclared (first use this function)
Comment 1 Thiago Macieira 2003-10-01 16:39:43 UTC
*** Bug 65292 has been marked as a duplicate of this bug. ***
Comment 2 Thiago Macieira 2003-10-01 16:40:50 UTC
Apparently Solaris isn't the only one affected. NetBSD has the same problem (as per 
duplicate). 
Comment 3 Mikhail Veygman 2003-10-02 19:06:23 UTC
In order to compile I had to change 
 
#ifndef HAVE_X11_EXTENSIONS_XF86MISC_H 
 
to  
 
#ifdef HAVE_X11_EXTENSIONS_XF86MISC_H 
 
inside: 
void KXData::loadPointerData() 
function. 
 
 
Comment 4 Bernd Kuhls 2005-10-28 16:48:41 UTC
Please close this bug report, its solved and very old
Comment 5 Thiago Macieira 2005-10-29 14:58:46 UTC
Closing as requested.