- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh compile error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 04:24 AM
04-04-2001 04:24 AM
I am compiling ssh-1.2.31 on hpux 11.00 64 bit with gcc 2.95.2 and getting the following errors. Any suggestins please. configure runs without errors and these errors occur while running make
output of make.log
cd gmp-2.0.2-ssh-2; make
Making all in mpn
Making all in tests
rm -f libmpn.a
ar cru libmpn.a mp_bases.o udiv_qrnnd.o add_n.o lshift.o rshift.o sub_n.o inlines.o addmul_1.o cmp.o divmod_1.o divrem.o divrem_1.o dump.o mod_1.o mul.o mul_1.o mul_n.o random2.o sqrtrem.o submul_1.o get_str.o set_str.o scan0.o scan1.o popcount.o hamdist.o gcd_1.o pre_mod_1.o perfsqr.o bdivmod.o gcd.o gcdext.o
ranlib libmpn.a
Making all in mpz
Making all in tests
/opt/gcc/bin/gcc -DPACKAGE=\"gmp\" -DVERSION=\"2.0.2-ssh-2\" -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DSIZEOF_INT=4 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -I.. -I../mpn -I./.. -g -O2 -c set_str.c
In file included from set_str.c:27:
../gmp.h:176: parse error before `size_t'
../gmp.h:177: parse error before `size_t'
../gmp.h:178: parse error before `size_t'
../gmp.h:269: parse error before `mpz_size'
../gmp.h:269: warning: data definition has no type or storage class
../gmp.h:270: parse error before `mpz_sizeinbase'
../gmp.h:270: warning: data definition has no type or storage class
../gmp.h:325: parse error before `size_t'
../gmp.h:355: parse error before `mpf_size'
../gmp.h:355: warning: data definition has no type or storage class
../gmp.h:419: parse error before `__mpn_get_str'
../gmp.h:419: warning: data definition has no type or storage class
../gmp.h:433: parse error before `size_t'
In file included from set_str.c:28:
../gmp-impl.h:66: warning: parameter names (without types) in function declaration
../gmp-impl.h:67: parse error before `size_t'
../gmp-impl.h:71: warning: parameter names (without types) in function declaration
../gmp-impl.h:72: parse error before `size_t'
../gmp-impl.h:73: parse error before `size_t'
../gmp-impl.h:75: warning: parameter names (without types) in function declaration
../gmp-impl.h:76: parse error before `size_t'
../gmp-impl.h:77: parse error before `size_t'
set_str.c: In function `mpz_set_str':
set_str.c:62: `size_t' undeclared (first use in this function)
set_str.c:62: (Each undeclared identifier is reported only once
set_str.c:62: for each function it appears in.)
set_str.c:62: parse error before `str_size'
set_str.c:64: parse error before `i'
set_str.c:103: `str_size' undeclared (first use in this function)
set_str.c:106: `i' undeclared (first use in this function)
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2001 12:49 AM
04-05-2001 12:49 AM
Re: ssh compile error
I'm no C guru, but it seems like the code in the gmp.h header file is bad (hence the parse error)...
BTW, is your gcc native 64-bit (hp-pa2.0)? And which "configure" options did you use?
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2001 02:57 AM
04-05-2001 02:57 AM
Re: ssh compile error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2001 04:11 AM
04-09-2001 04:11 AM
Re: ssh compile error
I have not used any option with configure. gcc is for 64 bit. I have used it to compile on a similar machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2001 04:33 AM
04-09-2001 04:33 AM
Solutionthis may not be much of help for your particular compiler error, but I had no trouble installing OpenSSH.
We switched to OpenSSH because it is completely under the GPL and there are no licensing issues involved with certain cryptographic algorithms (e.g. IDEA)
OpenSSH is cooperating with SSH1 and SSH2 deamons.
It only requires the following to be installed in advance:
perl 5.X
zlib
openSSL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 08:11 AM
05-02-2001 08:11 AM
Re: ssh compile error
Just install gcc, and binutils, put then on the begining of the PATH and recompile with
./configure --enable-gcc.
regards