[xml] Build xml2 library on NEC SX



Hi,
 
for installing libxml2 on NEC SX systems, it is necessary to change following routines
 
1) nanohttp.c.
 
 diff nanohttp.c  nanohttp.c_orig
  532c532
<             int nsent = send(ctxt->fd, (char*)xmt_ptr + total_sent,
---
>             int nsent = send(ctxt->fd, xmt_ptr + total_sent,
2) xmlIO.c
 
diff xmlIO.c xmlIO.c_orig
431c431
<     items = fwrite((char*)&buffer[0], len, 1, (FILE *) context);
---
>     items = fwrite(&buffer[0], len, 1, (FILE *) context);
[k209009 ds3 ~/libxml2-2.5.11]$
 
If this is applied, libxml2 can be installed without problems on NEC SX systems.
 
Best regards
 
Thomas
 
================================================
Dr. Thomas Schoenemeyer       
Application  Specialist
NEC High Performance Computing Europe GmbH
Prinzenallee 11, D-40549 Duesseldorf, Germany
Tel: +49 8031 23302 0      tschoenemeyer hpce nec com
Fax: +49 8031 23302 1     http://www.hpce.nec.com
================================================
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]