Hi all,
Here are some more tips for compiling skycat-1.1.
I'll add these to the README and INSTALL files for the
next release:
1) After running "configure", you need to do a
"make depend". In addition to setting up the .h file
dependencies, "make depend" also creates files called
".objs" that are needed for creating the master
shared libraries and archives.
2) ON HP-UX: If you get the message "not enough memory"
when running skycat with shared libraries, it doesn't
mean that you have to buy more memory. This is the
informative message that HP prints when there is an
undefined symbol in a shared library....
One way to find out what the symbol is, is to compile and
use this little program with the C++ compiler:
(I got this from Peter Biereichel):
---------------------------------------------------------------------
#include <dl.h>
#include <errno.h>
#include <stdio.h>
main(int argc, char *argv[])
{
shl_t handle;
handle = shl_load(argv[1], BIND_IMMEDIATE | BIND_VERBOSE, 0L);
if (handle == 0)
{
printf("shl_load failed %s\n", argv[1]);
perror("");
}
else
printf("shl_load ok\n");
}
----------------------------------------------------------------------
--
Allan Brighton
ESO - European Southern Observatory
abrighto@eso.org
|