Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What should we do when compiling on HPUX 11 Ingres II 2.0/0001 PA1.x system 64Bit RISC 2 processor Architecture to avoid the error messages: /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file was detected?

0
Posted

What should we do when compiling on HPUX 11 Ingres II 2.0/0001 PA1.x system 64Bit RISC 2 processor Architecture to avoid the error messages: /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file was detected?

1

What should we do when compiling on HPUX 11 Ingres II 2.0/0001 PA1.x system 64Bit RISC 2 processor Architecture to avoid the following error messages: /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (stats_claim_totals2.o) was detected. The linked output may not run on a PA1.x system. 1 Error. /usr/lib/dld.sl: Unresolved symbol: pthread_mutex_init (code) from /rdbms/ingres/lib/libcompat.1.sl Abort 1. This is an HP problem. There are different PA-RISC architectures and the C compiler normally generates code for that architecture where compiled. However, to generate portable code the flag +DAportable must be added to the compiler CC -o command; 2. Here as well, the -lpthread must be used as usually defined in II_SYSTEM/ingres/files (or Utility, depending on OS platforms) – IISYSDEP file which contains all required $flags listed under the LDLIBMACH variable; Example: esqlc $program.sc cc -Aa -D_HPUX_SOURCE -g -c $program.c cc -o $program $program.o -L /rdbms/ingres/lib -linterp

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.