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?
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 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?
- Can ELCONN’s System replace (i) voltage Stabilizer (ii) power conditioner equipment ?
- How do I install Ingres II 2.0 or 2.5 on a 64-bit system?