Update: Can't compile BIND 8.3.1 under Solaris 8

Michael Kjorling michael at kjorling.com
Tue Mar 12 17:30:17 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Look at the paths. You're using gcc along with /usr/ccs/bin/as - I
believe those two have different assembler syntaxes. That would
explain your problem.

Set the AS environment variable to wherever you have GNU as and
recompile. Also be careful about the linker (LD).


Michael Kjörling


On Mar 12 2002 12:26 -0500, John Heiden wrote:

> gcc -I../../port/solaris/include -I../../include -g -O2  -D_REENTRANT -c
> res_debug.c \
>  -o threaded/res_debug.o
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4131: error: unknown opcode
> ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4131: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4185: error: unknown opcode
> ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4185: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4186: error: unknown opcode
> ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4186: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4240: error: unknown opcode
> ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccKNi7he.s", line 4240: error: statement
> syntax
> *** Error code 1
> make: Fatal error: Command failed for target `res_debug.o'
> Current working directory /home/jheiden/bind/src/lib/resolv
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /home/jheiden/bind/src/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> #
>
>
> Any ideas?

- -- 
Michael Kjörling  --  Programmer/Network administrator  ^..^
Internet: michael at kjorling.com -- FidoNet: 2:204/254.4   \/
PGP: 95f1 074d 336d f8f0 f297 6a5b 2aa3 7bfd 8a70 e33e

``And indeed people sometimes speak of man's "bestial" cruelty, but
this is very unfair and insulting to the beasts: a beast can never be
so cruel as a man, so ingeniously, so artistically cruel.''
(Ivan Karamazov, in Dostoyevsky's 'The Brothers Karamazov')

*** Spammers: see http://michael.kjorling.com/spam ***
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public key is at http://michael.kjorling.com/contact/pgp.html

iD8DBQE8jjsrKqN7/Ypw4z4RAnijAKCl1kNxhwiKnhPWa+YF0oG9JICqGwCfXB+i
wK6AEApnGoNuQY3OUbjd1Dg=
=gTyJ
-----END PGP SIGNATURE-----




More information about the bind-users mailing list