C++ Code migration from HP Unix 11.11 to 11.31


 
Thread Tools Search this Thread
Operating Systems HP-UX C++ Code migration from HP Unix 11.11 to 11.31
# 1  
Old 11-16-2011
Question C++ Code migration from HP Unix 11.11 to 11.31

i'm facing some problem to make my source code work in HP Unix 11.31 which works fine in HP Unix 11.11. Recently our unix server is upgraded to HP Unix 11.31, i was able to compile my source code successfully in 11.31 but i see some system call failure and socket failure.

is there any steps to be followed to make C++ code work in HP Unix 11.31.

Any help is appreciated.

thanks
# 2  
Old 11-16-2011
What errors did you see, exactly?
# 3  
Old 11-16-2011
eagain and timeout errors, but the source code runs perfectly in 11.11.
# 4  
Old 11-16-2011
And what code had these errors?
# 5  
Old 11-16-2011
In C++ code, It was failing in the select system call, and sometimes it was failing in fopen system call.
one more question, is there any major difference between 11.11 and 11.31, the code which works in 11.11 will that same works in 11.31 without making anychanges or do we need to make any changes to work.
# 6  
Old 11-16-2011
That fopen() fails doesn't tell me what you were trying to do with it, and that's important to figuring out why it failed.

That select() fails doesn't illustrate how you were using it, and that's important to figuring out what happened.

Neither of those are C++, incidentally. Are you trying to mix C++ iostreams, C stdio, and unistd select()? Lots of ways for that to go bad.

I doubt you're going to find "makes libc calls fail just for Madanxyz" in the errata sheet anywhere. You're just going to have to start being specific.

Check carefully into any compiler warnings you get when compiling your code. Often that's a sign of things whose meaning has changed subtly.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need advice for project UNIX to Linux migration

I am working on UNIX AIX to Linux migration. Does anybody know the good site for doing this? Thanks for contribution (4 Replies)
Discussion started by: digioleg54
4 Replies

2. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

3. Shell Programming and Scripting

UNIX to Linux Migration

We have certain number of scripts that run on AIX server using ksh. Now that we migrate these scripts to Linux servers. We need to know what are the changes that we have to perform in script to make it compatible to run on Linux. Say like in our Unix -AIX "print" command worked. But that did... (6 Replies)
Discussion started by: SIva81
6 Replies

4. UNIX for Dummies Questions & Answers

Unix file migration

Hi all, Is there a program that would make sense out of the data below; this is from MPAC unix system. I would like to get usable data that could be transferred into excel? Rich, (5 Replies)
Discussion started by: berkmillionare
5 Replies

5. Shell Programming and Scripting

code migration

Hi, I am working on migration project. thier are 50,000 scripts. As we are doing 70% of automization for changing the scripts. The remaining 30% doing manually. After doing manual changes i have to find the wheather the change is dont or not and also clode review process. Is there any... (2 Replies)
Discussion started by: unihp1
2 Replies

6. UNIX for Dummies Questions & Answers

file migration windows -> unix

I've spent all of my career on windows boxes and maybe 30 secs here an there with unix. Now I find myself with a project of migrating web files (html, swf, etc) from windows to unix. I know that unix is case sensitive and there can be no spaces in file/folder names. What else do I need to... (2 Replies)
Discussion started by: mjglass
2 Replies

7. Shell Programming and Scripting

Perl Application Migration From MPE To Unix

Hi, Iam working on migration of perl applicaion from MPE/ix OS to UNIX. Perl Application uses MPE::File Package which cannot be used in HPUX. I have identified IO::File and Filehandle package as replacement. Will the functionality of the MPE Package & Unix filehandle Package will match? ... (0 Replies)
Discussion started by: tc.omkumar
0 Replies

8. Shell Programming and Scripting

SCO UNIX to Linux migration

hi all i m working in a company ...and i have to migrate a C application running on SCO-UNIX to Red hat linux. can anybody tell me what is the difference between C commands and shell scripting on SCO-UNIX and LINUX. best regards harsh (3 Replies)
Discussion started by: vickey
3 Replies

9. UNIX for Dummies Questions & Answers

Migration to Unix

Hello, I work for a very small ISP who up until now has run a combination of Win2000 and NT4 servers for our services (mail, DNS, dial-up). Our equipment is showing it's age and we have been looking into changing into a Unix environment. Our biggest challenge right now is our dial-up... (1 Reply)
Discussion started by: Kukur
1 Replies

10. Solaris

Problems with migration from Reliant Unix to Solaris

:confused: Hello folks, my company had decided to migrate from Reliant Unix to Solaris. We have an amount of sources that have to be changed a little, because these UNIX'es are slightly different. Is there a tool (hopefully free), which can do this job? Does anyone know the exactly differences, I... (2 Replies)
Discussion started by: MS-No
2 Replies
Login or Register to Ask a Question