Hello David and group:
We are working on SGI Irix 6.5.3 on an Onyx 2 IR. We have put our
distribution 4.0.9 (last ftp version, can't get cvs through
Boeing firewall) at /usr/freeware/dx and dxsamples is at /proj/dxsamples
I am still trying to figure out how far people have gotten in compiling
their own DX modules. We have gotten the DX executable to work OK with the
default set of modules. Our build has javaDX turned on, and seems to compile
OK. (We have not gotten the startserver script to work yet, so can't really
test that yet.
There are three methods in the Programmer's Guide
(1) Compiled into dxexec. hello.mdf
This is where we're having the problems compiling,
and the loader ld32 doesn't seem to see the libraries like libDX and sometimes
OpenGL. For example:
ld32: ERROR 33: Unresolved text symbol "glClipPlane" -- 1st referenced by
/usr/freeware/dx/lib_sgi/libDX.a (oghwportogl.o)
This is even though the call to lgl is obviously in the load statement after the
call to libDX.a
We're stopped dead in the water here, but I wonder if others have
succeeded.
(2) Outboard Module. In this case, using Makefile_outboard_sgi and
hello_outboard.mdf, we get a successful compile
cc -O -Dsgi -I. -I/usr/freeware/dx/include -DUSERMODULE=m_Hello -c
/usr/freeware/dx/lib/outboard.c
cc outboard.o hello.o -L/usr/freeware/dx/lib_sgi -lDXlite -lm -o hello_outboard
and can invoke
dx -edit -mdf hello_outboard.mdf
We get the Visual Editor with Hello in the Tools menu, and can instantiate it.
dx -edit -mdf hello_outboard.mdf We can instantiate the module in the
Visual Program editor. Then we load /program_guide/hello.net
However, when we Execute Once, we get an error
pcreateve: Operation not permitted
1: Starting hello_outboard on localhostl will wair for up to 60 second for
connections.
0: Error reading from request queue pipe: 0 8
-1: cleaning up and exiting
We also get the error "Connection to server has been broken"
If we reconnect to the server, the same thing happens again on execution.
(3) runtime_loadable hello_loadable
Compile OK.
dx -edit -mdf ./hello_loadable.mdf
Load hello.net as before
Executes correctly.
Has anybody gotten further with methods (1) and (2)?
David Kerlick, Ph.D.
The Boeing Company
MAthematics and Computing Technology