Operating System - HP-UX
1834662 Members
2545 Online
110069 Solutions
New Discussion

Migration from HP10.2 to HP11

 
SOLVED
Go to solution
Kirankumar_1
Occasional Contributor

Migration from HP10.2 to HP11

Do the standard library functions give problem in migration from HP10.2 to HP11 ?

I have a couple of source codes(C language) which worked perfectly fine on HP10.2. But when i tried compiling and executing them on HP11, it crashes around strtok/strstr.

The compilation is 64-bit with +DA2.0W +DS2.0 flag.

Can anybody tell me if i need to incorporate and additional flags or anything in using these standard library functions.
kirankumar
4 REPLIES 4
H.Merijn Brand (procura
Honored Contributor
Solution

Re: Migration from HP10.2 to HP11

I have never encountered problems like these. What C-compiler do you use? aCC or C-ANSI-C?

Latest release of the latter:

a5:/ 101 # swlist -l bundle -l product -l subproduct | grep ANSI
# B3901BA B.11.02.06 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S800)
B3901BA.C-ANSI-C B.11.11.06 HP C/ANSI C Compiler
a5:/ 102 #
Enjoy, Have FUN! H.Merijn
Kirankumar_1
Occasional Contributor

Re: Migration from HP10.2 to HP11

Hi,

I am using ANSI C compiler.
kirankumar
Kirankumar_1
Occasional Contributor

Re: Migration from HP10.2 to HP11

B.11.01.20 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S800)
kirankumar
H.Merijn Brand (procura
Honored Contributor

Re: Migration from HP10.2 to HP11

Hmmm, any chance in upgrading?

The other two that are of any importance:

a5:/ 101 # swlist -l bundle -l product -l subproduct | grep libc
BUNDLE.PHCO_25976 1.0 libc cumulative patch
QPK1100.PHCO_25883 1.0 cumulative 10.20 libc compatibility support
QPK1100.PHCO_25681 1.0 libcrash cumulative patch
QPK1100.PHCO_24904 1.0 libc cumulative man page patch
QPK1100.PHCO_23963 1.0 libc cumulative header file patch
XSWHWCR1100.PHCO_23963 1.0 libc cumulative header file patch
XSWHWCR1100.PHCO_23770 1.0 libc cumulative patch
XSWHWCR1100.PHCO_23706 1.0 cumulative 10.20 libc compatibility support
a5:/ 102 #


a5:/ 104 # swlist -l bundle -l product -l subproduct -l file | grep /usr/include/string
HPUXEng64RT.ProgSupport.Runtime.C-INC: /usr/include/string.h
HPUXEng64RT.ProgSupport.Runtime.C-INC: /usr/include/strings.h
QPK1100.PHCO_23963.C-INC: /usr/include/string.h
XSWHWCR1100.PHCO_23963.C-INC: /usr/include/string.h
a5:/ 105 #
Enjoy, Have FUN! H.Merijn