perfsonar-user - [perfsonar-user] 1.5.1: Needs checking for stdint.h
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Mark Ashley <>
- To: Aaron Brown <>
- Cc: "" <>
- Subject: [perfsonar-user] 1.5.1: Needs checking for stdint.h
- Date: Tue, 20 May 2014 13:57:52 +1000
I'm just going through the porting of it now, there doesn't seem to be a bugs.internet2.edu etc for reporting bugs, just this email list.
Issue: stdint.h not being checked before inclusiondiff -rub bwctl-1.5.1.orig/bwctl/bwctl.c bwctl-1.5.1/bwctl/bwctl.c
--- bwctl-1.5.1.orig/bwctl/bwctl.c Wed Feb 19 03:54:34 2014
+++ bwctl-1.5.1/bwctl/bwctl.c Tue May 20 13:09:35 2014
@@ -30,7 +30,9 @@
*/
#include <stdlib.h>
#include <stdio.h>
+#if defined(HAVE_STDINT_H)
#include <stdint.h>
+#endif
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
diff -rub bwctl-1.5.1.orig/bwlib/bwlibP.h bwctl-1.5.1/bwlib/bwlibP.h
--- bwctl-1.5.1.orig/bwlib/bwlibP.h Tue Feb 18 04:32:36 2014
+++ bwctl-1.5.1/bwlib/bwlibP.h Tue May 20 13:10:26 2014
@@ -38,7 +38,9 @@
#ifndef IPCNTRLP_H
#define IPCNTRLP_H
+#if defined(HAVE_STDINT_H)
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
On Mon, May 19, 2014 at 10:14 PM, Aaron Brown <> wrote:
Hi Mark,
I’m not actually sure about what caused thrulay to not work on SunOS since it’s been quite a while since that was last looked into. It’s currently deprecated so bwctl’s support for it will probably end up being removed in an upcoming release, but i’d still be curious if it works for you on solaris :)
Did you need to make any changes to bwctl itself to port it? If so, I can look into integrating them back into trunk.
Cheers,
Aaron
On May 16, 2014, at 4:10 AM, Mark Ashley <> wrote:
> Hi folks,
>
> Whilst compiling bwctl on Solaris using the Sun Studio compilers:
>
> configure: WARNING: Disabling thrulay support
>
> because:
> 12641 case $uname in
> 12642 SunOS*)
> 12643 with_thrulay=no
> 12644 ;;
> 12645 esac
>
> and on http://software.internet2.edu/bwctl :
>
> "BWCTL compiles on Solaris. However, Thrulay does not work on that
> platform so is not compiled in. If anyone has any interest in updating
> thrulay to work on Solaris let us know."
>
> I've ported thrulay, nuttcp, I2util and iperf3 to Solaris 8, 9, 10 and
> 11, SPARC and i86pc, today, packages are up on:
>
> http://www.ibiblio.org/pub/packages/solaris/sparc/
>
> I didn't do any exercising of the software yet, (that's bwctl's job
> right?), so I was curious if it was something like an ioctl etc that
> didn't work, or simply a porting issue? I ported it kicking and
> screaming, but that's normal for most code from authors who think the
> world is linux :) iperf3 was a lot trickier actually.
>
> Let me know if there's a real issue, otherwise I'll just tweak the
> configure and compile bwctl to use thrulay.
>
> ta,
> Mark.
- [perfsonar-user] 1.5.1: Needs checking for stdint.h, Mark Ashley, 05/20/2014
Archive powered by MHonArc 2.6.16.