Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX® Software Development Platform 6.6 Networking Patch (Patch ID 4997): Installation Note

Date of this edition: August 28, 2023

Target OS: This patch is compatible with targets that are running QNX® Neutrino® that's based on QNX Software Development Platform 6.6.

Host OS: To apply this patch, you must have installed the QNX Software Development Platform 6.6 on one of the following development hosts:

  • Microsoft Windows 8 Pro 64-bit, Windows 7 Professional 64-bit, or XP Professional SP3
  • Linux Red Hat Enterprise Linux 6 64-bit or Ubuntu Workstation LTS 12.04 32- and 64-bit

Note:

Install the Applypatch Patch (Patch ID 4024) before you install this patch.


This note includes:

For information about the issues that this patch addresses, see the release notes.

Installing this patch


Note:

This patch generates warnings that some headers have older timestamps. However, you can safely ignore these warnings because the files are identical.


  1. Log in as the user who installed QNX SDP 6.6.
  2. On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
  3. Set up your QNX SDP 6.6 environment:
    • On Windows hosts, run:
      base_directory\qnx660-env.bat
    • On Linux hosts, run:
      source base_directory/qnx660-env.sh

    where base_directory is where you installed QNX SDP 6.6.

  4. Download the patch-660-4997-io-pkt.tar archive to your host environment.
  5. Verify that the patch's checksum matches the one given on our website.
  6. Go to the directory where you downloaded the patch. You need to execute the applypatch utility from the same directory where the patch tar file is located.
  7. Use the applypatch utility to install the patch:
    applypatch download_path/patch-660-4997-io-pkt.tar    

    where download_path is the location of the patch file. For more information about applypatch, see its entry in the Utilities Reference.

Installing the updated symbol files (optional)

If you've installed the symbol files for QNX SDP 6.6, you should update them from the accompanying patch-660-4997-io-pkt_debug.tar file that's in the Download area of our website. To install these files, continue from the steps above and do the following:

  1. Download patch-660-4997-io-pkt_debug.tar from the Download area of our website into the working directory of your choice.
  2. Determine the base directory of your QNX SDP installation by using the qconfig command.
  3. cd base_directory/install
  4. tar -xvf path_to_working_dir /patch-660-4997-io-pkt_debug.tar

    The symbol files are installed in patches/660-4997/debug. You can either replace the existing symbol files or direct the debugger to use the files in this directory.

  5. If you want to replace the existing symbol files, back up the following files, which are installed under $QNX_TARGET:
    • target/qnx6/x86/sbin/io-pkt-v4-hc.sym
    • target/qnx6/x86/sbin/io-pkt-v4.sym
    • target/qnx6/x86/sbin/pppoectl.sym
    • target/qnx6/x86/sbin/pfctl.sym
    • target/qnx6/x86/sbin/slattach.sym
    • target/qnx6/x86/sbin/io-pkt-v6-hc.sym
    • target/qnx6/x86/usr/sbin/rtadvd.sym
    • target/qnx6/x86/usr/sbin/pppd.sym
    • target/qnx6/x86/usr/sbin/dhcp.client.sym
    • target/qnx6/x86/usr/sbin/rtsold.sym
    • target/qnx6/x86/usr/sbin/autoipd.sym
    • target/qnx6/x86/lib/dll/lsm-slip.so.sym
    • target/qnx6/x86/lib/dll/devnp-shim.so.sym
    • target/qnx6/x86/lib/dll/lsm-pf-v4.so.sym
    • target/qnx6/x86/lib/dll/lsm-pf-v6.so.sym
    • target/qnx6/x86/lib/libsocket.so.3.sym
    • target/qnx6/x86/lib/libsocketS.a.sym
    • target/qnx6/x86/lib/libsocket.a.sym
    • target/qnx6/armle-v7/sbin/io-pkt-v4-hc.sym
    • target/qnx6/armle-v7/sbin/io-pkt-v4.sym
    • target/qnx6/armle-v7/sbin/pppoectl.sym
    • target/qnx6/armle-v7/sbin/pfctl.sym
    • target/qnx6/armle-v7/sbin/slattach.sym
    • target/qnx6/armle-v7/sbin/io-pkt-v6-hc.sym
    • target/qnx6/armle-v7/usr/sbin/rtadvd.sym
    • target/qnx6/armle-v7/usr/sbin/pppd.sym
    • target/qnx6/armle-v7/usr/sbin/dhcp.client.sym
    • target/qnx6/armle-v7/usr/sbin/rtsold.sym
    • target/qnx6/armle-v7/usr/sbin/autoipd.sym
    • target/qnx6/armle-v7/lib/dll/lsm-slip.so.sym
    • target/qnx6/armle-v7/lib/dll/devnp-shim.so.sym
    • target/qnx6/armle-v7/lib/dll/lsm-pf-v4.so.sym
    • target/qnx6/armle-v7/lib/dll/lsm-pf-v6.so.sym
    • target/qnx6/armle-v7/lib/libsocket.so.3.sym
    • target/qnx6/armle-v7/lib/libsocketS.a.sym
    • target/qnx6/armle-v7/lib/libsocket.a.sym

    and then copy the new symbol files to replace them.

  6. To use the new symbol files in place, you can either:
    • start gdb with the --with-separate-debug-dir=base_directory/install/patches/660-4997/debug option

    or:

    • use the set debug-file-directory base_directory/install/patches/660-4997/debug command in gdb

    For more information on working with debugging information as separate files, see the GDB documentation: https://sourceware.org/gdb/onlinedocs/gdb/.

Uninstalling this patch

  1. Log in as the user who installed QNX SDP 6.6.
  2. On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
  3. Set up your QNX SDP 6.6 environment:
    • On Windows hosts, run:
      base_directory\qnx660-env.bat
    • On Linux hosts, run:
      source base_directory/qnx660-env.sh

    where base_directory is where you installed QNX SDP 6.6.

  4. Use the applypatch utility to uninstall the patch:
    applypatch -U 4997
        

Note: If you installed the updated symbol files, restore the previous versions from the backups you made, and then delete the base_directory/install/patches/660-4997/debug directory and its contents.

Technical support

To obtain technical support for any QNX product, visit the Support area on our website (www.qnx.com). You'll find a wide range of support options, including community forums.