ndt-dev - [ndt-dev] Re: build error NDT 3.6.5.1
Subject: NDT-DEV email list created
List archive
- From: Ian Gable <>
- To: Kavitha Kumar <>
- Cc: Alan Whinery <>,
- Subject: [ndt-dev] Re: build error NDT 3.6.5.1
- Date: Mon, 13 Aug 2012 20:59:26 -0700
Hi Kavitha,
3.6.5.1 web100clt builds and works fine on SL 6.2
I ran into this build error on OSX Lion.
utils.c:123:2: error: void function 'err_sys' should not return a value
[-Wreturn-type]
return -1;
This was present in previous versions but the latest OSX gcc seems to have
become more strict. Deleting the 'return -1' looks to fix the problem.
To be verbose, here's the patch:
https://gist.github.com/3346100
FYI I noticed utils.c changed from using 4 spaces to tabs for the indentation
between 3.6.4 to 3.6.5.2.
Thanks,
Ian
On 2012-08-13, at 10:46 AM, Kavitha Kumar wrote:
> Hi all,
>
> The RPMS/source distribution of 3.6.5.2 are available here:
> http://patdev2.internet2.edu/
>
> It would be great if I could get feedback on how these build on your
> environment and or/run after installation.
>
> Thanks!
> Kavitha
>
> ----- Original Message -----
>> From: "Aaron Brown"
>> <>
>> To: "Ian Gable"
>> <>
>> Cc: "Alan Whinery"
>> <>,
>>
>>
>> Sent: Thursday, August 9, 2012 5:43:47 PM
>> Subject: Re: build error NDT 3.6.5.1
>>
>> Hi Ian,
>>
>>
>> It looks like a regression got added when the logging functionality
>> was added. We'll look into get a fix out in short order.
>>
>>
>> Cheers,
>> Aaron
>>
>>
>>
>> On Aug 9, 2012, at 5:39 PM, Ian Gable wrote:
>>
>>
>>
>> Hi Alan,
>>
>> I'm only looking to compile the client tools (web100clt). The
>> configure script appears to detect this:
>>
>> <snip>
>> *** Client Tools - complete
>> * web100clt: YES
>>
>> *** Server Tools - incomplete
>> * fakewww: NO (missing web100 library)
>> * web100srv: NO (missing web100 library)
>> * Tcpbw100.jar: YES
>>
>> *** Administrative Tools - incomplete
>> * analyze: NO (missing web100 library)
>> * viewtrace: NO (missing web100 library)
>> * tr-mkmap: NO (missing web100 library)
>> * genplot: NO (missing web100 library)
>> * JAnalyze.jar: YES
>> * Admin.class: YES
>> </snip>
>>
>> Note that web100clt from NDT 3.6.4 compiled and worked fine on OSX.
>>
>> Cheers,
>>
>> Ian
>>
>>
>>
>> On 2012-08-09, at 2:27 PM, Alan Whinery wrote:
>>
>>
>>
>> Hi Ian,
>>
>>
>>
>>
>>
>> NDT requires a web100 patched kernel, and web100 userland libs.
>>
>>
>>
>>
>>
>> There is no web100 patch for any Mac OS kernel, only Linux. You may
>> be
>>
>>
>> able to apply patches to the Sci-Linux kernel, depending on the
>> source.
>>
>>
>>
>>
>>
>> On 8/9/2012 11:08 AM, Ian Gable wrote:
>>
>>
>>
>>
>> Hi All,
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> When I go to build NDT 3.6.5.1 on both OSX Lion (gcc version 4.2.1)
>> or Scientific Linux 6.2 (gcc version 4.4.6) I get the following
>> error:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> In file included from logging.c:23:
>>
>>
>>
>>
>> testoptions.h:51: error: expected specifier-qualifier-list before
>> ‘web100_snapshot’
>>
>>
>>
>>
>> testoptions.h:54: warning: struct has no members
>>
>>
>>
>>
>> testoptions.h:63: error: expected declaration specifiers or ‘...’
>> before ‘web100_agent’
>>
>>
>>
>>
>> testoptions.h:65: error: expected declaration specifiers or ‘...’
>> before ‘web100_agent’
>>
>>
>>
>>
>> testoptions.h:72: error: expected declaration specifiers or ‘...’
>> before ‘web100_agent’
>>
>>
>>
>>
>> testoptions.h:74: error: expected declaration specifiers or ‘...’
>> before ‘web100_connection’
>>
>>
>>
>>
>> testoptions.h:75: error: expected declaration specifiers or ‘...’
>> before ‘web100_group’
>>
>>
>>
>>
>> testoptions.h:80: error: expected ‘)’ before ‘*’ token
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Complete output of configure and make available here (from the
>> Scientific Linux build 6.2):
>>
>>
>>
>>
>> https://gist.github.com/3307972
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Note 3.6.4 built fine on both platforms.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Let me know if this mail should have gone to net-dev
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Cheers,
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Ian
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>>
>>
>>
>> Ian Gable
>>
>>
>>
>>
>> HEPnet Canada Technical Manager
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> +1 250 721 7728
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Ian Gable
>> HEPnet Canada Technical Manager
>>
>> +1 250 721 7728
>>
>>
>>
>>
>>
>>
>>
>>
>> Internet2 Fall Member Meeting
>> Sep 30-Oct 4, 2012 - Philadelphia, PA
>> http://events.internet2.edu/2012/fall-mm/
>>
--
Ian Gable
HEPnet Canada Technical Manager
+1 250 721 7728
- [ndt-dev] Re: build error NDT 3.6.5.1, Kavitha Kumar, 08/13/2012
- [ndt-dev] NDT 3.6.5.2 + ODBC, Tom Throckmorton, 08/13/2012
- [ndt-dev] Re: NDT 3.6.5.2 + ODBC, Tom Throckmorton, 08/13/2012
- [ndt-dev] Re: NDT 3.6.5.2 + ODBC, Kavitha Kumar, 08/14/2012
- [ndt-dev] Re: NDT 3.6.5.2 + ODBC, Tom Throckmorton, 08/15/2012
- [ndt-dev] Re: NDT 3.6.5.2 + ODBC, Kavitha Kumar, 08/14/2012
- [ndt-dev] Re: NDT 3.6.5.2 + ODBC, Tom Throckmorton, 08/13/2012
- [ndt-dev] Re: build error NDT 3.6.5.1, Ian Gable, 08/13/2012
- [ndt-dev] Re: build error NDT 3.6.5.1, Ian Gable, 08/23/2012
- [ndt-dev] Re: build error NDT 3.6.5.1, Kavitha Kumar, 08/23/2012
- [ndt-dev] Re: build error NDT 3.6.5.1, Ian Gable, 08/23/2012
- [ndt-dev] NDT 3.6.5.2 + ODBC, Tom Throckmorton, 08/13/2012
Archive powered by MHonArc 2.6.16.