This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
hp-ux; snprintf problem
- From: Tomasz Tyczynski <tycztom at volt dot iem dot pw dot edu dot pl>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 17 Feb 2004 15:45:09 +0100 (CET)
- Subject: hp-ux; snprintf problem
I try to compile Sablotron on HP-UX B.11.11 U 9000/800.
It fails during "configure":
------------------------------------------------------------------------------------
configure:11940: error: declaration of C function `char snprintf()'
conflicts
with
/usr/local/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3.2/include/stdio.h:607:
error: previous
declaration `int snprintf(char*, long unsigned int, const char*, ...)'
here
------------------------------------------------------------------------------------
Some another software /like gcc-3.3.2; Apache-last; PHP-last, Samba-last/
I installed after I
patched my OS - for example "s700_800 11.11 ld(1) and linker tools
cumulative patch";
from http://www5.itrc.hp.com/service/patch/search.do. After that, it work
fine.
I corresponded with the Author of Sablotron, he sent me following message:
"Generally this problem is not sablotron specific (...)"
Perhaps I should install any other patch?
regards
Tomasz Tyczynski