[SunHELP] compiling dig 2.0

Bob Ababurko ababurko at adelphia.net
Thu Mar 27 09:59:37 CST 2003


I am trying to compile dig2.0 on a sparc5/sol8.  I have limited experience 
compiling source so I may be doing something obviously wrong since the 
documentation is lame.  There is no configure file in the dig tarball.  I 
do a make and get this:

root at dharma# make
/usr/local/bin/gcc -O -DDEBUG -c res_query.c
res_query.c:40:8: warning: extra tokens at end of #endif directive
ld -x -r res_query.o
/usr/ccs/bin/ld: illegal option -- x
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
         [-64]           enforce a 64-bit link-edit
         [-a]            create an absolute file
         [-b]            do not do special PIC relocations in a.out
         [-B direct]     specify `direct' bindings for executable when run

.........................cut............
*** Error code 1 (ignored)
mv a.out res_query.o
mv: cannot access a.out
*** Error code 2
make: Fatal error: Command failed for target `res_query.o'

The documentation says that the source should compile for sparc without 
changes.

thanks


More information about the SunHELP mailing list