Incompatiblity of the code due to CC compiler version mismatch.


 
Thread Tools Search this Thread
Top Forums Programming Incompatiblity of the code due to CC compiler version mismatch.
# 8  
Old 12-11-2012
Do you by any chance have both gcc and Sun studio cc on these machines?

On machine B please show the output of (run this as root if you can)
Code:
find / -type f -name 'libfunctor2312d10g*'  2>/dev/null

One machine A, please run the same command. Please post both results.
# 9  
Old 12-11-2012
yes i have run the command on both Machine A and Machine B

I am giving the Part of the output as its a huge output.is it ok.

Machine B:
# find / -type f -name 'libfunctor2312d10g*' 2>/dev/null
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/middleware_cpp/prospect_core/8.0.7.10.01/server/pm/lib/tp/libfunctor2312d10g .so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/middleware_cpp/prospect_core/8.0.7.10.01/server/pm/lib/ln/rwav/libfunctor231 2d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/middleware_cpp/lucent_cdma/7.5.4.0.08/server/pm/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/middleware_cpp/lucent_cdma/7.5.4.0.08/server/pm/lib/ln/sunw/libfunctor2312d1 0g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/middleware_cpp/lucent_cdma/7.5.4.0.12/server/pm/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/middleware_cpp/lucent_cdma/7.5.4.0.12/server/pm/lib/ln/sunw/libfunctor2312d1 0g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/thirdparty/prospect_core/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/thirdparty/prospect_core/lib/ln/rwav/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/thirdparty/lucent_cdma/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEW ARE/thirdparty/lucent_cdma/lib/ln/sunw/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P7/backup/pm/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P7/backup/pm/lib/ln/rwav/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P6/backup/pm/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P6/backup/pm/lib/ln/rwav/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P8/backup/pm/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P8/backup/pm/lib/ln/rwav/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/38.0.2.0.04/staging/core/7.5.3.0.07/pm/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/38.0.2.0.04/staging/core/7.5.3.0.07/pm/lib/ln/sunw/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/39.0.2.0.02/staging/core/7.5.4.0.12/pm/lib/tp/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/39.0.2.0.02/staging/core/7.5.4.0.12/pm/lib/ln/sunw/libfunctor2312d10g.so
/u03/NWWLS_NETWORK/net/rtp-netapp1/vol/build/nwwls/devspace/thirdparty/SunOS/5.8/Forte6U2/rwav/ed9u1_10g/lib/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/thirdparty/SunOS/5.8/Forte6U2/rwav/ed9u1_10g/lib/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P6/backup/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P6/backup/pm/lib/ln/rwav/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P8/backup/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P8/backup/pm/lib/ln/rwav/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P7/backup/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P7/backup/pm/lib/ln/rwav/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/39.0.2.0.02/staging/core/7.5.4.0.12/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/39.0.2.0.02/staging/core/7.5.4.0.12/pm/lib/ln/sunw/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/38.0.2.0.04/staging/core/7.5.3.0.07/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/prospect/lucent_cdma/qa/38.0.2.0.04/staging/core/7.5.3.0.07/pm/lib/ln/sunw/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/thirdparty/lucent_cdma/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/thirdparty/lucent_cdma/lib/ln/sunw/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/thirdparty/prospect_core/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/thirdparty/prospect_core/lib/ln/rwav/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.12/server/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.12/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.08/server/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.08/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.10.01/server/pm/lib/tp/libfunctor2312d10g.so
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.10.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so


on Machine A:

/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/thirdparty/prospect_core/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/thirdparty/lucent_cdma/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/nightly/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.6.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.5.4.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.5.5.07/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/Core8.0.4.1.1/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/Core8.0.5.0.7/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.6.0.13/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.6.4.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.5.8.04/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.0.13/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.6.2.03/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.6.1.03/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.6.5.03/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.6.7.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.8.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.1.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.2.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.4.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.3.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.6.8.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.8.03/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.5.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.9.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.7.03/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.8.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.0.14/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.9.02/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.9.03/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.10.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/30.0.2.10.01/server/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/nightly/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.07/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.4.9.0.03/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.4.9.0.04/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.4.9.0.05/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.4.9.0.06/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.4.10.0.01/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.01/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.02/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.03/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.04/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.05/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.06/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.08/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.09/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.10/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.11/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.12/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.0.0.13/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.1.0.01/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.1.0.02/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.1.0.03/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.1.0.04/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.1.0.05/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.2.0.00/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.2.0.01/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.2.0.02/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.2.0.03/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.00/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.01/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.02/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.03/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.04/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.05/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.06/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.3.0.07/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.00/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.01/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.02/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.03/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.04/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.05/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.4.0.06/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.5.0.01/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/lucent_cdma/7.5.5.0.02/server/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/SCHEMA/lucent_cdma/base/7.4.6.0.10/pm/lib/ln/sunw/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P6/backup/pm/lib/ln/rwav/libfunctor2312d10g.so
/export/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P7/backup/pm/lib/ln/rwav/libfunctor2312d10g.so

