I got the same problem.

I think that the machine where i was compiling analog, got problems with certain 
libraries. I compile the sources on another machine (with the same OS) and after this, 
i copy the files to the first one.

This is the header of the makefile:

# Makefile for analog 3.0
# Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
#                    compilers need different CFLAGS, e.g., -O instead of -O2.
CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
#                    HP/UX cc needs -Aa (HP/UX 9) or -Ae (HP/UX 10)
#                    Some Linuces might need -I/usr/src/linux/include
DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
#                    Solaris 2 (SunOS 5) might need DEFS = -DNOSTRCMP
OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
#                    RISCOS, BEOS, BS2000
LIBS = -lnsl            # extra libraries needed; Solaris 2 (SunOS 5) needs
#                    LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
#                    IRIX reportedly needs LIBS = -lc
#                    OS/2 with EMX requires LIBS = -lsocket; so does BS2000/OSD
#                    SVR4 requires LIBS = -lsocket -lnsl

Hope it helps.

Luis.

Doug Conran wrote:

> I get the following error when I try and compile analog 3.11 on a Sun Sparc running 
>SunOS 5.6
> -----------------
> .
> .
> .
> gcc            -O2         -DUNIX           -c utils.c
> gcc            -O2         -DUNIX           -c win32.c
> gcc            -O2        alias.o analog.o cache.o dates.o hash.o init.o init2.o 
>input.o macinput.o macstu
> ff.o output.o output2.o process.o settings.o sort.o tree.o utils.o win32.o -o analog
> Undefined                       first referenced
> symbol                             in file
> gethostbyaddr                       alias.o
> inet_addr                           alias.o
> ld: fatal: Symbol referencing errors. No output written to analog
> make: *** [analog] Error 1
> #
> -----------------
>
> The same version (in fact the same tar file) compiles quite happily on my Linux 
>2.0.36 PC.
>
> I see from the maillist archive that someone else had a similar problem a couple of 
>weeks back and there was a suggestion that it may be a header file problem requiring 
>a patch but no real pointers as to what to do.
>
> Any suggestions?
>
> TIA
>
> Doug
>
> --------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
> --------------------------------------------------------------------

--
Luis Moreno
Ing. de Area
CANTV Servicios


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to