- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to script FTP with SSL/TLS usage
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
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
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
тАО12-23-2009 08:43 PM
тАО12-23-2009 08:43 PM
Need to script FTP with SSL/TLS usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 04:22 AM
тАО12-24-2009 04:22 AM
Re: Need to script FTP with SSL/TLS usage
As usual, it might help to show the actual
command(s) and error message(s) instead of
vague descriptions and interpretations.
If the problem really is a lack of virtual
memory, then adding some swap space might
help.
> Also tried compiling lftp with no success.
My psychic powers are too weak to give me
any clue as to what you tried to do with
what here, or what happened when you tried
it. (Repeat first complaint here.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 10:19 AM
тАО12-24-2009 10:19 AM
Re: Need to script FTP with SSL/TLS usage
below is a typescript with some details of my cpan install request:
---------------------------------------------
Script started on Thu Dec 24 09:54:56 2009
lemis:/# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=hpux, osvers=10.20, archname=PA-RISC2.0
uname='hp-ux lemis b.10.20 u 9000800 2008584079 unlimited-user license '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='+O2 +Onolimit',
cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include'
ccversion='A.10.32.15', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl_s -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec
perllibs=-lnsl_s -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Oct 18 2002 14:39:42
%ENV:
PERLBIN="/opt/perl5/bin"
@INC:
/opt/perl5/lib/5.8.0/PA-RISC2.0
/opt/perl5/lib/5.8.0
/opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0
/opt/perl5/lib/site_perl/5.8.0
/opt/perl5/lib/site_perl/5.6.1
/opt/perl5/lib/site_perl/5.6.0
/opt/perl5/lib/site_perl
.
lemis:/# cpan
cpan shell -- CPAN exploration and modules installation (v1.76)
ReadLine support enabled
[4mcpan>[0m [4mcpan>[0m install Net::SFTP[4mcpan>[0m install Net::SFT [4mcpan>[0m install Net::SFT[4mcpan>[0m install Net::SF [4mcpan>[0m install Net::SF[4mcpan>[0m install Net::S [4mcpan>[0m install Net::S[4mcpan>[0m install Net:: [4mcpan>[0m install Net::FTPSSL
CPAN: Storable loaded ok
Going to read /.cpan/Metadata
Database was generated on Fri, 20 Jan 2006 10:12:37 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.orst.edu/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname 'ftp.orst.edu']
Fetching with Net::FTP:
ftp://ftp.orst.edu/pub/CPAN/authors/01mailrc.txt.gz
Fetching with LWP:
ftp://ftp.ou.edu/mirrors/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: Invalid argument]
Fetching with Net::FTP:
ftp://ftp.ou.edu/mirrors/CPAN/authors/01mailrc.txt.gz
Couldn't cwd mirrors/CPAN/authors at /opt/perl5/lib/5.8.0/CPAN.pm line 2244.
Fetching with LWP:
ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN/authors/01mailrc.txt.gz
Going to read /.cpan/sources/authors/01mailrc.txt.gz
Fetching with LWP:
ftp://ftp.orst.edu/pub/CPAN/modules/02packages.details.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname 'ftp.orst.edu']
Fetching with Net::FTP:
ftp://ftp.orst.edu/pub/CPAN/modules/02packages.details.txt.gz
Fetching with LWP:
ftp://ftp.ou.edu/mirrors/CPAN/modules/02packages.details.txt.gz
LWP failed with code[404] message[Can't chdir to mirrors]
Fetching with Net::FTP:
ftp://ftp.ou.edu/mirrors/CPAN/modules/02packages.details.txt.gz
Couldn't cwd mirrors/CPAN/modules at /opt/perl5/lib/5.8.0/CPAN.pm line 2244.
Fetching with LWP:
ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN/modules/02packages.details.txt.gz
Going to read /.cpan/sources/modules/02packages.details.txt.gz
Subroutine AUTOLOAD redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 84.
Subroutine isaFilehandle redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 99.
Subroutine isaFilename redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 108.
Subroutine gzopen redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 115.
Subroutine ParseParameters redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 132.
Subroutine deflateInit redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 198.
Subroutine inflateInit redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 210.
Subroutine Compress::Zlib::deflateStream::deflateParams redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 220.
Subroutine compress redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 249.
Subroutine uncompress redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 280.
Constant subroutine Compress::Zlib::MAGIC1 redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::MAGIC2 redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::OSCODE redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::FTEXT redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::FHCRC redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::FEXTRA redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::FNAME redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::FCOMMENT redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::NULL redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::RESERVED redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Constant subroutine Compress::Zlib::MIN_HDR_SIZE redefined at /opt/perl5/lib/5.8.0/constant.pm line 108.
Subroutine memGzip redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 319.
Subroutine _removeGzipHeader redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 350.
Subroutine memGunzip redefined at /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0/Compress/Zlib.pm line 409.
Database was generated on Thu, 24 Dec 2009 03:53:10 GMT
There's a new CPAN.pm version (v1.9402) available!
[Current version is v1.76]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
Out of memory!
No history written (no histfile specified).
Lockfile removed.
lemis:/# exit
script done on Thu Dec 24 09:58:35 2009
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 10:45 AM
тАО12-24-2009 10:45 AM
Re: Need to script FTP with SSL/TLS usage
-----------------------------------
checking for stdint.h... (cached) no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing dlopen... no
checking for library containing res_9_search... no
checking for library containing res_search... none required
checking whether res_search is declared... no
checking for library containing hstrerror... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking term.h usability... no
checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h: check for missing prerequisite headers?
configure: WARNING: term.h: see the Autoconf documentation
configure: WARNING: term.h: section "Present But Cannot Be Compiled"
configure: WARNING: term.h: proceeding with the preprocessor's result
configure: WARNING: term.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to lftp-bugs@lftp.yar.ru ##
configure: WARNING: ## ------------------------------------ ##
checking for term.h... yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses/term.h usability... no
checking ncurses/term.h presence... no
checking for ncurses/term.h... no
checking for library containing tigetstr... -lcurses
checking for tgetstr... yes
checking for readline... configure: error: need installed readline-devel package
------------------------------------------
Not sure where to run from here. Any advice would be greatly appreciated. Thanks much.
Regards,
-Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 04:28 PM
тАО12-24-2009 04:28 PM
Re: Need to script FTP with SSL/TLS usage
" error: need installed readline-devel package"
you're missing one or more dependencies. you'll have to find and download readline-devel and all its dependencies.
You do know 10.20 nearly a decade out of support right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2009 01:58 PM
тАО12-28-2009 01:58 PM
Re: Need to script FTP with SSL/TLS usage
----------------------------
lemis:/src/readline/readline-6.0# make
rm -f display.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -g -O display.c
In file included from tcap.h:33,
from display.c:49:
/usr/include/termcap.h:51: parse error before `tgetflag'
/usr/include/termcap.h:51: warning: data definition has no type or storage class
*** Error exit code 1
Stop.
Any ideas on how to get past this or proceed in a more fruitful direction? Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2009 02:17 PM
тАО12-28-2009 02:17 PM
Re: Need to script FTP with SSL/TLS usage
Did you do the "./configure" step first?
> /usr/include/termcap.h:51: [...]
I can't see that line of that file from here.
Frequently, compiler complaints about system
header files are caused by problems with the
compiler installation. "gcc --version"?
Installed how? (Someone else's depot, built
from sources, ...?)
Seems like a pretty safe bet that testing of
that version of readline on HP-UX 10.20 was
not extensive, so you may need to do some
fiddling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2009 02:29 PM
тАО12-28-2009 02:29 PM
Re: Need to script FTP with SSL/TLS usage
# gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)
I did find your replies to someone else installing lftp at this URL:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1262038382501+28353475&threadId=1358485
But my mileage seems to vary. Then again I'm on an older OS, compiler, etc. I could use really basic handholding on getting through these dependency issues. I'm not an SA but I do need to pinch hit. Thanks for you patience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2009 03:21 PM
тАО12-28-2009 03:21 PM
Re: Need to script FTP with SSL/TLS usage
It's possible that I actually used something
very like that compiler on that OS (long
ago), but that proves little. I now have no
HP-UX older than 11.11, so I can't test much
from here.
> I can't see that line of that file from here.
Still true. It's hard to guess what the
compiler dislikes there, with no idea of
what's there.
> Installed how? (Someone else's depot, built
> from sources, ...?)
Still wondering.
It's possible that there's some gross defect
in "/usr/include/termcap.h", or that it needs
some other header file included first, but
neither should be true. Or, the "configure"
script could have erred, and you should be
trying to use terminfo instead of termcap, or
something else could be wrong. On my 11.31
(IA64) system, for example, I seem not to
have a "termcap.h", so the "configure" script
moved on to try "termio[s].h", which did
better. There does seem to be a
"--with-curses" option on that script, which
might change something.
./configure --help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 10:08 AM
тАО12-29-2009 10:08 AM
Re: Need to script FTP with SSL/TLS usage
After a bit of googling around I found this text in (http://www.docs.hp.com/en/5074/portability.html):
"Note that C has no special type for boolean or logical expressions. Instead, any integer can be used with a zero value representing false, and non-zero representing true. Also, C performs all integer math in full precision (32-bit); the result is then truncated to the appropriate destination size.
So I changed the BOOL datatype in my /usr/include/termcap.h file and this got me a step further. This is now the output from make. Note I went back to trying an earlier version (2.6.12) of lftp thinking it would be more closely aligned with my older system..
Thanks in advance for all inputs.
---
lemis:/src/lftp/lftp-2.6.12# make
No suffix list.
Making all in include
No suffix list.
make all-am
No suffix list.
Making all in readline-4.3
rm -f display.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O terminal.c
terminal.c: In function `get_term_capabilities':
terminal.c:353: warning: passing arg 1 of `tgetstr' discards qualifiers from pointer target type
terminal.c: In function `_rl_init_terminal_io':
terminal.c:392: warning: passing arg 2 of `tgetent' discards qualifiers from pointer target type
rm -f text.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O text.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O nls.c
rm -f misc.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O misc.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O compat.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O xmalloc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O shell.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O mbutil.c
rm -f tilde.o
gcc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.3"' -g -O -DREADLINE_LIBRARY -c ./tilde.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o
test -n "ranlib" && ranlib libhistory.a
Making all in lib
Making all in doc
No suffix list.
Making all in src
source='PollVec.cc' object='PollVec.o' libtool=no \
depfile='.deps/PollVec.Po' tmpdepfile='.deps/PollVec.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/ssl/include -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o PollVec.o PollVec.cc
In file included from ../include/post-config.h:85,
from ../include/config.h:536,
from PollVec.cc:21:
/usr/include/sys/types.h:62: syntax error before `;'
/usr/include/sys/types.h:83: syntax error before `;'
/usr/include/sys/types.h:104: syntax error before `;'
/usr/include/sys/types.h:125: syntax error before `;'
/usr/include/sys/types.h:146: syntax error before `;'
/usr/include/sys/types.h:272: syntax error before `;'
In file included from /usr/include/sys/fcntl.h:152,
from /usr/include/fcntl.h:9,
from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/sys/file.h:25,
from /usr/include/sys/uio.h:17,
from /usr/include/sys/socket.h:44,
from ../include/post-config.h:86,
from ../include/config.h:536,
from PollVec.cc:21:
/usr/include/sys/_flock_body.h:6: syntax error before `;'
/usr/include/sys/_flock_body.h:7: syntax error before `;'
In file included from ../include/trio.h:25,
from PollVec.cc:22:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:167: type specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:167: parse error before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:168: parse error before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:538: syntax error before `('
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:539: type specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:540: type specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:540: parse error before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:541: parse error before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:573: type specifier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:573: parse error before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h: In function `int fgetpos(...)':
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:573: `a' undeclared (first use this function)
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:573: (Each undeclared identifier is reported only once
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:573: for each function it appears in.)
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:573: `b' undeclared (first use this function)
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:573: warning: control reaches end of non-void function `fgetpos(...)'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h: At top level:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:574: parse error before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h: In function `int fsetpos(...)':
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdio.h:574: warning: control reaches end of non-void function `fsetpos(...)'
In file included from /usr/include/sys/resource.h:34,
from /usr/include/sys/wait.h:83,
from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/include/stdlib.h:231,
from ../include/trio.h:26,
from PollVec.cc:22:
/usr/include/sys/_rlimit_body.h: At top level:
/usr/include/sys/_rlimit_body.h:7: syntax error before `;'
/usr/include/sys/_rlimit_body.h:8: syntax error before `;'
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
lemis:/src/lftp/lftp-2.6.12#
This is afchanging the BOOLatatype in termcap.h to int
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 10:16 AM
тАО12-29-2009 10:16 AM
Re: Need to script FTP with SSL/TLS usage
...
>/usr/include/sys/types.h:272: syntax error before `;'
What's on these lines?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 10:36 AM
тАО12-29-2009 10:36 AM
Re: Need to script FTP with SSL/TLS usage
--------------------
lines 59-66
# ifndef _FPOS_T
# define _FPOS_T
# ifdef _FILE64
typedef int64_t fpos_t; /* 64bit position inside a file */
# else
typedef int32_t fpos_t; /* 32bit position inside a file */
# endif
# endif /* _FPOS_T */
lines 269-276
# ifndef _RLIM_T
# define _RLIM_T
# ifdef _FILE64
typedef uint64_t rlim_t;
# else
typedef uint32_t rlim_t;
# endif
# endif /* _RLIM_T */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 12:34 PM
тАО12-29-2009 12:34 PM
Re: Need to script FTP with SSL/TLS usage
> [...] -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
Does HP-UX 10.x have 64-bit file offsets?
I know nothing, but I'd've guessed not.
> /usr/include/sys/types.h:62: syntax error before `;'
> typedef int64_t fpos_t; /* 64bit position inside a file */
> /usr/include/sys/types.h:272: syntax error before `;'
> typedef uint64_t rlim_t;
Sure looks to me as if int64_t and uint64_t
are mystifying the compiler, which also
suggests to me that some of those C compiler
flags don't agree with this environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 02:35 PM
тАО12-29-2009 02:35 PM
Re: Need to script FTP with SSL/TLS usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 02:47 PM
тАО12-29-2009 02:47 PM
Re: Need to script FTP with SSL/TLS usage
You need long long support. Look in your headers and see why the compiler doesn't go through the #if that defines int64_t and uint64_t.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 06:27 AM
тАО01-05-2010 06:27 AM