---------- Post updated at 10:12 PM ---------- Previous update was at 10:06 PM ----------

I could see some options on compililation(Machine B) like this

/opt/SUNWspro/bin/CC -temp=/tmp -G -norunpath -fast -xtarget=ultra -xarch=v8plusa -DENABLE_ASSERT -mt -library=%none -PIC -DRW_MULTI_THREAD -D_RWCONFIG=12d10g -D_RWCONFIG_12d10g .....etc


is there any way i can change the compilation options on Machine B to get the code working on Machine C
# 10  
Old 12-12-2012
Wow those directories are waaay to deep. Whoever did that was not afraid of PATH_MAX.

You have two different versions of middleware. While trying what I am showing you, be sure sure you find a common and correct release level of the libraries. Maybe it is: libbfunctor.so. in the 7.5.5.0.02 subdirectory -- this must match the current production version of the library.

Anyway - you have coerce the linker ld into using directory names that match what is on the problem server, even if they are not real on the compile server

Here is one way:

Library names are often symlinks. Like /usr/lib/libc.so is usually a symlink that points to the current version of libc, like maybe libc.so.4.2.1.

You need to trick the linker into using names it can find on the other box. This means two separate compiles with two makefiles, one the old way, one the new way to get around this nonsense for the problem machine. You already know the old way.

Those names are beyond absurdly long, so here is an example using sane paths.
Let's say you compile on machine A. And link to libfunctor.so which is really:
Code:
/usr/path/to/libc/libfunctor.so.1234 
# where it is a symlink
/usr/path/to/libc/libfunctor.so -> /usr/path/to/libc/libfunctor.so.1234

Now we know that
Code:
/usr/path/to

does not exist on one machine. So, on the compile machine we create a dummy directory that just has some symlinks in it.

We also know that on the problem machine the path to a libfunctor library we can use is
/opt/foo/gargle/libfunctor.so.1234 (HAS TO BE the SAME version as on the compile box).

This does not exist yet on the compile box. So. On the compile box we are going one make one via a symlink:
Code:
mkdir -p /opt/foo/gargle
ln-s /usr/path/to/libc/libfunctor.so.1234 /opt/foo/gargle/libfunctor.so.1234

Do the same for each library - I think there just two.

Change the -L command in your new makefile to point
Code:
-L /opt/foo/gargle

Run the new makefile. You can tell the compiled versions apart by running the command
Code:
ldd myprogname | grep libfunctor

Distribute the one that uses /opt/foo/gargle to the box that has /opt/foo/gargle/

You now know why installing software onto any old directory tree name on different UNIX boxes: is a pain in the butt.
# 11  
Old 12-12-2012
yes we have diffrent versions.

i didn't get what was the problem here,

Is it with Compiler or OS or Processor

I have searched for libfunctor.so /usr

find . -name "*libfunctor.so *

i could not see any results Smilie

Thanks
Revathi





---------- Post updated at 01:11 AM ---------- Previous update was at 12:35 AM ----------

ldd -r DDQueryEnv.so.1 on the production server for both on Machine A's and,Machine B's are using the same
libfunctor2312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libfunctor2312d10g.so

in there respective paths
# 12  
Old 12-12-2012
I know this is confusing. Giving you an example did not work. These are your requirements:
(try requirement 1a first)
1. All machines need to have exactly the pathnames to libraries
1a: Or all binaries have to know how to find the libraries
2. The actual names you set up have to exist everywhere.


You achieve 1a a single way:
LD_LIBRARY_PATH variable that shows how to find the library you want. This has to be in the environment variable set up for any user that runs the code: .profile, .bashrc, etc.

Example LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/path/to/library:${LD_LIBRARY_PATH}

"/path/to/library" is an example do not use it.

I can not know which if that jumble of output for libfunctorxxxxxx is where the correct library is. I AM GUESSING.

You will select the path that exists on the machine the process runs on
if
Code:
/export/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P6/backup/pm/lib/ln/rwav/libfunctor2312d10g.so

exists:
Code:
export LD_LIBRARY_PATH=/export/build/nwwls/devspace/cm/delivered/prospect/prospect_core/Patches/8.0.7/P6/backup/pm/lib/ln/rwav/:${LD_LIBRARY_PATH}

if
Code:
/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.10.01/server/pm/lib/tp/libfunctor2312d10g.so

