Compatibility issue between solaris 2.4 and solaris 2.6

Compatibility issue between solaris 2.4 and solaris 2.6

Post by P Rathinave » Thu, 30 Sep 1999 04:00:00



Hi !,

    Could some one help me out in  compatibility issue between solaris
2.4 and solaris 2.6.
    I am getting  the socket related error (specifically my application
server socket status is
    showing as BOUND instead of LISTEN when examine thru
    netstatus -a | grep <socket number>).

    Basically i am tring to run a application in solaris 2.6 which is
being compiled in solaris 2.4.
    Does the application build in 2.4 has compatibility with 2.6?. or Do
i need to installed any
    patch over 2.6  to  get a compatibility?.

    FYI, the other application which is build in 2.4 (not having any
socket related stuff)
    is not at all giving any output in 2.6, it seems to be  hanging in
the loading of library
   (which is build in 2.4 ) itself.

    Compile Env:

      >>uname -a
             SunOS dmsolb1 5.4 Generic_101945-51 sun4m sparc
      >> CC -V
           CC: SC4.0 18 Oct 1995 C++ 4.1
         >>what /usr/ucb/ld:
               ld.sh   1.3     93/01/11 SMI

    Run Env:

           >>showrev :
               Kernel version: SunOS 5.6 Generic 105181-16 June 1999
           >> what /usr/ucb/ld
                   /usr/ucb/ld:
                      ld.sh   1.4     94/10/24 SMI
           >> CC -V
               CC: SC4.0 18 Oct 1995 C++ 4.1

Thanks in advance ,

   with Regards,

            Rathinavel P.

 
 
 

Compatibility issue between solaris 2.4 and solaris 2.6

Post by P Rathinave » Thu, 30 Sep 1999 04:00:00


Hi !,

    Could some one help me out in  compatibility issue between solaris
2.4 and solaris 2.6.
    I am getting  the socket related error (specifically the my
application server socket status
    is showing as BOUND instead of LISTEN when examine thru
    netstatus -a | grep <socket number>).

    Basically i am tring to run a application in solaris 2.6 which is
being compiled in solaris 2.4.
    Does the application build in 2.4 has compatibility with 2.6 ?. or
Do i need to installed any
     patch over 2.6  to  get a compatibility?.

      FYI, another application which build on 2.4 (not having any socket
releated stuff) is seems to
      be* when run on solaris 2.6.It is* at library
lodading , the libraries used in the
      application are also build in2.4.

   Build Env:
   ========

     >> what /usr/ucb/ld
       /usr/ucb/ld:
          ld.sh   1.3     93/01/11 SMI

     >> CC -V
            CC: SC4.0 18 Oct 1995 C++ 4.1

     >> uname -a
            SunOS dmsolb1 5.4 Generic_101945-51 sun4m sparc

    Run Env:
    =======

         >> uname-a
               SunOS -a 5.6 Generic sun4m sparc SUNW,SPARCstation-5

         >> what /usr/ucb/ld
               /usr/ucb/ld:
                   ld.sh   1.4     94/10/24 SMI

         >> CC -V
             CC:SC4.0 18 Oct 1995 C++4.1

Thanks in advance ,

   with Regards,

            Rathinavel P.

 
 
 

Compatibility issue between solaris 2.4 and solaris 2.6

Post by Andrew Gabri » Sat, 02 Oct 1999 04:00:00




Quote:>Hi !,

>    Could some one help me out in  compatibility issue between solaris
>2.4 and solaris 2.6.
>    I am getting  the socket related error (specifically the my
>application server socket status
>    is showing as BOUND instead of LISTEN when examine thru
>    netstatus -a | grep <socket number>).

>    Basically i am tring to run a application in solaris 2.6 which is
>being compiled in solaris 2.4.
>    Does the application build in 2.4 has compatibility with 2.6 ?. or
>Do i need to installed any
>     patch over 2.6  to  get a compatibility?.

Only if it is dynamically linked, not static linked (underlying
socket mechanism changed, but library interfaces didn't).

Quote:>     >> what /usr/ucb/ld
>       /usr/ucb/ld:
>          ld.sh   1.3     93/01/11 SMI

Did you really mean to use the BSD ld?
You should have /usr/ccs/bin in your path before /usr/ucb unless
you are deliberately building BSD-style, which seems unlikely for
C++ source.
You should be using CC to do the linking anyway, not ld directly.

--
Andrew Gabriel
Consultant Software Engineer

 
 
 

1. Compatibility issue between Solaris 2.4 and Solaris 2.6

Hi !,

    Could some one help me out in  compatibility issue between solaris
2.4 and solaris 2.6.
    I am getting  the socket related error (specifically the my
application server socket status
    is showing as BOUND instead of LISTEN when examine thru
    netstatus -a | grep <socket number>).

    Basically i am tring to run a application in solaris 2.6 which is
being compiled in solaris 2.4.
    Does the application build in 2.4 has compatibility with 2.6 ?. or
Do i need to installed any
     patch over 2.6  to  get a compatibility?.

      FYI, another application which build on 2.4 (not having any socket
releated stuff) is seems to
      be hanging when run on solaris 2.6.It is hanging at library
lodading , the libraries used in the
      application are also build in 2.4.

   Build Env:
   ========

     >> what /usr/ucb/ld
       /usr/ucb/ld:
          ld.sh   1.3     93/01/11 SMI

     >> CC -V
            CC: SC4.0 18 Oct 1995 C++ 4.1

     >> uname -a
            SunOS dmsolb1 5.4 Generic_101945-51 sun4m sparc

      Run Env:
    =======

         >> uname-a
               SunOS -a 5.6 Generic sun4m sparc SUNW,SPARCstation-5

         >> what /usr/ucb/ld
               /usr/ucb/ld:
                   ld.sh   1.4     94/10/24 SMI

         >> CC -V
             CC:SC4.0 18 Oct 1995 C++4.1

Thanks in advance ,

   with Regards,

            Rathinavel P.

2. Wabi replacement

3. Jumpstart Question: Solaris 2.6 vs Solaris 2.4

4. Psychoid Xstation 150

5. Linking on Solaris 8 and compatibility with Solaris 2.6

6. network card

7. Compatibility between Solaris 2.5.1 vs. Solaris 2.4

8. applying a perl expression to certain columns of a CSV file

9. Solaris 2.6 & Solaris 7 security issues

10. can't read Solaris 2.6 x86 hard disk on Solaris 2.6 Ultra-1 ?!?

11. Upgrade from Solaris 2.6 with Volume Manager 2.6 to Solaris 8 with Volume Manager 3.2

12. SunOS 5.6 vs Solaris 2.6 vs Solaris 7 vs Solaris 8

13. nfs and 2.4 / 2.6 compatibility