Hi,
I've been building opendx on a solaris 8 platform, and got there in the end 
after sorting out a couple of problems. I've described them below so that 
future 
releases can sort them out, and hopefully someone will be able to say whether 
my 
solutions are valid.

For reference:
uname -a
SunOS ekman 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Blade-1000

Compilers:
Sun Forte (workshop) v6.1
Configuration:
setenv CFLAGS "-O"
setenv CXXFLAGS "-O"
./configure

There seems to be a problem with the java makefile (src/uipp/java/Makefile) 
when 
used with the Sun version of make. It doesn't like the line
'export CLASSPATH'
Fatal error in reader: Makefile, line 405: Unexpected end of line seen
Current working directory ./src/uipp/java

The solution I used was to comment out the line above and add
JAVAC = javac -classpath $(CLASSPATH)

I also got link errors:

Undefined                       first referenced
 symbol                             in file
AllocatorDictionary<NodeDefinition,NodeDefinition*(*)()>::__descr 
../dxuilib/libDXUI.a(NDAllocatorDictionary.o)
[Hint: static member 
AllocatorDictionary<NodeDefinition,NodeDefinition*(*)()>::__descr must be 
defined in the program]

ld: fatal: Symbol referencing errors. No output written to dxui
*** Error code 1
make: Fatal error: Command failed for target `dxui'
Current working directory 
/working/soes/marotzke/share/opendx/dx-4.2.0/src/uipp/dxui


I fixed these by adding the line
#include "../base/UIConfig.h" 
to the start of the following files:
./src/uipp/dxuilib/NDAllocatorDictionary.C
./src/uipp/dxuilib/CDBAllocatorDictionary.C 
./src/uipp/dxuilib/SIAllocatorDictionary.C 


John Stark

Reply via email to