[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-user
Subject: Re: problems to make kdesupport-970729
From: Anders =?iso-8859-1?Q?=D6stling?= <anders.ostling () neurope ! ikea ! com>
Date: 1997-07-29 15:01:21
[Download RAW message or body]
Stephan Kulow wrote:
>
> Dominik Weis wrote:
> >
> > If I try to make kdesupport-970729 I get this message.
> >
> > c++ -DHAVE_CONFIG_H -I. -I. -I.. -DDW_DEVELOPMENT_VERSION -g -O2 -c pop.cpp
> > ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
> > -DDW_DEVELOPMENT_VERSION -g -O2 -c smtp.cpp
> > c++ -DHAVE_CONFIG_H -I. -I. -I.. -DDW_DEVELOPMENT_VERSION -g -O2 -c -fPIC
> > -DPIC
> > smtp.cpp
> > smtp.cpp:43: declaration of C function nt gethostname(char *, int)'
> > conflicts
> > with
> > /usr/include/unistd.h:544: previous declaration nt gethostname(char
> > *, unsigned int)' here
>
> I will fix this ASAP. A workaround is to delete all the stuff between
> #ifdef HAVE_GETHOSTNAME and #endif.
>
Even simpler is to change "int" to "unsigned int" in the reference
to gethostbyname in smtp.cpp, line 43. I did that...
/Anders
> Greets, Stephan
>
> --
> Stephan Kulow (coolo@kde.org)
> Student der Informatik (NF: MedizinInformatik)
> Medizinische Uni zu Luebeck
--
+--------------------------------------------------------------+
| Anders Östling IKEA Svenska AB (European IS Dept.) |
| E-mail address anders.ostling<at>neurope.ikea.com |
| Postal address Box 228 260 35 Odakra, Sweden |
| Voice +46-42-25 73 45 |
+-------------------------------------- Linux rules -----------+
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic