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

List:       kde-bugs-dist
Subject:    [Bug 141326] New: Compile error on Solaris 8 -
From:       stevee () zuken ! co ! uk
Date:       2007-02-07 10:04:56
Message-ID: 20070207110455.141326.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=141326         
           Summary: Compile error on Solaris 8 -
                    amarok/src/collectionscanner/collectionscanner.cpp uses
                    dirfd which is not available
           Product: amarok
           Version: 1.4.5
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: amarok-bugs-dist kde org
        ReportedBy: stevee zuken co uk


Version:           1.4.5 (using KDE KDE 3.5.6)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on Solaris 8:

if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../amarok/src \
-I/gorbag/exta/cad/externals/SOLARIS/include/taglib -I/opt/kde/include \
-I/opt/qt/include   -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include  -DQT_THREAD_SUPPORT -I/opt/kde/include  \
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT \
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wno-long-long -Wundef -Wall -W \
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include \
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 \
-fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe \
-fno-exceptions -mcpu=ultrasparc -Wno-non-virtual-dtor -fno-exceptions -fno-check-new \
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT \
-DQT_NO_TRANSLATION  -MT collectionscanner.o -MD -MP -MF \
".deps/collectionscanner.Tpo" -c -o collectionscanner.o collectionscanner.cpp; \ then \
mv -f ".deps/collectionscanner.Tpo" ".deps/collectionscanner.Po"; else rm -f \
                ".deps/collectionscanner.Tpo"; exit 1; fi
collectionscanner.cpp: In member function `void CollectionScanner::readDir(const \
QString&, QStringList&)': collectionscanner.cpp:185: error: `dirfd' was not declared \
in this scope collectionscanner.cpp:185: warning: unused variable 'dirfd'

According to the Linux man page for dirfd it is not (yet) a posix function so cannot \
be assumed to be available on all Unixes:

CONFORMING TO
       This is a BSD extension, present in 4.3BSD-Reno, not in 4.2BSD.  It is present \
                in
       libc5  (since  5.1.2)  and  in  glibc2.  This function is under consideration \
for  inclusion in a future version of POSIX.1.


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

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