Sponsored Content
Top Forums UNIX for Advanced & Expert Users 'make' problems (compliation problems?) Post 9804 by xyyz on Saturday 3rd of November 2001 05:19:40 AM
Old 11-03-2001
'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'
--------------
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to subtract 2 hours from 'date' in shell ( /bin/sh ) script ?

I write a sh script that zip and copy to tape all files that older then 2 hours. 1. The way I choose is - touch a file with "now - 2 hours", then use fine with '! -newer' 2. Do you have any other idea to do it ? tnx. (1 Reply)
Discussion started by: yairon
1 Replies

2. Programming

i can't use 'make' in my computer?

I need to compile a file,but 'make' does not work.please tell me how to use it or need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies

3. Shell Programming and Scripting

Clearify what it means under 'WHAT' when hit the 'w'-command

I wonder how I shall read the result below, especially 'what' shown below. The result was shown when I entered 'w'. E.g what is TOP? What is gosh ( what does selmgr mean?)? login@ idle JCPU PCPU what 6:15am 7:04 39 39 TOP 6:34am 6:45 45 45 TOP 6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies

4. IP Networking

TCP Programming problems with 'recv'

Hey, I am learning to program a TCP server and managed to get it up and running (I am using Windows 98SE). I can use the send function to send information to the client and I can use the recv function to ask the user to pass information through, but when I do so it only allows the client to... (1 Reply)
Discussion started by: KrazyGuyPaul
1 Replies

5. UNIX for Dummies Questions & Answers

quoting echo 'it's friday'

echo 'it's friday' why appear the > (3 Replies)
Discussion started by: yls177
3 Replies

6. IP Networking

BELKIN 'F5D5020' 16bit PCMCIA - FreeBSD HOWTO

Hey all, I've bought a few bits from Belkin who seem quite happy to support FreeBSD! Last time I bought a UPS from them and it's still going well :D I saw this on their website that the 16bit PCMCIA card was supported under FreeBSD: http://www.belkin.com/network/F5D5020.html I went to my... (0 Replies)
Discussion started by: WIntellect
0 Replies

7. Email Antispam Techniques and Email Filtering

Procmail recipe: blocking 'unsubscribe and opt-out' messages....

Here is a crude procmail recipe that I quickly created (NOT a procmail recipe expert, btw) that has been catching lots of spam (current second after the charset_spam recipe posted earlier): :0B * .*If.you.do.not.wish.to.receive...* more_spam :0B * You.requested.to.receive.this.mailing... (0 Replies)
Discussion started by: Neo
0 Replies

8. Cybersecurity

D'oh! More SSH problems

But this time it's not the implementation, it's the protocol. Check this out for a description: http://lasecwww.epfl.ch/memo_ssl.shtml There's a little more general information found in links on Slashdot's story here. Don't rush out and replace your sshd, though. This attack apparently only... (1 Reply)
Discussion started by: LivinFree
1 Replies

9. UNIX for Advanced & Expert Users

How to remove a file with a leading dash '-' in it's name?

Somehow someone created a file named '-ov' in the root directory. Given the name, the how was probably the result of some cpio command they bozo'ed. I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies

10. Shell Programming and Scripting

What are the differences between 'bash' and 'sh'

Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies
cc(1B)						     SunOS/BSD Compatibility Package Commands						    cc(1B)

NAME
cc - C compiler SYNOPSIS
/usr/ucb/cc [options] DESCRIPTION
/usr/ucb/cc is the interface to the BSD Compatibility Package C compiler. It is a script that looks for the link /usr/ccs/bin/ucbcc to the C compiler. The /usr/ccs/bin/ucbcc link is available only with the SPROcc package, whose default location is /opt/SUNWspro. The /usr/ucb/cc interface is identical to /usr/ccs/bin/ucbcc, except that BSD headers are used and BSD libraries are linked before base libraries. The /opt/SUNWspro/man/man1/acc.1 man page is available only with the SPROcc package. OPTIONS
The /usr/ucb/cc interface accepts the same options as /usr/ccs/bin/ucbcc, with the following exceptions: -Idir Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The directories for multiple -I options are searched in the order specified. The preprocessor first searches for #include files in the directory containing sourcefile, and then in directories named with -I options (if any), then /usr/ucbinclude, and finally, in /usr/include. -Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucbcc. This option is passed to /usr/ccs/bin/ld and /usr/lib. Directories specified with this option are searched before /usr/ucblib and /usr/lib. -Y P, dir Change the default directory used for finding libraries. EXIT STATUS
The following exit values are returned: 0 Successful compilation or link edit. >0 An error occurred. FILES
/usr/ccs/bin/ld link editor /usr/lib/libc C library /usr/ucbinclude BSD Compatibility directory for header files /usr/ucblib BSD Compatibility directory for libraries /usr/ucblib/libucb BSD Compatibility C library /usr/lib/libsocket library containing socket routines /usr/lib/libnsl library containing network functions /usr/lib/libelf library containing routines to process ELF object files /usr/lib/libaio library containing asynchronous I/O routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
ld(1), a.out(4), attributes(5) NOTES
The -Y P, dir option may have unexpected results and should not be used. SunOS 5.10 24 Feb 1998 cc(1B)
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy