bugGNU Octave - Bugs: bug #60746, win32 version on Vista32bit

 
 

bug #60746: win32 version on Vista32bit

Submitted by:  None
Submitted on:  Mon 07 Jun 2021 03:43:38 PM UTC  
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  mario medugno Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  6.2.90
Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Thu 17 Jun 2021 02:29:26 PM UTC, comment #4: 

No reaction in over a week.

Closing as fixed.

Markus Mützel <mmuetzel>
Project Member
Tue 08 Jun 2021 07:28:03 AM UTC, comment #3: 

I pushed an additional change to the default branch that allows using the newer Windows API function directly:
https://hg.savannah.gnu.org/hgweb/octave/rev/6c76819255cb

Markus Mützel <mmuetzel>
Project Member
Mon 07 Jun 2021 08:53:30 PM UTC, comment #2: 

I pushed a patch to stable here that might fix this issue on Windows Vista:
https://hg.savannah.gnu.org/hgweb/octave/rev/35389a23d09a

I don't have a Windows Vista system. So, I can't test myself.
I would be happy if you could test with a nightly build from tomorrow (2021-June-08) or later to check if it works for you.
You can download a nightly build from here:
https://buildbot.octave.space/#/download

Please note that the Octave 6 series will be the last one to support Windows Vista. Octave 7 will require Windows 7 or newer.

The fact that it took so long for someone to report this bug probably means that there aren't many people that are still using Windows Vista and try to use Octave. That gives me more confidence that the decision to drop support for that OS was right.

Markus Mützel <mmuetzel>
Project Member
Mon 07 Jun 2021 04:59:19 PM UTC, comment #1: 

Thanks for your report.

This seems to be a build system error.

From MSDN:
https://docs.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-enumprocessmodules

> Programs that must run on earlier versions of Windows as well as Windows 7 and later versions should always call this function as EnumProcessModules. To ensure correct resolution of symbols, add Psapi.lib to the TARGETLIBS macro and compile the program with -DPSAPI_VERSION=1. To use run-time dynamic linking, load Psapi.dll.


We are already linking with `-lpsapi`. But we aren't setting `-DPSAPI_VERSION=1`. That should probably be added to CPPFLAGS in the the configure test for "psapi.h".

Maybe we could still fix this for Octave 6.3.0.

Markus Mützel <mmuetzel>
Project Member
Mon 07 Jun 2021 03:43:38 PM UTC, original submission:  

Running Octave-Gui doesn't start and returns "Unable to find entry point K32EnumProcessModules in Kernel32.dll"

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-17 mmuetzel StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2021-06-08 rik5 StatusConfirmed => Ready For Test
        Release6.2.0 => 6.2.90
    2021-06-07 mmuetzel CategoryGUI => Configuration and Build System
        Item GroupNone => Build Failure
        StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.6