[kde-solaris] kdeadmin compiling problem

Mikhail Veygman kde-solaris@mail.kde.org
Sun Mar 30 07:38:00 2003


I haven't had a chance to test kxconfig under Solaris, but

if you look through kxdata.cpp there are multiple lines:

#ifndef __osf__

If you change it to:

#if !defined(__osf__) || !defined(sun)

This should compile correctly.

Mikhail


"LeBar, Russell" <RLeBar@erac.com> wrote:

>Any ideas on this one? Why should it even be looking for xf86misc.h???
>
>Building it with gcc 3.2.1, qt 3.1.1, latest binutils, Solaris 8 on a
>SunFire 880.
>
>[...]
>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./libhwdata -I/usr/local/kde31/include
>-I/usr/local/qt-x11-free-3.1.1/include    -DQT_THREAD_SUPPORT  -D_REENTRANT
>-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor
>-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
>-Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions
>-fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_TRANSLATION
>-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kxdata.o `test
>-f 'kxdata.cpp' || echo './'`kxdata.cpp
>kxdata.cpp:32:37: X11/extensions/xf86misc.h: No such file or directory
>kxdata.cpp: In member function `void KXData::loadPointerData()':
>kxdata.cpp:337: `MTYPE_PS_2' undeclared (first use this function)
>kxdata.cpp:337: (Each undeclared identifier is reported only once for each
>   function it appears in.)
>kxdata.cpp:341: `MTYPE_MMANPLUSPS2' undeclared (first use this function)
>kxdata.cpp:344: `MTYPE_IMPS2' undeclared (first use this function)
>kxdata.cpp:350: `MTYPE_THINKINGPS2' undeclared (first use this function)
>kxdata.cpp:353: `MTYPE_GLIDEPOINTPS2' undeclared (first use this function)
>kxdata.cpp:355: `MTYPE_NETPS2' undeclared (first use this function)
>kxdata.cpp:358: `MTYPE_NETSCROLLPS2' undeclared (first use this function)
>kxdata.cpp:361: `MTYPE_MICROSOFT' undeclared (first use this function)
>kxdata.cpp:365: `MTYPE_LOGIMAN' undeclared (first use this function)
>kxdata.cpp:367: `MTYPE_MOUSESYS' undeclared (first use this function)
>kxdata.cpp:372: `MTYPE_BUSMOUSE' undeclared (first use this function)
>gmake[3]: *** [kxdata.o] Error 1
>gmake[3]: Leaving directory `/export/home/rjl01/kde31/kdeadmin-3.1/kxconfig'
>gmake[2]: *** [all-recursive] Error 1
>gmake[2]: Leaving directory `/export/home/rjl01/kde31/kdeadmin-3.1/kxconfig'
>gmake[1]: *** [all-recursive] Error 1
>gmake[1]: Leaving directory `/export/home/rjl01/kde31/kdeadmin-3.1'
>gmake: *** [all] Error 2
>
> 
>
>
>
>Russ LeBar
>Enterprise Rent-A-Car  Phone:314-512-3355
>Network Management System Administration  Fax:314-512-6002
>UNIX System Administrator  Pager:314-841-7565
>
> 
>___________________________________________________
>This message is from the kde-solaris mailing list.
>Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
>Archives: http://lists.kde.org/.
>More info: http://www.kde.org/faq.html.
>

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455