On Thu, Sep 12, 2002 at 05:27:29PM +0200, Todd Parry wrote:> but make gets hung up in "fake-getaddrinfo.c".This means that the thing is hanging solid (like in an endless loop)?> The last few lines of running "make -d" follow.Could you kindly run a normal "make"? I do not see the actual information. ...> gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/lo > cal/ssl/include -I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EX > TENDED=1 -DHAVE_CONFIG_H -c fake-getaddrinfo.c > nenv = 29 > *** Error exit code 1 > nenv = 29 > *** Error exit code 1 > <end>So it seems that gcc exits with failure but does not give an error message!? Best regards, Lutz PS. Using 3.4p1 on HP-UX 10.20 myself. -- Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE http://www.aet.TU-Cottbus.DE/personen/jaenicke/ BTU Cottbus, Allgemeine Elektrotechnik Universitaetsplatz 3-4, D-03044 Cottbus
Hello,
over the last few days I've been attempting to compile openssh-3.4p1 on a HP
j5000 (hpux 10.20) but have run
into some problems.
I had found the paper from Kevin Steves and have been following his suggested
steps. Perl, zlib, prngd,
tcp_wrappers and openssl all compiled more or less as he described. The
configure script runs without protest
but make gets hung up in "fake-getaddrinfo.c".
The last few lines of running "make -d" follow.
<snip>
predecessor list: $! = bsd-waitpid.o libopenbsd-compat.a all
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/lo
cal/ssl/include -I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE
-D_XOPEN_SOURCE_EX
TENDED=1 -DHAVE_CONFIG_H -c bsd-waitpid.c
nenv = 29
setvar: @ = noreset = 0 envflg = 0 Mflags = 040001
setvar: % = noreset = 0 envflg = 0 Mflags = 040001
setvar: < = noreset = 0 envflg = 0 Mflags = 040001
setvar: * = noreset = 0 envflg = 0 Mflags = 040001
TIME(bsd-waitpid.o)=1031659552
doname(fake-getaddrinfo.o,2)
setvar: @ = fake-getaddrinfo.o noreset = 0 envflg = 0 Mflags = 040001
setvar: @ = noreset = 0 envflg = 0 Mflags = 040001
look for explicit deps. 2
doname(../config.h,3)
TIME(../config.h)=1031565434
look for implicit rules. 2
right match = fake-getaddrinfo.o
fake-getaddrinfo.c ---.c.o--- fake-getaddrinfo.o
doname(fake-getaddrinfo.c,3)
setvar: @ = fake-getaddrinfo.c noreset = 0 envflg = 0 Mflags = 040001
setvar: @ = noreset = 0 envflg = 0 Mflags = 040001
look for explicit deps. 3
look for implicit rules
right match = fake-getaddrinfo.c
setvar: < = noreset = 0 envflg = 0 Mflags = 040001
setvar: * = noreset = 0 envflg = 0 Mflags = 040001
TIME(fake-getaddrinfo.c)=981683736
setvar: * = fake-getaddrinfo noreset = 0 envflg = 0 Mflags = 040001
setvar: < = fake-getaddrinfo.c noreset = 0 envflg = 0 Mflags = 040001
setvar: @ = fake-getaddrinfo.o noreset = 0 envflg = 0 Mflags = 040001
setvar: ? = ../config.h noreset = 0 envflg = 0 Mflags = 040001
predecessor list: $! = fake-getaddrinfo.o libopenbsd-compat.a all
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/lo
cal/ssl/include -I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE
-D_XOPEN_SOURCE_EX
TENDED=1 -DHAVE_CONFIG_H -c fake-getaddrinfo.c
nenv = 29
*** Error exit code 1
nenv = 29
*** Error exit code 1
<end>
Though I've been poking about in various files looking for clues, I have
really no clear idea of just what the
problem could be. That my various searches have not turned up others with the
same problem, has me
wondering just what I am leaving out.
Any ideas/suggestions?
Todd Parry
On Fri, Sep 13, 2002 at 12:42:56PM +0200, Todd Parry wrote:> gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/ssl/include - > I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE - > D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c fake-getaddrinfo.c > as: "/var/tmp/cca23057.s", line 78: error 1052: Directive name not recognized - PARAM > *** Error exit code 1 > > Stop. > *** Error exit code 1 > <snip>Ok. This was what I was looking for. It has nothing to do with make, it is a compiler issue. It seems that gcc is compiling the code to assembler, but then "as" (the actual assembler) has a problem in generating the object code from the assembler code. I would rather guess, that you have a problem with your gcc installation. It is best to use gcc together with GNU as from the binutils. (I just tried a build using gcc 3.0.3 and could not reproduce your problem). Best regards, Lutz -- Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE http://www.aet.TU-Cottbus.DE/personen/jaenicke/ BTU Cottbus, Allgemeine Elektrotechnik Universitaetsplatz 3-4, D-03044 Cottbus
Hallo,
and thanks for the quick answer.
No make doesn't go into an endless loop, it just exits. Sorry that the
actual error code was not
there. Here are the last lines of a normal make run:
<snip>
(cd openbsd-compat && make)
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-arc4random.c
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-cray.c
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-cygwin_util.c
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-misc.c
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-nextstep.c
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-snprintf.c
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-waitpid.c
gcc -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -
I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c fake-getaddrinfo.c
as: "/var/tmp/cca23057.s", line 78: error 1052: Directive name not
recognized - PARAM
*** Error exit code 1
Stop.
*** Error exit code 1
<snip>
and there it ends with a normal prompt. All of the checks made by the configure
script for
getaddrinfo, ngetaddrinfo and ogetaddrinfo came up negative. The summary from
the configure
process follows:
<snip>
OpenSSH has been configured with the following options:
User binaries: /opt/openssh-3.4p1/bin
System binaries: /opt/openssh-3.4p1/sbin
Configuration files: /opt/local/openssh-3.4p1
Askpass program: /opt/openssh-3.4p1/libexec/ssh-askpass
Manual pages: /opt/openssh-3.4p1/man/manX
PID file: /var/run
Privilege separation chroot path: /var/empty
sshd default user PATH:
/usr/bin:/usr/sbin:/opt/local/openssh-3.4p1/bin
Manpage format: man
PAM support: no
KerberosIV support: no
KerberosV support: no
Smartcard support: no
AFS support: no
S/KEY support: no
TCP Wrappers support: yes
MD5 password support: no
IP address in $DISPLAY hack: yes
Use IPv4 by default hack: no
Translate v4 in v6 hack: no
BSD Auth support: no
Random number source: ssh-rand-helper
ssh-rand-helper collects from: Unix domain socket
"/var/run/egd-pool"
Host: hppa2.0-hp-hpux10.20
Compiler: gcc
Compiler flags: -O2 -Wall -Wpointer-arith -Wno-uninitialized
Preprocessor flags: -I/usr/local/ssl/include -I/opt/zlib/include -D_HPUX_SOURCE
-
D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
Linker flags: -L/usr/local/ssl/lib -L/opt/zlib/lib
Libraries: -lwrap -lz -lxnet -lsec -lcrypto
If the full results of configure or from the make process would make things
easier, I'll gladly
send them along.
Thanks again.
Todd Parry
Hallo, well it seems that I need to fix or update gcc. The system currently has gcc 2.7.3 on it and apparently that is either simply too old or not correctly installed. I'll check it out and probably upgrade next week. thanks for the help, Todd