The build was fixed to create libDXcallm.a since 4.0.9 - in other words,
its not in any available tarball, but if you check out the CVS you'll get
it.  An excellent reason to get a new tarball out.

I guess the sample callmodules makefiles need work too.

Greg

Aaron Simmons <[EMAIL PROTECTED]>@opendx.watson.ibm.com on
01/05/2000 05:27:28 PM

Please respond to [email protected]

Sent by:  [EMAIL PROTECTED]


To:   [email protected]
cc:
Subject:  Re: [opendx-dev] OpenDX Release




On Wed, 5 Jan 2000 [EMAIL PROTECTED] wrote:

> Shall we start the process of putting together a new OpenDX release?
   <snip>
> We have problems in that the makefiles produced by the module builder
> aren't working, the makefiles that go along with the sample user modules
> are bad, and the README's are way out of date.

   I was just about to email the list about having trouble building the
callmodule user modules (dxsamples-4.0.7/callmodule).  The makefiles try
to link in a library called libDXcallm.a, which doesn't exist.  (Also,
there's no makefile for linux.  I modified one that looked close enough.)
   I replaced it with libcallm.a, but this doesn't satisfay all the
references.
   I replaced it with libDX.a, but I get multiple definition errors (which
appear to be from _within_ libDX.a itself!).
   What library is supposed to be linked in for these user modules??

   Thanks,

   Aaron Simmons


P.S.  Here's the output of my modified "linux" makefile:

> make -f Makefile_linux Simple
cc Simple.o -L/usr/X11/lib  -L/usr/local/dx/lib_linux -lDX -lm -lX11 -lGL
-lXm -lXt -o Simple
/usr/local/dx/lib_linux/libDX.a(excache.o): In function `_dxf_initcache':
/home/accts/mith/dx-4.0.6/src/exec/dpexec/cache.c:67: multiple definition
of `_dxf_initcace'
/usr/local/dx/lib_linux/libDX.a(lbcache.o):/home/accts/mith/dx-4.0.6/src/exec/libdx/cache.

:75: first defined here
/usr/bin/ld: Warning: size of symbol `_dxf_initcache' changed from 96 to
10 in excache.o
/usr/local/dx/lib_linux/libDX.a(excache.o): In function `DXSetCacheEntry':
/home/accts/mith/dx-4.0.6/src/exec/dpexec/cache.c:410: multiple definition
of `DXSetCacheEtry'
/usr/local/dx/lib_linux/libDX.a(lbcache.o):/home/accts/mith/dx-4.0.6/src/exec/libdx/cache.

:193: first defined here
/usr/bin/ld: Warning: size of symbol `DXSetCacheEntry' changed from 112 to
84 in excache.o
/usr/local/dx/lib_linux/libDX.a(excache.o): In function `DXGetCacheEntry':
/home/accts/mith/dx-4.0.6/src/exec/dpexec/cache.c:453: multiple definition
of `DXGetCacheEtry'
/usr/local/dx/lib_linux/libDX.a(lbcache.o):/home/accts/mith/dx-4.0.6/src/exec/libdx/cache.

:233: first defined here
/usr/bin/ld: Warning: size of symbol `DXGetCacheEntry' changed from 100 to
79 in excache.o
/usr/local/dx/lib_linux/libDX.a(excache.o): In function
`DXSetCacheEntryV':
/home/accts/mith/dx-4.0.6/src/exec/dpexec/cache.c:357: multiple definition
of `DXSetCacheEtryV'
/usr/local/dx/lib_linux/libDX.a(lbcache.o):/home/accts/mith/dx-4.0.6/src/exec/libdx/cache.

:141: first defined here
/usr/bin/ld: Warning: size of symbol `DXSetCacheEntryV' changed from 338
to 353 in excacheo
/usr/local/dx/lib_linux/libDX.a(excache.o): In function
`DXGetCacheEntryV':
/home/accts/mith/dx-4.0.6/src/exec/dpexec/cache.c:424: multiple definition
of `DXGetCacheEtryV'
/usr/local/dx/lib_linux/libDX.a(lbcache.o):/home/accts/mith/dx-4.0.6/src/exec/libdx/cache.

:211: first defined here
/usr/bin/ld: Warning: size of symbol `DXGetCacheEntryV' changed from 119
to 286 in excacheo
Simple.o: In function `main':
Simple.o(.text+0x25): undefined reference to `DXInitModules'
Simple.o(.text+0x179): undefined reference to `DXCheckRIH'
/usr/local/dx/lib_linux/libDX.a(exloader.o): In function `DXLoadObjFile':
/home/accts/mith/dx-4.0.6/src/exec/dpexec/loader.c:622: undefined
reference to `dlopen'
/home/accts/mith/dx-4.0.6/src/exec/dpexec/loader.c:624: undefined
reference to `dlerror'
/home/accts/mith/dx-4.0.6/src/exec/dpexec/loader.c:634: undefined
reference to `dlsym'
/usr/local/dx/lib_linux/libDX.a(exloader.o): In function
`DXUnloadObjFile':
/home/accts/mith/dx-4.0.6/src/exec/dpexec/loader.c:698: undefined
reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [Simple] Error 1




Reply via email to