Just a suspicion, but that blasted n32/o32 stuff comes to mind. Try the same
flags
used in the dx build when you compile "foo". The module builder might produce
you a
useable makefile requiring minimal editing. Use DXlite if you don't want to
have to
link X11, GL, etc libs too.
Regards,
Pete
Jari Vuoksenranta wrote:
> I have trouble linking DXExportDX-function to "libDX.a" or
> "libDXlite.a".
>
> test.c:
> #include "dx/dx.h"
> void main() {
> DXExportDX(NULL, "testi.dx", "dx text");
> }
>
> "
> % cc -I$DXROOT/include -L$DXROOT/lib_sgi -lDX -lm -o foo foo.c
> [..]
> ld32: ERROR 33: Unresolved text symbol "DXExportDX" -- 1st referenced by
> test.o.
> % nm $DXROOT/lib_sgi/libDX.a | grep DXExportDX
> [10] | 304| 3836|FUNC |GLOB |DEFAULT |5 |DXExportDX
> "
>
> Any ideas what might be wrong?
> Using irix64 6.5 with MIPSpro 7.2.1. DX is working fine, compiled
> from couple days old CVS.