Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gcc-3.0.1 problem when compile bind and sendmail.

14 views
Skip to first unread message

Pom

unread,
Oct 16, 2001, 11:20:11 PM10/16/01
to
Dear sir,
I used Solaris-2.5.1 and gcc-3.0.1. (from sunfreeware.com)
About August I have new big hard disk. I reinstall
Solaris-2.5.1 and install new patch system for Solaris
at that time(August) in new hard disk.
But after reinstall Solaris I can not compile sendmail-8.11.x,
sendmail-8.12.x and bind-8.2.x. It has error messages show below my
messages.
I solve this problem by copy binary file from other host.
This error don't occur before I reinstall. I don't know why.
Do you have any idea to solve this problem ?
I want to compile on my computer.
thank you very much.
regards,
Pom.

---------- error messages when compile bind ---------
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3818: error: unknown
opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3818: error: statement
syntax
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3872: error: unknown
opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3872: error: statement
syntax
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3873: error: unknown
opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3873: error: statement
syntax
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3927: error: unknown
opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3927: error: statement
syntax
*** Error code 1
make: Fatal error: Command failed for target `res_debug.o'
Current working directory /misc/bind/src/lib/resolv
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /misc/bind/src/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
-------------- end msg bind ----------------

---------- error messages when compile sendmail -------
/usr/ccs/bin/as: "/var/tmp/cc7elNzq.s", line 272: error: unknown
opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/cc7elNzq.s", line 272: error: statement
syntax
/usr/ccs/bin/as: "/var/tmp/cc7elNzq.s", line 594: error: unknown
opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/cc7elNzq.s", line 594: error: statement
syntax
*** Error code 1
make: Fatal error: Command failed for target `errstring.o'
Current working directory
/misc/a/sendmail-8.12.0/obj.SunOS.5.5.1.sun4/libsm
*** Error code 1
make: Fatal error: Command failed for target `all'
------------ end msg sendmail ----------

Paul Eggert

unread,
Oct 18, 2001, 3:13:13 AM10/18/01
to
pom...@my-deja.com (Pom) writes:

> /usr/ccs/bin/as: "/var/tmp/ccV9lKAw.s", line 3818: error: unknown
> opcode ".subsection"

It looks like you have a GCC built for the GNU assembler, but you're
running it with the Solaris assembler. You need a GCC that's built
for the Solaris assembler.

Steven M. Christensen

unread,
Oct 19, 2001, 12:19:25 AM10/19/01
to
The gcc-3.0.1 for Solaris 2.5.1 on sunfreeware.com requires
the use of the binutils package there also. This is stated
in the gcc information in the listing for gcc-3.0.1.

Steve Christensen
sunfreeware.com

In article <7witddo...@sic.twinsun.com>,

Pom

unread,
Oct 20, 2001, 10:36:37 AM10/20/01
to
Dear sir,
I follow you. Now I can solve this problem.

thank you very much.
regards,
Pom.

st...@smc.vnet.net (Steven M. Christensen) wrote in message news:<hRNz7.19478$ka.6...@ralph.vnet.net>...

0 new messages