<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Guru's <p>Thanks to Rachel P. and John D. for their help. Simply put, I needed to install the binutils package. After that, all was fine. <p>Thanks! <br>Marc B <p>*********************************************************** <p>Original question: <br> <p>Guru's <p>I am sure I will get a few lashing for this question, but I must ask anyway. I have searched the Sun Managers <br>Summaries Archives with no luck. <p>I am attempting to compile several programs ( sudo, openssl, and openssh ) but, each time I try, I get the <br>following error messages ( or some very similar variation of these ). <p>inet_aton.c: In function `inet_aton': <br>inet_aton.c:117: warning: subscript has type `char' <br>inet_aton.c:128: warning: implicit declaration of function `isascii' <br>inet_aton.c:128: warning: subscript has type `char' <br>inet_aton.c:131: warning: subscript has type `char' <br>inet_aton.c:133: warning: subscript has type `char' <br>inet_aton.c:155: warning: subscript has type `char' <br>/usr/ccs/bin/as: "/var/tmp/ccOBlK16.s", line 943: error: unknown opcode ".subsection" <br>/usr/ccs/bin/as: "/var/tmp/ccOBlK16.s", line 943: error: statement syntax <br>/usr/ccs/bin/as: "/var/tmp/ccOBlK16.s", line 951: error: unknown opcode ".previous" <br>/usr/ccs/bin/as: "/var/tmp/ccOBlK16.s", line 951: error: statement syntax <br>*** Error code 1 <br>make: Fatal error: Command failed for target `inet_aton.o' <br>Current working directory /home/acct/rbaldus/progs/openssh-2.9.9p2/openbsd-compat <br>*** Error code 1 <br>make: Fatal error: Command failed for target `openbsd-compat/libopenbsd-compat.a' <p>My guess is that I am using the wrong "as" and that my path is wrong. I read somewhere that you must use <br>the one with gcc, but I cannot find any other "as". I had to use the pre-compiled version of gcc for similar <br>reasons as described above. Is it possible that "as" was not included with this package? I got the package <br>from sunfreeware.com. <p># uname -a <br>SunOS cha01136 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-5_10 <br> <p># echo $PATH <br>/usr/local/bin:/usr/ucb:/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/ccs/bin:/opt/gnu/bin:/u01/app/d2000r1/bin:/usr/dt/bin:/depot/jdk/bin:/depot/jdk/programs:.:/usr/local/bin:/usr/local/sbin <p># which gcc <br>/usr/local/bin/gcc <p># gcc -v <br>Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/specs <br>Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --enable-libgcj <br>Thread model: posix <br>gcc version 3.0.1 <p>IWS <br>TIA <br>Marc <pre>-- R. Marc Baldus Unix System Admin. Emergency One, Inc. Ocala, Fl (352)861-3669</pre> </html>Received on Wed Oct 17 19:22:18 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:33 EDT