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

List:       kde-bugs-dist
Subject:    [Bug 50703] New: compile error with use of uname on Solaris 2.6
From:       stevee () zuken ! co ! uk
Date:       2002-11-14 9:52:31
[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=50703     
           Summary: compile error with use of uname on Solaris 2.6
           Product: kpilot
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: adridg@cs.kun.nl
        ReportedBy: stevee@zuken.co.uk


Version:            (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2 
OS:          Solaris

I got this compile error on Solaris 2.6:

popmail-conduit.cc: In function `QString getFQDomainName(const KConfig&)':
popmail-conduit.cc:519: aggregate `utsname u' has incomplete type and cannot be 
   defined
popmail-conduit.cc:520: `uname' undeclared (first use this function)
popmail-conduit.cc:520: (Each undeclared identifier is reported only once for 
   each function it appears in.)

On Solaris uname() is declared in <sys/utsname.h>. Adding this fixes the problem.
[prev in list] [next in list] [prev in thread] [next in thread] 

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