Sponsored Content
Top Forums Programming Incompatiblity of the code due to CC compiler version mismatch. Post 302741033 by Revathi R on Friday 7th of December 2012 10:39:07 AM
Old 12-07-2012
Question Incompatiblity of the code due to CC compiler version mismatch.

Incompatiblity of the code due to CC compiler version mismatch.

I have a machine with
Code:
Machine A-- Operating System:SunOs 5.8 Generic_117350-45 sun4u sparc SUNW,Ultra-80(solaris 5.8)
    CC Compiler:CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07
        we have compiled C++ code, generated .so files are working fine on the Machine C --
        Machine C)Operating System:5.10 Generic_147440-03 sun4v sparc sun4v(Solaris 5.10)

Machine B --   Operating System:5.8 Generic_Virtual sun4v sparc sun4v
    CC Compiler:CC:CC: Sun C++ 5.8 2005/10/13
        we have compiled C++ code, generated .so files are not working fine on the Machine C

Machine C -- Operating System:5.10 Generic_147440-03 sun4v sparc sun4v(Solaris 5.10)

I would like to know
1) If the code compiled with compiler on Machine A is compatable on Machine C.why the code compiled on Machine B incompatable on Machine C.
2)Machine A and Machine B are with the same SunOs 5.8 version but with a different CC compiler version.we suspect the CC compiler version mismatch on the machines A and B is the cause of the problem.

Expecting solution so that we could able to run the code on Machine C with the compiler available in Market(WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07 was not found)
any solution to the problem is helpful and appreciable.Thanks in advance.


Regards,
Revathi
Moderator's Comments:
Mod Comment Code tags please
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
AFP_VOLUUID.CONF(5)						   Netatalk 2.2 					       AFP_VOLUUID.CONF(5)

NAME
afp_voluuid.conf - Configuration file used by afpd(8) to specify UUID for Time Machine volume DESCRIPTION
/etc/netatalk/afp_voluuid.conf is the configuration file used by afpd to specify UUID of Time Machine volume automagically. The configuration lines are composed like: "volume name" uuid-string The first field is volume name. Volume names must be quoted if they contain spaces. The second field is the 36 character hexadecimal ASCII string representation of a UUID. The leading spaces and tabs are ignored. Blank lines are ignored. The lines prefixed with # are ignored. The illegal lines are ignored. Note This UUID is advertised by Zeroconf in order to provide robust disambiguation of Time Machine volume. The afpd generates the UUID from random numbers and saves it into afp_voluuid.conf, only when setting "tm" option in AppleVolumes file. This file should not be thoughtlessly edited and be copied onto another server. EXAMPLES
Example. afp_voluuid.conf three TM volumes on one netatalk # This is a comment. "Backup for John Smith" 1573974F-0ABD-69CC-C40A-8519B681A0E1 "bob" 39A487F4-55AA-8240-E584-69AA01800FE9 mary 6331E2D1-446C-B68C-3066-D685AADBE911 SEE ALSO
afpd(8), AppleVolumes.default(5), avahi-daemon(8) Netatalk 2.2 8 March 2011 AFP_VOLUUID.CONF(5)
All times are GMT -4. The time now is 01:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy