bugGNU Octave - Bugs: bug #43607, octave-forge instrument-control...

 
 

bug #43607: octave-forge instrument-control 0.2.0: doesnt detect winsock

Submitted by:  John Donoghue <lostbard>
Submitted on:  Fri 14 Nov 2014 01:01:59 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: JohnDOpen/Closed: Closed
Release: 3.8.2Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 02 Jan 2015 11:12:58 PM UTC, comment #9:

Fixed with cset 692b01 (http://sourceforge.net/p/octave/instrument-control/ci/692b01dbf00e1eb8c4303fc1a6c65af6e9e03376/)

Closing bugreport as fixed

Andreas Weber <andy1978>
Project Member
Thu 20 Nov 2014 12:38:26 PM UTC, comment #8:

Patch committed.

Stefan Mahr <dac922>
Fri 14 Nov 2014 04:49:07 PM UTC, comment #7:

Works in both mxe-octave 32 and 64, which check for all 3 libs using patch attached.

(file #32436)

John Donoghue <lostbard>
Project Member
Fri 14 Nov 2014 04:33:37 PM UTC, comment #6:

The patch from https://savannah.gnu.org/bugs/index.php?43607#comment4 worked on 32 bit build under mxe-octave (32 bit) so fixes the original bug issue.

I will try 64 bit with the additional check.

John Donoghue <lostbard>
Project Member
Fri 14 Nov 2014 04:27:46 PM UTC, comment #5:

Win64 + mxe64 needs '_head_lib64_libws2_32_a'

Anonymous
Fri 14 Nov 2014 04:04:24 PM UTC, comment #4:

With 64bit-Windows the function _head_libws2_32_a is renamed to _head_lib32_libws2_32_a. Attached patch should fix build for 64bit.

(file #32435)

Anonymous
Fri 14 Nov 2014 03:38:12 PM UTC, comment #3:

Windows 7 with 32 bit build

John Donoghue <lostbard>
Project Member
Fri 14 Nov 2014 01:19:51 PM UTC, comment #2:

winsock is detected, but linking to library doesn't work.

I tested with Win XP only. Are you using 64bit Windows and/or 64bit mxe build?

Anonymous
Fri 14 Nov 2014 01:12:45 PM UTC, comment #1:

Like Octave core, the instrument-control package will disable features and functions if it can't find the required dependencies.

Carnë Draug <carandraug>
Project Member
Fri 14 Nov 2014 01:01:59 PM UTC, original submission:

On installing from octave forge, using mxe-octave 3.8.2, configure doesn't detect winsock.

The package itself installs fine, however none of the functions appear to work (not unexpected for most as it doesn't windows functionality for serial, parallel, i2c etc), including the tcp functions.

John Donoghue <lostbard>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #32436:  win32_64.patch added by lostbard (933B - application/octet-stream)
file #32435:  winsock2_win64.diff added by None (774B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by dac922 (Posted a comment)
  • -unavailable- added by lostbard (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Jan 2015 11:12:58 PM UTCandy1978StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Fri 14 Nov 2014 08:22:40 PM UTClostbardStatusNone=>Patch Submitted
    Fri 14 Nov 2014 04:49:06 PM UTClostbardAttached File-=>Added win32_64.patch, #32436
    Fri 14 Nov 2014 04:04:24 PM UTCNoneAttached File-=>Added winsock2_win64.diff, #32435

    Back to the top


    Powered by Savane 3.1-cleanup1