Consultor Eletrônico



Kbase P123757: OEbuild script fails with undefined reference to `__ctype_b' and other undefined symbols.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/11/2008
Status: Unverified

SYMPTOM(s):

Using the standard gcc compiler.

Running oebuild script fails with many errors.

Getting cannot open crt1.o file.

Getting many "undefined reference to " messages.

Getting undefined reference to `__ctype_b'

FACT(s) (Environment):

RedHat Enterprise Linux ES 3.0 AMD64
RedHat Enterprise Linux AS 4.0 AMD64
RedHat Enterprise Linux ES 4.0 AMD64
RedHat Enterprise Linux AS 3.0 AMD64
RedHat Enterprise Linux AS 3.0 EM64T
RedHat Enterprise Linux ES 3.0 EM64T
RedHat Enterprise Linux AS 4.0 EM64T
RedHat Enterprise Linux ES 4.0 EM64T
OpenEdge 10.0B
OpenEdge 10.1A

CAUSE:

RedHat glibc libraries changed starting with 2.3 and there are many symbols that are no longer supported and will cause the build to fail if referenced.

FIX:

Upgrade the glibc libraies by running up2date -arch=i386 -i glibc-devel to include needed libraries for 32 bit compile.