Re: problem with squid in AIX 4.2.1

From: Wade B. Komisar <Komisar@dont-contact.us>
Date: Wed, 24 Feb 1999 23:50:53 -0500

Julie:

I got Squid to compile on AIX with the following line:

CC="xlc_r -D_ALL_SOURCE" ./configure --disable-pool

After this, run make.

I hope it works for you.

Julie Xu wrote:
>
> hi,
>
> I have machine rs6000/aix 4.2.1. with c
> $ lslpp -l |grep -i xlc
> xlC.Bnd 3.1.4.0 COMMITTED C for AIX and C Set ++
> for AIX
> xlC.C 3.1.4.0 COMMITTED C for AIX Compiler
> xlC.C.readme.ibm 3.1.4.0 COMMITTED C and C Set ++ for AIX
> iFOR/LS
> xlC.cpp 3.1.4.0 COMMITTED C for AIX Preprocessor
> xlC.msg.en_US.C 3.1.4.0 COMMITTED C for AIX Compiler Messages
> xlC.msg.en_US.cpp 3.1.4.0 COMMITTED C for AIX Preprocessor
> xlC.msg.en_US.rte 3.1.4.0 COMMITTED C Set ++ for AIX Application
> xlC.rte 3.1.4.0 COMMITTED C Set ++ for AIX Application
> xlC.C 3.1.4.0 COMMITTED C for AIX Compiler
> xlC.C.data 3.1.4.0 COMMITTED C for AIX Manual Pages
>
> But, unfortunetly, I can compile the squid.
>
> the error is following.
>
> $ make all
> Making all in lib...
> Target "all" is up to date.
> Making all in scripts...
> Target "all" is up to date.
> Making all in src...
> cc -g -I. -I../include -I../include -c debug.c
> "/usr/include/sys/select.h", line 47.24: 1506-137 (W) Previous
> declaration must
> declare at least one declarator, tag, or the members of an enumeration.
> "/usr/include/stdarg.h", line 60.9: 1506-236 (W) Macro name va_start has
> been re
> defined.
> "/usr/include/stdarg.h", line 60.9: 1506-358 (I) "va_start" is defined on
> line 3
> 9 of /usr/include/varargs.h.
> "/usr/include/stdarg.h", line 61.9: 1506-236 (W) Macro name va_end has
> been rede
> fined.
> "/usr/include/stdarg.h", line 61.9: 1506-358 (I) "va_end" is defined on
> line 40
> of /usr/include/varargs.h.
> "/usr/include/stdarg.h", line 62.9: 1506-236 (W) Macro name va_arg has
> been rede
> fined.
> "/usr/include/stdarg.h", line 62.9: 1506-358 (I) "va_arg" is defined on
> line 41
> of /usr/include/varargs.h.
> "debug.c", line 70.18: 1506-041 (E) The invocation of macro va_start
> contains fe
> wer arguments than required by the macro definition.
> "debug.c", line 70.5: 1506-046 (S) Syntax error.
> "debug.c", line 70.5: 1506-046 (S) Syntax error.
> "debug.c", line 70.5: 1506-068 (S) Operation between types "unsigned
> char*" and
> "int" is not allowed.
> "debug.c", line 70.5: 1506-277 (S) Syntax error: possible missing ';' or ','?
> 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.
>
> Any comments will be appreciated
>
> Thanks in advance
>
> Julie

-- 
========================================================================
Wade B. Komisar       Comp. Sys. Sr. Engineer, Advanced Technology Group
Komisar@Virginia.EDU  		        Office of Information Technology
voice: 804.924.7171                               University of Virginia
  fax: 804.982.2777                   Carruthers Hall, 1001 N. Emmet St.
http://jm.acs.virginia.edu/~wbk3a/        Charlottesville, VA 22906-9005
Received on Wed Feb 24 1999 - 21:39:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:43 MST