All of lore.kernel.org
 help / color / mirror / Atom feed
* Windows make fails
@ 2016-03-18 17:29 Jeff Furlong
  2016-03-20 15:40 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Furlong @ 2016-03-18 17:29 UTC (permalink / raw)
  To: fio@vger.kernel.org

Hi All,
The latest fio version seems to fail building on Windows:

  LINK t/gen-rand
lib/pattern.o: In function `parse_number':
/fio-fio-2.8_win/lib/pattern.c:78: undefined reference to `strcasestr'
collect2: error: ld returned 1 exit status
Makefile:396: recipe for target 't/gen-rand' failed
make: *** [t/gen-rand] Error 1

Also, the Windows builds only seem to pick up the base version number (fio 2.7 or fio 2.8), not the latest git version (fio 2.8-123).  So the last release (e.g. 2.8) build cannot be distinguishable from the latest git version (e.g 2.8-123).

Thoughts on either issue?  Thanks.

Regards,
Jeff



Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice & Disclaimer:

This e-mail and any files transmitted with it may contain confidential or legally privileged information of WDC and/or its affiliates, and are intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the e-mail in its entirety from your system.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows make fails
  2016-03-18 17:29 Windows make fails Jeff Furlong
@ 2016-03-20 15:40 ` Jens Axboe
  2016-03-20 16:41   ` Bruce Cran
  2016-03-21 18:59   ` Jeff Furlong
  0 siblings, 2 replies; 4+ messages in thread
From: Jens Axboe @ 2016-03-20 15:40 UTC (permalink / raw)
  To: Jeff Furlong, fio@vger.kernel.org, Bruce Cran

On 03/18/2016 11:29 AM, Jeff Furlong wrote:
> Hi All,
> The latest fio version seems to fail building on Windows:
>
>    LINK t/gen-rand
> lib/pattern.o: In function `parse_number':
> /fio-fio-2.8_win/lib/pattern.c:78: undefined reference to `strcasestr'
> collect2: error: ld returned 1 exit status
> Makefile:396: recipe for target 't/gen-rand' failed
> make: *** [t/gen-rand] Error 1

Current -git should fix that.

> Also, the Windows builds only seem to pick up the base version number (fio 2.7 or fio 2.8), not the latest git version (fio 2.8-123).  So the last release (e.g. 2.8) build cannot be distinguishable from the latest git version (e.g 2.8-123).

Someone more knowledgable on the windows build needs to answer that... 
Bruce, would adding the -git version be easy enough to do? It's 
available in the FIO_VERSION define.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows make fails
  2016-03-20 15:40 ` Jens Axboe
@ 2016-03-20 16:41   ` Bruce Cran
  2016-03-21 18:59   ` Jeff Furlong
  1 sibling, 0 replies; 4+ messages in thread
From: Bruce Cran @ 2016-03-20 16:41 UTC (permalink / raw)
  To: Jens Axboe, Jeff Furlong, fio@vger.kernel.org

On 3/20/16 9:40 AM, Jens Axboe wrote:

> Someone more knowledgable on the windows build needs to answer that...
> Bruce, would adding the -git version be easy enough to do? It's
> available in the FIO_VERSION define.

The Windows fio binary should have the full version - I'll check when I 
get some time.

-- 
Bruce


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Windows make fails
  2016-03-20 15:40 ` Jens Axboe
  2016-03-20 16:41   ` Bruce Cran
@ 2016-03-21 18:59   ` Jeff Furlong
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Furlong @ 2016-03-21 18:59 UTC (permalink / raw)
  To: Jens Axboe, fio@vger.kernel.org, Bruce Cran

The current git fixes the Windows build error.

However, the current git build on Windows only shows fio version 2.8.

Regards,
Jeff


-----Original Message-----
From: Jens Axboe [mailto:axboe@kernel.dk] 
Sent: Sunday, March 20, 2016 8:41 AM
To: Jeff Furlong <jeff.furlong@hgst.com>; fio@vger.kernel.org; Bruce Cran <bruce@cran.org.uk>
Subject: Re: Windows make fails

On 03/18/2016 11:29 AM, Jeff Furlong wrote:
> Hi All,
> The latest fio version seems to fail building on Windows:
>
>    LINK t/gen-rand
> lib/pattern.o: In function `parse_number':
> /fio-fio-2.8_win/lib/pattern.c:78: undefined reference to `strcasestr'
> collect2: error: ld returned 1 exit status
> Makefile:396: recipe for target 't/gen-rand' failed
> make: *** [t/gen-rand] Error 1

Current -git should fix that.

> Also, the Windows builds only seem to pick up the base version number (fio 2.7 or fio 2.8), not the latest git version (fio 2.8-123).  So the last release (e.g. 2.8) build cannot be distinguishable from the latest git version (e.g 2.8-123).

Someone more knowledgable on the windows build needs to answer that... 
Bruce, would adding the -git version be easy enough to do? It's available in the FIO_VERSION define.

--
Jens Axboe

Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice & Disclaimer:

This e-mail and any files transmitted with it may contain confidential or legally privileged information of WDC and/or its affiliates, and are intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the e-mail in its entirety from your system.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-21 18:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 17:29 Windows make fails Jeff Furlong
2016-03-20 15:40 ` Jens Axboe
2016-03-20 16:41   ` Bruce Cran
2016-03-21 18:59   ` Jeff Furlong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.