From kde-solaris Wed Jun 19 09:20:48 2002 From: Daniel Molkentin Date: Wed, 19 Jun 2002 09:20:48 +0000 To: kde-solaris Subject: [kde-solaris] Fwd: Bug#44096: One system include file (net/if.h) conflicts with g++ include stl_map. X-MARC-Message: https://marc.info/?l=kde-solaris&m=102448062530634 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anyone? - ---------- On Wednesday 19 June 2002 11:00, bmarcade@canal-plus.fr wrote: - ---------- Subject: Bug#44096: One system include file (net/if.h) conflicts with g++ include stl_map.h Date: Wednesday 19 June 2002 11:00 From: bmarcade@canal-plus.fr To: submit@bugs.kde.org Package: kcontrol Version: kde-base 3.0 kcontrol/nics (using KDE 3.0.1 ) Severity: normal Installed from: Compiled From Sources Compiler: gcc 2.95.3 OS: Solaris OS/Compiler notes: Solaris 2.6 and gcc2.95.3 rebuild with --enable-shared Problem occurs when building kdebase-3.0, when entering kcontrol/nics. File nic.cpp include various files of which /usr/include/net/if.h (system include from Solaris 2.6) and sl_map.h (delivered with gcc-2.95.3). System include file (net/if.h) conflicts with gcc include files (stl_map.h). File (net/if.h) contains a structure named 'map' and stl_map.h a class named 'map'. As both are included when building kdebase/kcontrol/nics/nic.cpp, gcc returns an error message. A simple fix is to comment line 'struct map *ifconf' within net/if.h. Build achieves correctly. Same issue exists within kdebase-3.0/kdm/chooser, fixed with same solution. (Submitted via bugs.kde.org) (Complete bug history is available at http://bugs.kde.org/db/44/44096.html) - ------------------------------------------------------- - -- Daniel Molkentin | The K Desktop Environment KDE - Konqueror your Desktop! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9EEzwu1Wkf8kBwz4RAoY7AJ0dg2wbk3hsaE2xAiyHhy2Vb6+guQCg2wWf FnZRsWSnDeFX1m+A4HAyess= =phRG -----END PGP SIGNATURE----- ___________________________________________________ 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.