hp-ux; snprintf problem

Tomasz Tyczynski tycztom@volt.iem.pw.edu.pl
Tue Feb 17 14:45:00 GMT 2004


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



More information about the Gcc-help mailing list