[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build zmailer-2.99.49p9 on Solarix x86 2.6
- To: zmailer@nic.funet.fi
- Subject: Build zmailer-2.99.49p9 on Solarix x86 2.6
- From: Milan Riha <milan@rip.cz>
- Date: Thu, 16 Apr 1998 17:02:09 +0200
- Organization: Conquest Brno
Hi,
first thank you very much Alvin, Amin and Matti for responding.
Now I'm trying to build zmailer under Solaris 2.6 with gcc 2.8.1
with configure option --with-bundled-libresolv
but I got an error:
"portability.h:593: conflicting types for `gethostname"
without libresolv option I got
make[3]: Entering directory
`/orion/source/zmailer-2.99.49p9/router/libdb'
gcc -g -O2 -DHAVE_CONFIG_H -I../.. -I../../include -I./../../include
-I./../../l
ibsh -c bind.c -o
bind.o
In file included from
bind.c:54:
../../include/libc.h:55: conflicting types for
`inet_ntop'
/usr/include/resolv.h:303: previous declaration of
`inet_ntop'
../../include/libc.h:56: conflicting types for
`inet_pton'
/usr/include/resolv.h:302: previous declaration of
`inet_pton'
make[3]: *** [bind.o] Error
1
Under Solaris 2.5 and gcc 2.7 make is without problems.
If anybody knows solution, please let me know.
Milan Riha