Consultor Eletrônico



Kbase 21390: Errors During PROBUILD on DG/UX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/01/2004
Status: Unverified

FACT(s) (Environment):

DG/UX Intel 4.20 MU06

SYMPTOM(s):

Warning errors are displayed while using PROBUILD

Final build of executable not created.

Warning: invalid option '-Bdynamic' ignored

Warning: invalid option '-Xt' ignored

CHANGE:

Performed a stand aside upgrade on the system.

CAUSE:

The /usr/bin/cc compiler is improperly linked.

Both Xt and Bdynamic are linker options set up in buildenv script.
On a system without the sdk package installed, /usr/bin/cc is linked to cc.base. The cc.base executable does not support the "-Xa" option so the message is normal if the sdk package is not installed.

On a system with the sdk package installed, /usr/bin/cc is a link to /usr/opt/sdk/bin/cc, which is a Bourne shell script.

This script contains a parameter substitution statement that
chooses a Software Development Environment (SDE) depending on the
SDE_PATH and TARGET_BINARY_INTERFACE environment variables. When these variables are not set, the /usr/opt/sdk/bin/cc script executes
/usr/sde/default/usr/bin/cc, which is a link to /usr/opt/sdk/sde/ix86dgux/usr/bin/cc. This is the actual cc compiler.

The sdk package was installed but the setup scripts had not been run, so the /usr/bin/cc was still linked to cc.base.

FIX:

Run the package setup scripts via the sysadm menu:
Software | Package | Set up.