then
Code:
export LD_LIBRARY_PATH=/u04/net/rtp-netapp1/vol/build/nwwls/devspace/cm/delivered/MIDDLEWARE/middleware_cpp/prospect_core/8.0.7.10.01/server/pm/lib/tp/:${LD_LIBRARY_PATH}

You do this on all 3 machines. You validate this by setting LD_LIBRARY_PATH, and executing the command
Code:
ldd example_program_name

where example_program_name is the name of your compiled code file
Keep twiddling the LD_LIBRARY_PATH until all libraries show in the ldd output.




You achieve #1 two possible ways
Way #1. Add symbolic links as paths on the production box to match development
-- this requires no change in compilation

Way #2: Add symbolic links (extra set of paths to libraries) on development, AND
change the link statement to follow the new symbolic path.
-- requires that you change compilation -- you have two make files
# 13  
Old 12-12-2012
yes ....
All Paths are set

for example i have taken one file and did the ldd
libxml.so of Machine A on Machine C

#ldd libxml.so

libaio.so.1 => /usr/lib/libaio.so.1
libkstat.so.1 => /usr/lib/libkstat.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
librt.so.1 => /usr/lib/librt.so.1
libthread2412d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libthread2412d10g.so
libitc2312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libitc2312d10g.so
libfunctor2312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libfunctor2312d10g.so
libfunctor_list2312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libfunctor_list2312d10g.so
libfunctor_map2312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libfunctor_map2312d10g.so
libpointer2512d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libpointer2512d10g.so
libsync2412d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libsync2412d10g.so
libthrexcept2312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libthrexcept2312d10g.so
libtrace2312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libtrace2312d10g.so
libstd4112d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libstd4112d10g.so
libtls71012d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libtls71012d10g.so
libdbt6312d10g.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/ln/sunw/libdbt6312d10g.so
libexpat.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/tp/libexpat.so
libWmEncoding.so => /u01/apps/WatchMark/FlexPM/R401BED2G1/pm/lib/wm/libWmEncoding.so
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libmd.so.1 => /usr/lib/libmd.so.1
libscf.so.1 => /usr/lib/libscf.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libdoor.so.1 => /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libm.so.2 => /usr/lib/libm.so.2
/lib/libm/libm_hwcap1.so.2
/platform/sun4v/lib/libc_psr.so.1
/platform/sun4v/lib/libmd_psr.so.1

libxml.so of Machine B on Machine C

#ldd libxml.so

libaio.so.1 => /usr/lib/libaio.so.1
libkstat.so.1 => /usr/lib/libkstat.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
librt.so.1 => /usr/lib/librt.so.1
libthread2412d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libthread2412d10g.so
libitc2312d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libitc2312d10g.so
libfunctor2312d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libfunctor2312d10g.so
libfunctor_list2312d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libfunctor_list2312d10g.so
libfunctor_map2312d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libfunctor_map2312d10g.so
libpointer2512d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libpointer2512d10g.so
libsync2412d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libsync2412d10g.so
libthrexcept2312d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libthrexcept2312d10g.so
libtrace2312d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libtrace2312d10g.so
libstd4112d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libstd4112d10g.so
libtls71012d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libtls71012d10g.so
libdbt6312d10g.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/ln/sunw/libdbt6312d10g.so
libexpat.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/tp/libexpat.so
libWmEncoding.so => /u01/apps/WatchMark/FlexPM/R39PSLBLD1/pm/lib/wm/libWmEncoding.so
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libmd.so.1 => /usr/lib/libmd.so.1
libscf.so.1 => /usr/lib/libscf.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libdoor.so.1 => /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libm.so.2 => /usr/lib/libm.so.2
/lib/libm/libm_hwcap1.so.2
/platform/sun4v/lib/libc_psr.so.1
/platform/sun4v/lib/libmd_psr.so.1
The .so files could able to link the binaries of same version
But the application when started with some command on command line of C is not initiated
Any solution to the problem is helpful and appreciable.Thanks in advance.

The .so files are taking files from there respective workspaces on same server(R39PSLBLD1,R401BED2G1 these two are diffrent workspaces for code BUild on Machine B, Machine A respectively)

Thanks,
Revathi R

---------- Post updated at 08:33 AM ---------- Previous update was at 07:43 AM ----------

on The Machine A when i ve run the command


#/net/rtp-netapp1/vol/build/nwwls/devspace/thirdparty/SunOS/5.8/Studio8rev2/SUNWspro/bin/fpversion
A SPARC-based CPU is available.
Kernel says CPU's clock rate is 450.0 MHz.
Kernel says main memory's clock rate is 112.5 MHz.
Sun-4 floating-point controller version 0 found.
An UltraSPARC chip is available.
Use "-xtarget=ultra2 -xcache=16/32/1:4096/64/1" code-generation option.
Hostid = 0x80F00203.



