Stephen,
I took your advice from an earlier support request and compiled Analog
with the DEFS= -DNODNS line added. This allowed it to compile and Analog
ran just fine. I now have some time and would like to get the DNS
lookups working. Here are the details from our earlier messages:
I am trying to get analog compiled on a Solaris 2.6 platform. When I run
make I get the following error:
gcc -O2 alias.o analog.o cache.o dates.o globals.o hash.o init.o init2.o
input.
o macinput.o macstuff.o output.o output2.o pcre.o process.o settings.o
sort.o t
ree.o utils.o win32.o -o analog -lnsl
Undefined first referenced
symbol in file
__inet_addr alias.o
ld: fatal: Symbol referencing errors. No output written to analog
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `analog'
I have tried changing the Makefile LIBS= line to LIBS = -lnsl and LIBS =
-lnsl -lm with no change. I have tried searching the list with no
luck. Any ideas? Let me know if anyone needs more information.
Not including -lnsl normally produces an error for inet_addr, not
__inet_addr. I strongly suspect that your system libraries are in a broken
state. In other words, it found inet_addr, but I suspect that inet_addr
calls __inet_addr internally on your OS, and that that latter function is
missing.
Apart from getting mended libraries, you can use
DEFS = -DNODNS
This will ignore that part of the code. The price is that you will lose DNS
lookups.
What libraries are we talking about specifically? Where do I get them to
make this work? Thanks in advance.
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------