![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with Last | By_Jam | UNIX for Advanced & Expert Users | 3 | 09-29-2006 03:12 AM |
| Problems with Make | frustrated1 | SUN Solaris | 1 | 07-23-2005 09:16 PM |
| Problems with gnu make | handak9 | UNIX for Advanced & Expert Users | 2 | 10-01-2004 04:20 AM |
| CD-ROM Problems | saucierm | UNIX for Dummies Questions & Answers | 5 | 10-23-2003 02:20 PM |
| problems with make | kmgrady01 | UNIX for Dummies Questions & Answers | 2 | 03-22-2002 02:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
'make' problems (compliation problems?)
I'm trying to compile and install both most recent version of 'make' and the
most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was included with Solaris 8. 'make(new version)' errors: ------------- # make make all-recursive Making all in glob gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c glob.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c fnmatch.c rm -f libglob.a ar cru libglob.a glob.o fnmatch.o : libglob.a Making all in i18n gcc -DALIASPATH=\"/usr/local/share/locale:.\" -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I. -I./glob -g -O2 -c ar.c /usr/ccs/bin/as: "/var/tmp/ccy5n06u.s", line 902: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccy5n06u.s", line 902: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccy5n06u.s", line 910: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccy5n06u.s", line 910: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `ar.o' Current working directory /usr/export/home/root/make-3.79.1 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/export/home/root/make-3.79.1 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' --------- openssh problems: --------- # make (cd openbsd-compat; make) gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -c inet_aton.c inet_aton.c: In function `inet_aton': inet_aton.c:117: warning: subscript has type `char' inet_aton.c:128: warning: subscript has type `char' inet_aton.c:131: warning: subscript has type `char' inet_aton.c:133: warning: subscript has type `char' inet_aton.c:155: warning: subscript has type `char' /usr/ccs/bin/as: "/var/tmp/cc3qpt5M.s", line 941: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/cc3qpt5M.s", line 941: error: statement syntax /usr/ccs/bin/as: "/var/tmp/cc3qpt5M.s", line 949: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/cc3qpt5M.s", line 949: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `inet_aton.o' Current working directory /usr/export/home/root/openssh-2.9.9p2/openbsd-compat *** Error code 1 make: Fatal error: Command failed for target `openbsd-compat/libopenbsd-compat.a' -------------- |
|
||||
|
i dunno if this will solve your specific problem, but i do remeber some software has problems compiling with the version of make shipped with Solaris 8. according to a some README's i think installing gnu-make fix's most of these problems. www.sunfreeware.com should have binary versions available.
good luck |
|
||||
|
thanks for the reply...
what you said is true... alot of these source packages recommend using GNU's make. but the problem is still there after I installed the latest make build. someone mentioned something about "as"... I am totally new at this so please bear with me if I sound like an idiot... but are there any issues with make and the solaris version of "as"? this is really bogging me down... 'cause I can't compile many sources... |
|
||||
|
This is not a problem with make. This is a problem with the intermediate assembler code generated by the version of gcc you are using. The assembler on Solaris (/usr/ccs/bin/as) does not understand the assembler directives generated by gcc in the intermediate code. Try loading the version of gcc that came shipped with Solaris 8. It is contained on the Software Companion CD shipped with the OS media.
|
|
||||
|
The version of gcc shipped with Solaris 8 is 2.95.2. Since this is a
fairly recent version, I just use this and I haven't tried another assembler. However, if you download GNU binutils from http://www.gnu.org/software/software...wToGetSoftware and change all references to /usr/ccs/bin/as to the path to the GNU assembler, this should work. The problem is between the Solaris assembler and gcc. Using the GNU assembler with gcc should solve the problem. However, it will take more effort to get this working and you will only gain one bug fix level by doing it. Up to you. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|