Ad: Re: [xml] Build Problem libxml2-2.5.9 on AIX



Good point regarding the CC, but build still fails.

Verifying that the CC is export ok.
root pdtwo kbank no /home/ac08279/libxml2-2.5.9# echo $CC
xlc

=======================================================================================
xlc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -c
nanoftp.c  -DPIC -o nanoftp.lo
"nanoftp.c", line 103.12: 1506-007 (S) "struct sockaddr_storage" is
undefined.
"nanoftp.c", line 1485.12: 1506-007 (S) "struct sockaddr_storage" is
undefined.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
=======================================================================================

Many thanks!
--------------------------------------
Best Regards/Med Vennlig Hilsen
Dave Wicks

Tel: (+47) 224 85000
Dir: (+47) 224 88707
Mob: (+47) 480 35705
e-mail: dave wicks nordea com

IT System Architect
Customer Management
Nordea Bank - Norway

P.O. Box 1166, Sentrum
N-0107 Oslo, Norway


                                                                                                              
                        
                      Daniel Veillard                                                                         
                        
                      <veillard redhat         Til:     Dave Wicks/HK/CBK CBK                                 
                        
                      .com>                    cc:      xml gnome org@SMTP Exchange                           
                        
                                               Emne:    Re: [xml] Build Problem libxml2-2.5.9 on AIX          
                        
                      12.08.03 10:40                                                                          
                        
                      Vennligst send                                                                          
                        
                      svar til                                                                                
                        
                      veillard                                                                                
                        
                                                                                                              
                        
                                                                                                              
                        



On Tue, Aug 12, 2003 at 09:31:39AM +0200, Dave Wicks wrote:
This is defect is being reposted after joining the mailing list.

Problem Description:
libxml fails to build

Replicating Defect:
OS AIX 5.2.

1. ./configure works without errors.

2. Update Makefile to use xlc instead of gcc or cc.
run make

Not a good idea at all ! That mean all the configure phase
is done with gcc and you compile with something else.
Export CC=xlc , then ./configure ; then build

Daniel

--
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




________________________________________________________________________

This email message has been checked for the presence of computer viruses
________________________________________________________________________



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