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

List:       kde-bugs-dist
Subject:    [Bug 145453] New: Compile error on Solaris 8 -
From:       stevee () zuken ! co ! uk
Date:       2007-05-15 10:34:16
Message-ID: 20070515123414.145453.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=145453         
           Summary: Compile error on Solaris 8 - kdecore/network/syssocket.h
                    does not compile because ioctl is not defined
           Product: kdelibs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: coolo 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:

[  1%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/k3socketdevice.o
In file included from \
                /cad4/stevee/kde-svn/kdelibs/kdecore/network/k3socketdevice.cpp:26:
/cad4/stevee/kde-svn/kdelibs/kdecore/network/syssocket.h: In function `int \
<unnamed>::kde_ioctl(int, int, int*)': \
/cad4/stevee/kde-svn/kdelibs/kdecore/network/syssocket.h:101: error: `::ioctl' has \
not been declared

ioctl on Solaris needs the header files

#include <unistd.h>
#include <stropts.h>

adding them to syssocket.h fixes the compile.


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

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