[zeromq-dev] czmq-3.0.2 and selftest build error

hhusp house hhusp at outlook.com
Fri Jun 19 11:47:26 CEST 2015


embarrassed  :-(
Initially I got the error:ziflist.c: In function ‘ziflist_print’:ziflist.c:101: error: ‘for’ loop initial declarations are only allowed in C99 modeziflist.c:101: note: use option -std=c99 or -std=gnu99 to compile your code
So I've added -std=c99 as option however it should be  -std=gnu99
From: hhusp at outlook.com
To: zeromq-dev at lists.zeromq.org
Date: Fri, 19 Jun 2015 11:28:30 +0200
Subject: Re: [zeromq-dev] czmq-3.0.2 and selftest build error




With release czmq-3.0.0 the build of the selftest was ok
> From: ph at imatix.com
> Date: Fri, 19 Jun 2015 11:14:06 +0200
> To: zeromq-dev at lists.zeromq.org
> Subject: Re: [zeromq-dev] czmq-3.0.2 and selftest build error
> 
> Sounds like your box needs to be installed properly... try with an
> older CZMQ on that same box, see if you get warnings and errors.
> 
> On Fri, Jun 19, 2015 at 10:56 AM, hhusp house <hhusp at outlook.com> wrote:
> > Platform: CentOS 6.6 x86_64
> > I've run autogen.sh, configure, make and the make install
> >
> > When I try to build the czmq_selftest:
> >
> > ./selftest
> > Rebuilding czmq_selftest...
> > zarmour.c: In function ‘zarmour_new’:
> > zarmour.c:95: warning: implicit declaration of function ‘strdup’
> > zarmour.c:95: warning: assignment makes pointer from integer without a cast
> > zbeacon.c:48: error: ‘NI_MAXHOST’ undeclared here (not in a function)
> > zbeacon.c: In function ‘s_self_prepare_udp’:
> > zbeacon.c:143: warning: implicit declaration of function ‘getnameinfo’
> >
> > etc.....
> >
> > with release czmq-3.0.0 the build of the selftest was ok
> >
> > regards
> > Rob
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
 		 	   		  

_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150619/e4a9b47a/attachment.htm>


More information about the zeromq-dev mailing list