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

List:       kde-bugs-dist
Subject:    [Bug 145624] New: Compile error on Solaris 8 -
From:       stevee () zuken ! co ! uk
Date:       2007-05-18 10:10:17
Message-ID: 20070518121016.145624.stevee () zuken ! co ! uk
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=145624         
           Summary: Compile error on Solaris 8 - kdebase/runtime/kurifilter-
                    plugins/tests/kurifiltertest.cpp uses setenv which is
                    not available on Solaris
           Product: kcontrol
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kcmkurifilt
        AssignedTo: adawit kde org
        ReportedBy: stevee zuken co uk


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on kdebase on Solaris

[ 16%] Building CXX object \
runtime/kurifilter-plugins/tests/CMakeFiles/kurifiltertest.dir/kurifiltertest.o In file included from \
/cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp:32: \
/cad4/stevee/kde-svn/kdebase/kde-build/config.h:118:1: warning: "_FILE_OFFSET_BITS" redefined In file \
included from /usr/include/iso/string_iso.h:31,  from /usr/include/string.h:18,
                 from /opt/qt/include/QtCore/qbytearray.h:30,
                 from /opt/qt/include/QtCore/qstring.h:28,
                 from /opt/qt/include/QtCore/qtextcodec.h:27,
                 from /opt/qt/include/QtCore/QtCore:1,
                 from /opt/qt/include/QtTest/QtTest:1,
                 from /opt/kde/include/qtest_kde.h:22,
                 from \
                /cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp:19:
/usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition
/cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp: In function `int \
main(int, char**)': /cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp:36: \
                error: `setenv' was not declared in this scope
/cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp: In member function \
`void KUriFilterTest::init()': \
/cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp:155: error: `setenv' was \
                not declared in this scope
/cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp: In member function \
`void KUriFilterTest::tests()': \
/cad4/stevee/kde-svn/kdebase/runtime/kurifilter-plugins/tests/kurifiltertest.cpp:271: error: `setenv' was \
not declared in this scope

It can be fixed by including <kdefakes.h>


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

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