perfsonar-user - [perfsonar-user] OWAMP build error
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Ramkumar GOWRISHANKAR <>
- To:
- Subject: [perfsonar-user] OWAMP build error
- Date: Tue, 22 Sep 2015 22:32:36 -0400
My build is failing with the error below:
-----------------------------------------------------------------------------------------------------------------------------
[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
--------------------------------------------------------------------------------------------------------------------------------------
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
- [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.