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

List:       kfm-devel
Subject:    Re: Bug#2622: root.cpp not compiling on AIX/GCC
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-03-22 22:12:45
[Download RAW message or body]

Add #undef index in root.h right before the #include html.h

Your system headers do a #define index strchr, which screws up
compilation.
Qt 2.x fixed it by changing the name of the variable.

On Mon, Mar 10, 2036 at 10:33:52PM +0000, Robert Cross wrote:
> 
> Package: kfm
> Version: 1.1-2
> 
> On AIX4.2.1 with GCC-2.95.2, AIX ld etc, GNU Make 3.78.1, QT 1.44.
> 
> When attempting to build KFM I get the following:
> 
> make[3]: Entering directory `/usr/support/kdebase-1.1.2/kfm'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
> -I/usr/unsupp/qt/inclu
> de      -O2 -Wall -c root.cpp
> In file included from /usr/local/kde/include/html.h:42,
>                  from root.h:14,
>                  from root.cpp:21:
> /usr/unsupp/qt/include/qbuffer.h: In method `int QBuffer::at() const':
> /usr/unsupp/qt/include/qbuffer.h:81: return to `int' from `char * (*)(const
> char
>  *, int)' lacks a cast
> make[3]: *** [root.o] Error 1
> make[3]: Leaving directory `/usr/support/kdebase-1.1.2/kfm'
> 
> >From inspection this looks to be the same problem as that reported as #2476.
> 
> Regards
> 
> Robert Cross
> 
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
See ftp://mandrakesoft.com/pub/david/kde1-and-kde2.txt to set up KDE 2

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

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