The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-03-2001
xyyz xyyz is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 114
'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'
--------------
  #2 (permalink)  
Old 11-04-2001
nomadlogic nomadlogic is offline
Registered User
  
 

Join Date: Oct 2001
Location: nyc
Posts: 1
Lightbulb gnu-make maybe?

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
  #3 (permalink)  
Old 11-04-2001
xyyz xyyz is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 114
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...
  #4 (permalink)  
Old 11-05-2001
wizard wizard is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 60
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.
  #5 (permalink)  
Old 11-05-2001
xyyz xyyz is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 114
hmmm... that makes sense...

I'll try it...

but... is there a version of AS that will work with the version of gcc I have?
  #6 (permalink)  
Old 11-05-2001
wizard wizard is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 60
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0