perfsonar-user - Re: [perfsonar-user] OWAMP build error
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: "Andrew Lake" <>
- To:
- Cc: "Ramkumar GOWRISHANKAR" <>,
- Subject: Re: [perfsonar-user] OWAMP build error
- Date: Wed, 23 Sep 2015 05:17:52 -0700 (PDT)
Hi,
i2util is a git submodule in the owamp repo. You either need to run “git clone —recursive https://github.com/perfsonar/owamp.git” when you do the initial checkout or run the following if you didn’t do —recursive in the initial clone:
git submodule init
git submodule update
Thanks,
Andy
On Tue, Sep 22, 2015 at 11:55 PM, Brian Tierney <> wrote:
If you download/build/install this version of i2util, all should work.On Tue, Sep 22, 2015 at 7:32 PM, Ramkumar GOWRISHANKAR <> wrote:RamkumarThanks,1. When I downloaded the source from github repo, the I2utils folder was empty. Is this expected? I had to clone the I2utils repo separately and copy it to the owamp/I2utils directory. Otherwise the build used to fail. I then built the I2utils separately first. Is this the correct set of steps?My build is failing with the error below:Any ideas? I am running this on a CentOS 7 VM and gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC). Before running make, I ran the following commands:
-----------------------------------------------------------------------------------------------------------------------------
[root@test owamp]# ./make
-bash: ./make: No such file or directory
[root@quaggawithovs owamp]# make
Making all in I2util
make[1]: Entering directory `/root/owamp/I2util'
Making all in I2util
make[2]: Entering directory `/root/owamp/I2util/I2util'
make all-am
make[3]: Entering directory `/root/owamp/I2util/I2util'
make[3]: Leaving directory `/root/owamp/I2util/I2util'
make[2]: Leaving directory `/root/owamp/I2util/I2util'
Making all in aespasswd
make[2]: Entering directory `/root/owamp/I2util/aespasswd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/owamp/I2util/aespasswd'
Making all in pfstore
make[2]: Entering directory `/root/owamp/I2util/pfstore'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/owamp/I2util/pfstore'
Making all in test
make[2]: Entering directory `/root/owamp/I2util/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/owamp/I2util/test'
Making all in doc
make[2]: Entering directory `/root/owamp/I2util/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/owamp/I2util/doc'
make[2]: Entering directory `/root/owamp/I2util'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/owamp/I2util'
make[1]: Leaving directory `/root/owamp/I2util'
Making all in owamp
make[1]: Entering directory `/root/owamp/owamp'
make all-am
make[2]: Entering directory `/root/owamp/owamp'
gcc -DHAVE_CONFIG_H -I. -I.. -I/root/owamp/I2util -g -O2 -MT capi.o -MD -MP -MF .deps/capi.Tpo -c -o capi.o capi.c
capi.c: In function ‘_OWPClientBind’:
capi.c:90:13: error: incompatible type for argument 2 of ‘bind’
if (bind(fd,ifa->ifa_addr,remote_addrinfo->ai_addrlen) == 0){
^
In file included from ../owamp/owamp.h:68:0,
from ../owamp/owampP.h:27,
from capi.c:24:
/usr/include/sys/socket.h:124:12: note: expected ‘__CONST_SOCKADDR_ARG’ but argument is of type ‘struct sockaddr *’
extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
^
capi.c:118:13: error: incompatible type for argument 2 of ‘bind’
if(bind(fd,ai->ai_addr,ai->ai_addrlen) == 0){
^
In file included from ../owamp/owamp.h:68:0,
from ../owamp/owampP.h:27,
from capi.c:24:
/usr/include/sys/socket.h:124:12: note: expected ‘__CONST_SOCKADDR_ARG’ but argument is of type ‘struct sockaddr *’
extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
^
capi.c: In function ‘TryAddr’:
capi.c:195:5: error: incompatible type for argument 2 of ‘connect’
if(connect(fd,ai->ai_addr,ai->ai_addrlen) == 0){
^
In file included from ../owamp/owamp.h:68:0,
from ../owamp/owampP.h:27,
from capi.c:24:
/usr/include/sys/socket.h:138:12: note: expected ‘__CONST_SOCKADDR_ARG’ but argument is of type ‘struct sockaddr *’
extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
^
make[2]: *** [capi.o] Error 1
make[2]: Leaving directory `/root/owamp/owamp'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/owamp/owamp'
make: *** [all-recursive] Error 1
--------------------------------------------------------------------------------------------------------------------------------------
- aclocal
- autoheader
- automake --add-missing
- autoconf
- ./configure --prefix=/inst/root
I have a couple of other questions:2. The configure.ac file references a bootstrap.sh script but I could not find one. Should I be looking for one?
- [perfsonar-user] OWAMP build error, Ramkumar GOWRISHANKAR, 09/23/2015
- Re: [perfsonar-user] OWAMP build error, Brian Tierney, 09/23/2015
- Re: [perfsonar-user] OWAMP build error, Andrew Lake, 09/23/2015
- Re: [perfsonar-user] OWAMP build error, Ramkumar GOWRISHANKAR, 09/24/2015
- Re: [perfsonar-user] OWAMP build error, Andrew Lake, 09/23/2015
- Re: [perfsonar-user] OWAMP build error, Brian Tierney, 09/23/2015
Archive powered by MHonArc 2.6.16.