csa
[Top] [All Lists]

Re: [HELP] Building CSA tools failed on ia-64 environment.

To: Kaigai Kohei <kaigai@xxxxxxxxxxxxx>
Subject: Re: [HELP] Building CSA tools failed on ia-64 environment.
From: Jay Lan <jlan@xxxxxxxxxxxx>
Date: Tue, 07 Sep 2004 12:17:10 -0700
Cc: LSE-Tech <Lse-tech@xxxxxxxxxxxxxxxxxxxxx>, CSA-ML <csa@xxxxxxxxxxx>
In-reply-to: <06e201c494c0$5c567c60$f97d220a@linux.bs1.fc.nec.co.jp>
References: <06e201c494c0$5c567c60$f97d220a@linux.bs1.fc.nec.co.jp>
Sender: csa-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
The gcc version i used in building and creating CSA rpm
was 3.2.3.

Has anyone else experience the similar problem with 3.3.3?

I will find a 3.3.3 machine and try it out later.

Thanks,
 - jay


Kaigai Kohei wrote:
> Hello, everyone.
> I'm interrested in accounting solution for Linux as PAGG/CSA or ELSA,
> and so on. First, I tried to build up the PAGG/CSA environment,
> and downloaded the related patches and comprehensive tools for CSA/PAGG.
> 
> Then, I succeeded to build up the 2.6.8.1 + PAGG/CSA kernel for IA-64
> archtecture and PAGG related tools like jstat,jkill and so on.
> But I failed to build up the CSA related tools.
> 
> 
> (1) I tried to build up this one from SRPM.
>  # rpmbuild --rebuild csa-2.1.0-1.src.rpm
>  Installing csa-2.1.0-1.src.rpm
>  Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7433
>        :
>  + automake -a -c -i
>  error: Bad exit status from /var/tmp/rpm-tmp.7433 (%prep)
> 
>  RPM build errors:
>      Bad exit status from /var/tmp/rpm-tmp.7433 (%prep)
>  # 
> 
> 
> (2) I tried to build up this one from tarball.
>  # mkdir -p csa
>  # cd csa
>  # rpm2cpio ../csa-2.1.0-1.src.rpm | cpio -i --make-directories
>  762 blocks
>  # ls
>  csa-2.1.0.tar.gz  csa.spec
>  # tar zxf csa-2.1.0.tar.gz
>  # cd csa-2.1.0
>  # libtoolize --force --copy
>  # aclocal
>  # automake -a -c -i
>  # autoconf
>  # autoheader
>  # ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
>  # make
>  make  all-recursive
>  make[1]: Entering directory `/root/rpm/csa/csa-2.1.0'
>  Making all in include
>  make[2]: Entering directory `/root/rpm/csa/csa-2.1.0/include'
>  make[2]: Nothing to be done for `all'.
>  make[2]: Leaving directory `/root/rpm/csa/csa-2.1.0/include'
>  Making all in lib
>  make[2]: Entering directory `/root/rpm/csa/csa-2.1.0/lib'
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
> -I/lib/modules/2.6.8.1.pagg.csa/bu
>  ild/include -D__USE_GNU -Dlinux    -g -O2 -c config.c
>  In file included from config.c:51:
>  /usr/lib/gcc-lib/ia64-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC 
> no l
>  onger implements <varargs.h>."
>  /usr/lib/gcc-lib/ia64-redhat-linux/3.3.3/include/varargs.h:5:2: #error 
> "Revise y
>  our code to use <stdarg.h>."
>  make[2]: *** [config.o] Error 1
>  make[2]: Leaving directory `/root/rpm/csa/csa-2.1.0/lib'
>  make[1]: *** [all-recursive] Error 1
>  make[1]: Leaving directory `/root/rpm/csa/csa-2.1.0'
>  make: *** [all] Error 2
>  # 
> 
> What environment do these tools depend on ?
> Any comment please. Thanks.
> 
> I got those packages from as follows.
> The kernel patch:   ftp://oss.sgi.com/projects/pagg/download/
>                     ftp://oss.sgi.com/projects/csa/download/
> The tools for PAGG: 
> ftp://oss.sgi.com/projects/pagg/download/job-1.4.0-1.tar.gz
> The tools for CSA:  
> ftp://oss.sgi.com/projects/csa/download/csa-2.1.0-1.src.rpm
> 
> --------
> Kai Gai <kaigai@xxxxxxxxxxxxx>
> 


<Prev in Thread] Current Thread [Next in Thread>