HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Linking error on SCO




I am trying to build the latest Hylafax.  I was able to make
some minor changes and solve several easy problems, but I
finally got stuck with the error included below.  It seems that
the function 'gettimeofday' cannot be located at link time, but
it also seems to be right there in /usr/lib/libc.a

Any help or pointers will be very much appreciated.

Regards,

-Ramon F. Herrera

____________________________________________________________________
Version Information:
--------------------------------------------------------------------
hylafax-v4.0pl1
OS: SCO OpenServer 5.0.2
gcc version 2.7-95q4   (downloaded from www.sco.com in binary format)
libg++ version unknown (downloaded from www.sco.com in binary format)
GNU Make version 3.75
GNU sed version 2.05
GNU Awk 3.0.2
GNU bash, version 2.00.0(1)-release (i586-unknown-sco3.2v5.0.2)
diff - GNU diffutils version 2.7
cmp - GNU diffutils version 2.7
GNU ar version 2.7
GNU ranlib version 2.7
GNU nm version 2.7
Note about 'ld': Unfortunatedly, there is no GNU ld for SCO, so I
have to use the vendor-provided 'ld'.
--------------------------------------------------------------------


Error Messages (stderr):
--------------------------------------------------------------------
undefined			first referenced
 symbol  			    in file
gettimeofday__FP7timevalP8timezone  ../util/libfaxutil.a
ld fatal: Symbol referencing errors. No output written to faxq
make[3]: *** [faxq] Error 1
make[2]: *** [default] Error 2
undefined			first referenced
 symbol  			    in file
gettimeofday__FP7timevalP8timezone  ../util/libfaxutil.a
ld fatal: Symbol referencing errors. No output written to hfaxd
make[3]: *** [hfaxd] Error 1
make[2]: *** [default] Error 2
--------------------------------------------------------------------
stdout:
--------------------------------------------------------------------
= faxd
make[3]: Entering directory `/home/ramon/ftp/hylafax/hylafax-v4.0pl1/faxd'
/usr/local/bin/gcc -Dsco -D_SVID3       -D__ANSI_CPP__ -I. -I.. -I.././faxd -I.././util -I/usr/local/include -I.././regex -g -O -o faxq DestControl.o DestInfo.o Job.o HylaClient.o Modem.o QLink.o Trigger.o TriggerRef.o faxQueueApp.o libfaxserver.a   -L/usr/local/lib  ../util/libfaxutil.a ../port/libport.a -L/usr/local/lib -ltiff -L../zlib -lz -L../regex -lregex -lsocket -lnsl -lm  -lmalloc 

[ld was exec'ed like this:]
ld -b coff /usr/cygnus/progressive-95q4/H-i486-unknown-sco3.2v5.0.0/lib/gcc-lib/i486-unknown-sco3.2v5.0.0/2.7-95q4/sco5.ifile -Y P,/usr/ccs/lib:/usr/lib -o faxq /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xa.o /usr/cygnus/progressive-95q4/H-i486-unknown-sco3.2v5.0.0/lib/gcc-lib/i486-unknown-sco3.2v5.0.0/2.7-95q4/crtbegin.o -L/usr/local/lib -L/usr/local/lib -L../zlib -L../regex -L/usr/cygnus/progressive-95q4/H-i486-unknown-sco3.2v5.0.0/lib/gcc-lib/i486-unknown-sco3.2v5.0.0/2.7-95q4 -L/usr/ccs/lib -L/usr/cygnus/progressive-95q4/H-i486-unknown-sco3.2v5.0.0/lib/gcc-lib/i486-unknown-sco3.2v5.0.0/2.7-95q4/../../.. DestControl.o DestInfo.o Job.o HylaClient.o Modem.o QLink.o Trigger.o TriggerRef.o faxQueueApp.o libfaxserver.a ../util/libfaxutil.a ../port/libport.a -ltiff -lz -lregex -lsocket -lnsl -lm -lmalloc -lgcc -YP,/usr/ccs/lib:/lib:/usr/lib -lgcc -lcrypt -lgen -lc /usr/cygnus/progressive-95q4/H-i486-unknown-sco3.2v5.0.0/lib/gcc-lib/i486-unknown-sco3.2v5.0.0/2.7-95q4/crtend.o make[3]!
: Leaving directory `/home/ramon/ftp/hylafax/hylafax-v4.0pl1/faxd'




Project hosted by iFAX Solutions