Bug 65292 - kxconfig: kxdata.cpp fails to build on NetBSD 1.6.1 sparc
Summary: kxconfig: kxdata.cpp fails to build on NetBSD 1.6.1 sparc
Status: RESOLVED DUPLICATE of bug 64538
Alias: None
Product: kxconfig
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: NetBSD pkgsrc NetBSD
: NOR normal
Target Milestone: ---
Assignee: Matthias Hoelzer-Kluepfel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-01 05:46 UTC by Emmett Kyle
Modified: 2003-10-01 16:39 UTC (History)
0 users

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 Emmett Kyle 2003-10-01 05:46:58 UTC
Version:           3.1.4 (using KDE KDE 3.1.4)
Installed from:    NetBSD pkgsrc
Compiler:          gcc version 2.95.3 20010315 (release) (NetBSD nb3) 
OS:          NetBSD

I am seeing the same problem encountered in report #50794 for a NetBSD
system running on a sparc platform. When building the kdeadmin3 package,
I get an error in: /usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.1.4/kxconfig

kxdata.cpp: In method `void KXData::loadPointerData()':
kxdata.cpp:339: `MTYPE_PS_2' undeclared (first use this function)
kxdata.cpp:339: (Each undeclared identifier is reported only once
kxdata.cpp:339: for each function it appears in.)
kxdata.cpp:343: `MTYPE_MMANPLUSPS2' undeclared (first use this function)
kxdata.cpp:346: `MTYPE_IMPS2' undeclared (first use this function)
kxdata.cpp:352: `MTYPE_THINKINGPS2' undeclared (first use this function)
kxdata.cpp:355: `MTYPE_GLIDEPOINTPS2' undeclared (first use this function)
kxdata.cpp:357: `MTYPE_NETPS2' undeclared (first use this function)
kxdata.cpp:360: `MTYPE_NETSCROLLPS2' undeclared (first use this function)
kxdata.cpp:363: `MTYPE_MICROSOFT' undeclared (first use this function)
kxdata.cpp:367: `MTYPE_LOGIMAN' undeclared (first use this function)
kxdata.cpp:369: `MTYPE_MOUSESYS' undeclared (first use this function)
kxdata.cpp:374: `MTYPE_BUSMOUSE' undeclared (first use this function)

These MTYPE_* definitions appear to normally be in
~X11/extensions/xf86misc.h.
 However this file does not exist on a sparc platform, which means that 
HAVE_X11_EXTENSIONS_XF86MISC_H is FALSE

Changing kxdata.cpp:377 from:
#ifndef HAVE_X11_EXTENSIONS_XF86MISC_H
to:
#ifdef HAVE_X11_EXTENSIONS_XF86MISC_H
(See Comment #7 in #50794)
will make it compile on NetBSD sparc.
Comment 1 Thiago Macieira 2003-10-01 16:39:42 UTC

*** This bug has been marked as a duplicate of 64538 ***