On Wed, Dec 3, 2008 at 4:13 PM, Adriaan de Groot <groot at kde.org> wrote:
> On Wednesday 03 December 2008 03:35:11 pm Lukas Oboril wrote:
>> "/home/luc/packages/BUILD/kdenetwork-4.1.3/kppp/opener.cpp", line 293:
>> Error: The function "sethostname" must have a prototype.
>>
>>
>> part of opener.cpp
>>
>> #if defined(__osf__) || defined(__svr4__)
>> #define _POSIX_PII_SOCKET
>> extern "C" int sethostname(char *name, int name_len);
>
> OK, so here's another difference between S10 and nv, because nv does have
> sethostname() if __EXTENSIONS__ is defined (and it should be defined).
>
well

from my point of view, there are two options.

1. create patch for opener.cpp

- #if defined(__osf__) || defined(__svr4__)
+#if defined(__osf__) || defined(__svr4__) || defined(SOLARIS10)

2. add -D__svr4__ into chain, somewhere, where it has to be :)

I'd rather go with first option, because we have -DSOLARIS10 in
specs/include/flags.inc defined

-- 
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode


When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
  Dale Carnegie

Reply via email to