- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error compiling a C program
Operating System - HP-UX
1753802
Members
7936
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 10:30 AM
тАО07-20-2006 10:30 AM
Error compiling a C program
Hi. I am compiling a C program like this
922:/home/h550785/include922 => cc -Ae +DD64 -lm SAP718B.c /usr/lib/librfc.a -lcl -lcurses -o SAP718B
"SAP718B.c", line 322: warning #2181-D: argument is incompatible with
corresponding format string conversion
GETCHAR(iCO11,s); // Convierte la iUbicDesde a string(cadena de carateres)
^
"SAP718B.c", line 327: warning #2181-D: argument is incompatible with
corresponding format string conversion
GETCHAR(iMSC1,s);
^
ld: Unsatisfied symbol "__cxa_personality_routine" in file /usr/lib/librfc.a[rfcilib.o]
1 errors.
This C program was running on a PA-RISK and now i need to run it on an itanium server HP-UX ia64.
Can you help me to solve this warnings.
Thanks
922:/home/h550785/include922 => cc -Ae +DD64 -lm SAP718B.c /usr/lib/librfc.a -lcl -lcurses -o SAP718B
"SAP718B.c", line 322: warning #2181-D: argument is incompatible with
corresponding format string conversion
GETCHAR(iCO11,s); // Convierte la iUbicDesde a string(cadena de carateres)
^
"SAP718B.c", line 327: warning #2181-D: argument is incompatible with
corresponding format string conversion
GETCHAR(iMSC1,s);
^
ld: Unsatisfied symbol "__cxa_personality_routine" in file /usr/lib/librfc.a[rfcilib.o]
1 errors.
This C program was running on a PA-RISK and now i need to run it on an itanium server HP-UX ia64.
Can you help me to solve this warnings.
Thanks
The obstacles are those things that the people see when they left to see their goals.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 06:40 PM
тАО07-20-2006 06:40 PM
Re: Error compiling a C program
Are you sure it is 'C', and not 'C++"?
And what a strange order of arguments you use
# cc +DD64 -Ae +Z -z -o SAP718B SAP718B.c /usr/lib/librfc.a -lm -lcl -lcurses
Doesn't it need some -I arguments?
What's the code look like from line 318 to 330?
Enjoy, Have FUN! H.Merijn [ who doesn't do C==, and has no plans to ]
And what a strange order of arguments you use
# cc +DD64 -Ae +Z -z -o SAP718B SAP718B.c /usr/lib/librfc.a -lm -lcl -lcurses
Doesn't it need some -I arguments?
What's the code look like from line 318 to 330?
Enjoy, Have FUN! H.Merijn [ who doesn't do C==, and has no plans to ]
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2006 09:15 PM
тАО11-03-2006 09:15 PM
Re: Error compiling a C program
>procura: Are you sure it is 'C', and not 'C++"?
procura is correct, __cxa_personality_routine is part of libCsup, so rfcilib.o must have been compiled with aC++.
If you want to link this you must use aCC. Or librfc must be a shared lib and then you can follow the directions on:
http://docs.hp.com/en/8759/distributing.htm
procura is correct, __cxa_personality_routine is part of libCsup, so rfcilib.o must have been compiled with aC++.
If you want to link this you must use aCC. Or librfc must be a shared lib and then you can follow the directions on:
http://docs.hp.com/en/8759/distributing.htm
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP