- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compile warning (PA 2.0 object file was detected)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
04-18-2003 06:26 AM
04-18-2003 06:26 AM
"/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file was detected. The linked output may not run on a PA 1.x system." The vendor is unsure what to do and (would forcing the compiler to create a 32-bit executable work - if so, does anyone know the syntax)?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 06:31 AM
04-18-2003 06:31 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 06:33 AM
04-18-2003 06:33 AM
Re: Compile warning (PA 2.0 object file was detected)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 06:35 AM
04-18-2003 06:35 AM
Re: Compile warning (PA 2.0 object file was detected)
Added -Wl,+DAportable,+DS1.1
cc -o uwe_etstart -Wl,+DAportable,+DS1.1 -L/usr/jamistc/tools/uniface uwe_etstar
t.c /usr/jamistc/tools/uniface/wrapper.o -lyrtl -lurtl
Received the following error from the linker
$ buwe_etstart
/usr/ccs/bin/ld: Unrecognized argument: +DAportable
/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files
cc -o uwe_etstart -Wl,CFLAGS=-O +DAportable,+DS1.1 -L/usr/jamistc/tools/uniface
uwe_etstart.c /usr/jamistc/tools/uniface/wrapper.o -lyrtl -lurtl
Gave this error
$ buwe_etstart
(Bundled) cc: warning 7002: Cannot open sched.models. (7002)
/usr/ccs/bin/ld: Can't open CFLAGS=-O
/usr/ccs/bin/ld: No such file or directory
-------
Does the cc look okay to you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 06:37 AM
04-18-2003 06:37 AM
Re: Compile warning (PA 2.0 object file was detected)
Hope this helps.
------------
#include
#include
#include
#include
main()
{
struct utsname uts;
printf("\n\n");
switch ( sysconf(_SC_CPU_VERSION) )
{
case CPU_PA_RISC1_0: printf("PA-RISC Version : 1.0\n");
break;
case CPU_PA_RISC1_1: printf("PA-RISC Version : 1.1\n");
break;
case CPU_PA_RISC1_2: printf("PA-RISC Version : 1.2\n");
break;
case CPU_PA_RISC2_0: printf("PA-RISC Version : 2.0\n");
break;
default: printf("Unknown Architecture\n");
break;
}
printf("\n");
if ( uname(&uts) == -1 )
printf("Error in uname call\n"), exit(1);
printf ("System name : %s\n", uts.sysname);
printf ("Node name : %s\n", uts.nodename);
printf ("Version : %s\n", uts.version);
printf ("Release : %s\n", uts.release);
printf ("Machine : %s\n", uts.machine);
printf ("Idnumber : %s\n", uts.idnumber);
--------------------------
if ( strstr(uts.machine,"/7") == (char *) NULL)
{
if (strstr(uts.machine, "/8") == (char *) NULL)
printf("Unknown Machine type: %s\n", uts.machine);
else
printf("This is a Server\n");
}
else
printf("This is a Workstation\n");
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 06:47 AM
04-18-2003 06:47 AM
Re: Compile warning (PA 2.0 object file was detected)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 01:26 PM
04-21-2003 01:26 PM
Re: Compile warning (PA 2.0 object file was detected)
Why sweat it? Like Clay said, that's just a warning that the newly compiled program won't work on older systems. But, since you're building a new one that shouldn't be a problem, right?
That message is truly just a warning. I've been seeing that every time I compile since we swicthed from 10.2 to 11.0 and have yet to have a problem with it.
Still, it is an annoying message!
Regards,
Seth