Hello, I have dowloaded all that is required to build a working OpenSSH on HP-UX 10.20 from the HP-UX Porting and Archibve centre (this seems to be the only way to go for 10.20). Make/install of all prerequisites has scucceeded. Now make of openssh-3.7.1p2 gives the following: gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/openssl-0.9.7b/include -I/opt/zlib/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c getrrsetbyname.c getrrsetbyname.c: In function `getrrsetbyname': getrrsetbyname.c:191: warning: implicit declaration of function `res_init' getrrsetbyname.c:207: warning: implicit declaration of function `res_query' getrrsetbyname.c:265: `T_SIG' undeclared (first use in this function) getrrsetbyname.c:265: (Each undeclared identifier is reported only once getrrsetbyname.c:265: for each function it appears in.) getrrsetbyname.c: In function `parse_dns_response': getrrsetbyname.c:366: `HFIXEDSZ' undeclared (first use in this function) getrrsetbyname.c: In function `parse_dns_qsection': getrrsetbyname.c:437: warning: implicit declaration of function `dn_expand' *** Error exit code 1 Stop. *** Error exit code 1 Stop. Any clue? Thanks, Jean Bagdoo
Bagdoo.Jean at hydro.qc.ca <Bagdoo.Jean at hydro.qc.ca> wrote:> Hello, > > I have dowloaded all that is required to build a working OpenSSH on HP-UX > 10.20 from the HP-UX Porting and Archibve centre (this seems to be the only > way to go for 10.20). Make/install of all prerequisites has scucceeded. Now > make of openssh-3.7.1p2 gives the following: > > gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. > -I/usr/local/openssl-0.9.7b/include -I/opt/zlib/include -D_HPUX_SOURCE > -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c > getrrsetbyname.c > getrrsetbyname.c: In function `getrrsetbyname': > getrrsetbyname.c:191: warning: implicit declaration of function `res_init' > getrrsetbyname.c:207: warning: implicit declaration of function `res_query' > getrrsetbyname.c:265: `T_SIG' undeclared (first use in this function) > getrrsetbyname.c:265: (Each undeclared identifier is reported only once > getrrsetbyname.c:265: for each function it appears in.) > getrrsetbyname.c: In function `parse_dns_response': > getrrsetbyname.c:366: `HFIXEDSZ' undeclared (first use in this function) > getrrsetbyname.c: In function `parse_dns_qsection': > getrrsetbyname.c:437: warning: implicit declaration of function `dn_expand' > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > > > Any clue? > > Thanks, > > > Jean BagdooI have just encountered the same problem under HP-UX 10.20, but using the native HP compiler rather than gcc. I have no idea what the problem is. Does anyone know where T_SIG or HFIXEDSZ are or should be defined? -- +----------------------------------------------------+ | Will Parsons | | Modified e-mail address: wbparsons at cshorexyz.com | | To reply: delete "xyz" from domain | +----------------------------------------------------+
Perhaps not all the requisite include files are being included? This is from an 11.0 system, but can be easily validated with a "man res_init" on the 10.20 systems: resolver(3N) resolver(3N) NAME res_query(), res_search(), res_mkquery(), res_send(), res_init(), dn_comp(), dn_expand(), herror() - resolver routines SYNOPSIS #include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> -- Wisdom Teeth are impacted, people are affected by the effects of events. these opinions are mine, all mine; HP might not want them anyway... :) feel free to post, OR email to raj in cup.hp.com but NOT BOTH...
Possibly Parallel Threads
- [Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
- Resolver changes broke AIX & HPUX
- [Bug 1111] memory leak in openbsd-compat/getrrsetbyname.c, function: getrrsetbyname
- Redefinition of _res in getrrsetbyname.c
- please test (HEADER.ad)