Bug 213639

Summary: does not build - ioctl
Product: [Applications] ksirk Reporter: tropikhajma <tropikhajma>
Component: generalAssignee: Gaël de Chalendar (aka Kleag) <kleagg>
Status: RESOLVED FIXED    
Severity: normal CC: kde-games-bugs-null, schwarzer
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: patch

Description tropikhajma 2009-11-08 06:38:21 UTC
Version:           4.3.73 (using Devel)
Compiler:          Sun Studio 12 U1 
OS:                Solaris
Installed from:    Compiled sources

building kdegames 4.3.73 on opensoalris with sun studio 12 u1 fails with :
...
"/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/irisnet/corelib/netinterface_unix.cpp", line 72: Error: The function "ioctl" must have a prototype.
"/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/irisnet/corelib/netinterface_unix.cpp", line 113: Error: The function "ioctl" must have a prototype.
"/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/irisnet/corelib/netinterface_unix.cpp", line 128: Error: The function "close" must have a prototype.


this is similar to https://bugs.kde.org/show_bug.cgi?id=187267
and indeed, adding include stropts.h resolves the first two issues
Comment 1 tropikhajma 2009-11-08 06:39:15 UTC
Created attachment 38170 [details]
patch
Comment 2 Albert Astals Cid 2009-11-17 22:34:50 UTC
Same comment as in 213530, can't we just use an external iris lib?
Comment 3 Gaël de Chalendar (aka Kleag) 2009-12-02 21:50:42 UTC
Applied and commited. Thank you. Does it work ?
Comment 4 Frederik Schwarzer 2010-04-19 20:24:11 UTC
As he states in
https://bugs.kde.org/show_bug.cgi?id=213530
that kdegames now builds. -> Closing.