Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX® Momentics® Command Line Tools Windows Vista Patch (Patch ID 522) Release Notes

QNX® Momentics® Command Line Tools

Date of this edition: March 21, 2007

Target OS: QNX® Neutrino® 6.3.0 SP3 with or without the Core OS 6.3.2A

Host OS: Microsoft Windows Vista


Note: For the most current version of these release notes, go to our website (www.qnx.com), log in to your myQNX account, and then go to the Download Center.

Contents

Throughout this document, you may see reference numbers associated with particular issues, changes, and so on. When corresponding with our Technical Support staff about a particular issue, please quote the relevant reference number. You might also find the reference numbers useful for tracking issues as they progress and become resolved.

What's included in this patch?

This patch provides you with Windows Vista support for the QNX win32 SDK. It includes an updated version of the core file cygwin1.dll, uname.exe, and bash.exe. These files are installed in host\win32\x86\usr\bin\ under your base installation directory for QNX Momentics.

Resolved issues

The following problems have been resolved:

  • For Windows Vista, when building a BSP from source, you will receive the following build error and the build process will not continue:

    File not found.

    This problem was resolved by updating the file bash.exe. (Ref# 44569)

  • If you run setupbsp with the command uname -s for Windows Vista, you received the error message: "This OS is not supported." Consequently, simplified BSPs couldn't be installed.

    This issue was seen using setupbsp. Setupbsp calls the uname utililty. Windows Vista was not supported on previous versions of uname. Support has been added to the new uname utility software. (Ref# 44096)

  • Because no QNX Momentics SDK will function without an updated Cygwin for the new Windows Vista OS, the cygwin1.dll was updated. (Ref# 43125)
  • If you use Windows Vista and you attempted to execute a script or run a command line utility, occasionally you might receive the following error, and the script or command will abort:

    c:\QNX630\host\win32\x86\usr\bin\bash.exe: *** heap allocated but not at
    0x2CE0000
         83 [main] bash 3764 sync_with_child: child 2068(0x19C) died before
    initialization with status code 0x1
       4791 [main] bash 3764 sync_with_child: *** child state waiting for longjmp
    ./prod_details.sh: fork: Resource temporarily unavailable#

    This problem was resolved by updating the file bash.exe. (Ref# 43190)

Known issues

The following topics describe the known issues with QNX software, and third party software:

  • Windows Vista includes a new account policy, called User Account Control (UAC), that will impact various administrative features, such as being able to create and store files in a temporary directory (tmp). This directory is used by various applications, such as, CVS and the split command, and various Photon applications. To successfully run these applications on a computer running Windows Vista, you must have administrator privileges and disable UAC. (Ref # 44027)

    Workaround: To disable UAC on your Windows Vista configuration:

    1. Click Start-->Settings-->Control Panel.
    2. Under User Accounts and Family Safety, select Add or remove user accounts.
    3. Select one of the user accounts from the list. For example, Guest account.
    4. Select Go to the main User Account Page.
    5. Under Make changes to your user account, select Change security settings.
    6. For the Use User Account Control (UAC) to help protect your computer option, clear this checkbox so that it is not selected.
    7. Reboot your computer for these changes to take effect.
  • For Windows XP, the location that the BSP file for the IDE installs into is $QNX_CONFIGURATION/qconfig_directory, and it is write-protected for a default user. Consequently, subsequent updates to BSPs aren't permitted in this location because of permission errors under Windows Vista configurations if the user does not have administrative permissions. (Ref # 44668)

    Workaround: Modify your user permissions. For instructions about changing these permissions, see the steps in the workaround for the problem called "Windows Vista User Account Policy restricts use of some applications" in the "Known Issues" section of these Release Notes.

  • The Windows installation includes various executables that have the same name as some QNX utilities, such as find, sort, and split. By default, Windows places the path to the Windows executables at the beginning of the Windows PATH Environment variable, and the QNX executables appear afterward. This means that when you run these utilities from the command line, instead of using the QNX version, the PATH variable uses the Windows version. (Ref # 44457)

    Workaround: If you want to use the QNX utilities for find, sort, and split from a command prompt or shell prompt, you will need to specify a fully qualified path to any of the QNX executables.

  • The current version of ctags is 5.5.4 and the documentation included with QNX does not accurately describe the features for this particular version. (Ref # 44457)

    Workaround: For detailed information about the version 5.5.4 of ctags, see the detailed documentation at the following link: http://ctags.sourceforge.net/ctags.html.

  • For Windows Vista, you received the following error messages two times when using Ctags because the Windows sort was being used instead of the sort utility included in QNX Momentics:

    "Input file specified" "ctags: cannot sort tag file : No error"

    Ctags was returning these errors because the Windows sort was being used instead of the QNX sort utility. The ctags utility will continue to generate tag files; however, they won't be sorted. (Ref# 43530)

    Workaround: You will need to manually call the QNX sort on the tags file.

Technical support

If you have any questions, comments, or problems with a QNX product, please contact Technical Support. For more information, see the How to Get Help chapter of the Welcome to QNX Momentics guide or visit our website, www.qnx.com.