On Machine B

/opt/SUNWspro/bin/fpversion
A SPARC-based CPU is available.
Kernel says CPU's clock rate is 2847.9 MHz.
Sun-4 floating-point controller version 0 found.
An UltraSPARC chip is available.
Use "-xtarget=generic -xcache=generic" code-generation option.
Hostid = 0x85D6F7A6.


but any way i am setting in "-xtarget=ultra" in Makefile will it be a problem


Any solution to the problem is helpful and appreciable.Thanks in advance.


Thanks,
Revathi R
# 14  
Old 12-12-2012
Seems as if this is more complex than just a machine architecture issue. But there's a simple test you can do quickly.

Offhand, I'd think the code compiled with "xtarget=ultra2" should work fine on a SPARC T4 machine. Can you compile a simple "Hello world" binary on the Ultra 2 box with that "xtarget=ultra2" or even just the simple "-fast" option and see how it runs on the SPARC T4 servers?

If that doesn't work, try "xtarget=generic" on the Ultra 2 server.

And FWIW, the "xtarget" option has to come after the "-fast" on the command line. Basically, when you use "-fast" and a bunch of other options to compile, always put "-fast" first because if you don't it will override a lot of other command line options.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need fix for rsync Error due to version mismatch

rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -t -a -x' /web/admin/Transfer/data/ user1@destserver1:/tmp/testf rsync version on sender server is:3.0.9 rsync version on sender server is:3.0.6 Linux sourceserver1 3.10.0-693.17.1.el7.x86_64 #1 SMP Sun Jan 14 10:36:03 EST... (1 Reply)
Discussion started by: mohtashims
1 Replies

2. Linux

Linking issue due to so version number

Hi all, currently I'm facing a issue in linking a .so file. In my build machine, I've libcrypto.so.6 and there is a softlink as libcrypto.so. In my make file I'm trying to link to the lib using -L -lcrypto and it is success and created my test.exe. When I copy this test.exe to other... (4 Replies)
Discussion started by: vijkrr
4 Replies

3. AIX

Checking xlc compiler version

Hi, Below is output of lslpp command. bash-3.00# lslpp -L | grep xlC xlC.aix50.rte 11.1.0.1 C F XL C/C++ Runtime for AIX 5.3 xlC.cpp 9.0.0.0 C F C for AIX Preprocessor xlC.msg.en_US.cpp 9.0.0.0 C F C for AIX... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

4. Programming

Choose compiler version

Hi, I'm new, here, and I'm searching for a simple solution for a simple problem. I'm working on RedHat 4.4.6-4 through a CentOS Virtual Machine and due to some reasons I must compile my C++ codes with these two different g++ versions: 4.4.6 and 4.2.2. The fact is that I should be able to... (4 Replies)
Discussion started by: Marcuss
4 Replies

5. Solaris

java version mismatch for normal user and root user

:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version What should I do to fix this ...should show the latest version... (3 Replies)
Discussion started by: frintocf
3 Replies

6. AIX

install two different compiler version

Hi all. I have a simple question. There's a way to install under AIX system (5.3) two different compiler version, i.e. ibm xlf fortran 11 and 12? Seems that smitty doesn't allows user to change the default installation path; it only allows you to save the replaced files of the superseded... (1 Reply)
Discussion started by: poldo000
1 Replies

7. AIX

how to find out the compiler version and OS from binary file

Command to get the Compiler version(xlc/gcc) from the binary on AIX platform. I m searching for the Command, to get the Compiler(xlc/gcc) used to build the binary on AIX. I got two commands used on Linux Platform: - readelf -a <lib> | grep comment - hexdump -C -s 0x49e7b -n 1812 <lib> ... (1 Reply)
Discussion started by: Prajakta
1 Replies

8. UNIX for Dummies Questions & Answers

What version is the compiler?

Hi ! we have a intel fortran compiler on our computer. How do i find out what version it is ? Thank you, dsmv. (1 Reply)
Discussion started by: dsmv
1 Replies

9. Solaris

X Keyboard Extension version mismatch

I want to use calls from the X Keyboard Extension, but get "library version mismatch" error. First one is XkbLibraryVersion(..). This one already returns false. Then I call XkbOpenDisplay(...) which does not return a valid display; return value is XkbOD_NonXkbServer. If I open the display with... (0 Replies)
Discussion started by: hiker04
0 Replies

10. UNIX for Dummies Questions & Answers

gcc compiler version?

How do you determine which version of the GNU gcc compiler is on your system? (1 Reply)
Discussion started by: Ben070371
1 Replies
Login or Register to Ask a Question