Compiling Gobi drivers under RHEL 6.9 x86_64

Hi.

I would like to share with you my experience of compiling drivers for wireless module MC7355.
The following info represents my trials to compile and install GobiSerial and GobiNet drivers.

Details are structured in YAML format. For general overview, you can use your favorite programming editor to collapse / fold the code at indentation level 3.

From the results it is clear that under RHEL 6.9 x86_64 you can use drivers:
from: S2.26N2.38
backwards to: S2.20N2.27

- OS: RHEL 6.9 x86_64                
- kernel: 2.6.32-696.el6.x86_64                                                         
compilation tools:
    - gcc-4.4.7-18.el6.x86_64
    - make-3.81-23.el6.x86_64
    - autoconf-2.63-5.1.el6.noarch
- service stopped: ModemManager
- driver blacklisted: qmi_wwan, qcserial
driver:
    version:
        S2.31N2.50:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.30N2.48:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.29N2.47:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.29N2.46:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.29N2.45.1:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.28N2.44:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.28N2.43:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.28N2.42:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.27N2.41:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.27N2.40:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.26N2.39:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Failure
        S2.26N2.38:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.25N2.36:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.25N2.35:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.25N2.34:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.24N2.33:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.23N2.31:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.23N2.30:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.22N2.29:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success
        S2.20N2.27:
            compiling GobiSerial:
                - result: Success
            compiling GobiNet:
                - result: Success