My Oracle Support Banner

Xdk Samples in 9.0.1 on LINUX have Compilation Errors (Doc ID 310798.1)

Last updated on APRIL 29, 2020

Applies to:

Oracle XML Developers Kit - Version 9.0 and later
Linux x86

Symptoms

 

Changes

 

*Cause
Explain what caused the

The $ORACLE_HOME/xdk/demo/cpp/Makefile.defs is actually formatted for a Solaris system.

Looking at 9.0.1 Makefile.defs
--------------------------------------------------
CCC=    /opt/SunProd/SUNWspro6.1/bin/CC

TOP=    ../../../..
INCLUDE=-I$(TOP)/xdk/include

XDK_LIB=-lxmlg9 -lxml9 -lxsd9
ORA_LIB=-lcore9 -lnls9 -lcore9 -lnls9 -lcore9 -lunls9
NET_LIB=-lnsl -lsocket
LIB=    -L$(TOP)/lib $(XDK_LIB) $(ORA_LIB) $(NET_LIB)

 

In this file it refers to a Solaris compiler and a library also associated with Solaris (-lsocket).

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.