RE: Problem compiling on HP-UX 11i (32 Bit).

From: Young, Jason <JYoung@dont-contact.us>
Date: Fri, 4 Jan 2002 18:15:13 +1100

Henrik,

Thanks for the help. I downloaded the 2.5 release as suggested and tried
the recompile again. It stops with different error this time when you run
the "make all". The output from the command was as attached.

Any further ideas?

Regards

Jason Young

####### Output Below #######

bneweb2:/data1/source/squid/squid-2.5.PRE2# make all
No suffix list.
Making all in lib
        source='Array.c' object='Array.o' libtool=no \
        depfile='.deps/Array.Po' tmpdepfile='.deps/Array.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
Array.c || echo './'`Array.c
        source='base64.c' object='base64.o' libtool=no \
        depfile='.deps/base64.Po' tmpdepfile='.deps/base64.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
base64.c || echo './'`base64.c
        source='getfullhostname.c' object='getfullhostname.o' libtool=no \
        depfile='.deps/getfullhostname.Po'
tmpdepfile='.deps/getfullhostname.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
getfullhostname.c || echo './'`getfullhostname.c
        source='hash.c' object='hash.o' libtool=no \
        depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
hash.c || echo './'`hash.c
        source='heap.c' object='heap.o' libtool=no \
        depfile='.deps/heap.Po' tmpdepfile='.deps/heap.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
heap.c || echo './'`heap.c
        source='html_quote.c' object='html_quote.o' libtool=no \
        depfile='.deps/html_quote.Po' tmpdepfile='.deps/html_quote.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
html_quote.c || echo './'`html_quote.c
        source='iso3307.c' object='iso3307.o' libtool=no \
        depfile='.deps/iso3307.Po' tmpdepfile='.deps/iso3307.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
iso3307.c || echo './'`iso3307.c
        source='md5.c' object='md5.o' libtool=no \
        depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
md5.c || echo './'`md5.c
        source='radix.c' object='radix.o' libtool=no \
        depfile='.deps/radix.Po' tmpdepfile='.deps/radix.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
radix.c || echo './'`radix.c
        source='rfc1035.c' object='rfc1035.o' libtool=no \
        depfile='.deps/rfc1035.Po' tmpdepfile='.deps/rfc1035.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
rfc1035.c || echo './'`rfc1035.c
        source='rfc1123.c' object='rfc1123.o' libtool=no \
        depfile='.deps/rfc1123.Po' tmpdepfile='.deps/rfc1123.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
rfc1123.c || echo './'`rfc1123.c
        source='rfc1738.c' object='rfc1738.o' libtool=no \
        depfile='.deps/rfc1738.Po' tmpdepfile='.deps/rfc1738.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
rfc1738.c || echo './'`rfc1738.c
        source='rfc2617.c' object='rfc2617.o' libtool=no \
        depfile='.deps/rfc2617.Po' tmpdepfile='.deps/rfc2617.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
rfc2617.c || echo './'`rfc2617.c
        source='safe_inet_addr.c' object='safe_inet_addr.o' libtool=no \
        depfile='.deps/safe_inet_addr.Po'
tmpdepfile='.deps/safe_inet_addr.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
safe_inet_addr.c || echo './'`safe_inet_addr.c
        source='splay.c' object='splay.o' libtool=no \
        depfile='.deps/splay.Po' tmpdepfile='.deps/splay.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
splay.c || echo './'`splay.c
        source='Stack.c' object='Stack.o' libtool=no \
        depfile='.deps/Stack.Po' tmpdepfile='.deps/Stack.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
Stack.c || echo './'`Stack.c
        source='stub_memaccount.c' object='stub_memaccount.o' libtool=no \
        depfile='.deps/stub_memaccount.Po'
tmpdepfile='.deps/stub_memaccount.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
stub_memaccount.c || echo './'`stub_memaccount.c
        source='util.c' object='util.o' libtool=no \
        depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
util.c || echo './'`util.c
cc: "util.c", line 754: warning 562: Redeclaration of
"default_failure_notify" with a different storage class specifier:
"default_failure_notify" will have internal linkage.
        source='uudecode.c' object='uudecode.o' libtool=no \
        depfile='.deps/uudecode.Po' tmpdepfile='.deps/uudecode.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
uudecode.c || echo './'`uudecode.c
        rm -f libmiscutil.a
        ar cru libmiscutil.a Array.o base64.o getfullhostname.o hash.o
heap.o html_quote.o iso3307.o md5.o radix.o rfc1035.o rfc1123.o rfc1738.o
rfc2617.o safe_inet_addr.o splay.o Stack.o stub_memaccount.o util.o
uudecode.o # ../include/version.h should be a dependency
        : libmiscutil.a
        source='ntlmauth.c' object='ntlmauth.o' libtool=no \
        depfile='.deps/ntlmauth.Po' tmpdepfile='.deps/ntlmauth.TPo' \
        depmode=hp /bin/sh ../cfgaux/depcomp \
        cc -Ae -DHAVE_CONFIG_H -I. -I. -I../include -g -c `test -f
ntlmauth.c || echo './'`ntlmauth.c
        rm -f libntlmauth.a
        ar cru libntlmauth.a ntlmauth.o INCLUDES = -I../include -I../include
ar: No such file or directory
ar: could not open INCLUDES
ar: No such file or directory
ar: could not open =
ar: No such file or directory
ar: could not open -I../include
ar: No such file or directory
ar: could not open -I../include
*** Error exit code 4

Stop.
*** Error exit code 1

Stop.

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Friday, 4 January 2002 1:26 PM
To: Young, Jason; 'squid-bugs@squid-cache.org'
Subject: Re: Problem compiling on HP-UX 11i (32 Bit).

Can you please try the Squid-2.5.PRE2 pre-release? The makefiles have been
considerably restructured to increase portability and flexibility in
Squid-2.5.

If you can not, Squid-2.4 should build fine on HP-UX using GNU make, but it
would be of great help if you tried the 2.5.PRE2 version and reported any
success or failure in building that release to squid-dev@squid-cache.org.

Regards
Henrik

On Friday 04 January 2002 01.28, Young, Jason wrote:
> Hi,
>
> I am trying to compile squid on our HP-UX 11.11 (11i) system. The box is
> running the 32bit version of the OS. I have downloaded the latest version
> of squid2.4 from the web site, the "configure" command seems to run ok but
> when I run the "make all" command I get a syntax error on line 228. The
> system is a full copy of 11.11 Enterprise and I have also load the full HP
> ANSI-C Compiler onto the box.
>
> Any ideas as to why it does not compile?
>
> Regards
>
> Jason Young
>
> ===================================================================
>
> bneweb2:/data1/source/squid/squid-2.4# make all
> Making all in lib...
> cc -Ae -g -I../include -I../include -c rfc1123.c
> cc -Ae -g -I../include -I../include -c rfc1738.c
> cc -Ae -g -I../include -I../include -c rfc1035.c
> cc -Ae -g -I../include -I../include -c util.c
> cc: "util.c", line 751: warning 562: Redeclaration of
> "default_failure_notify" with a different storage class specifier:
> "default_failure_notify" will have internal linkage.
> cc -Ae -g -I../include -I../include -c getfullhostname.c
> cc -Ae -g -I../include -I../include -c base64.c
> cc -Ae -g -I../include -I../include -c uudecode.c
> cc -Ae -g -I../include -I../include -c splay.c
> cc -Ae -g -I../include -I../include -c safe_inet_addr.c
> cc -Ae -g -I../include -I../include -c iso3307.c
> cc -Ae -g -I../include -I../include -c snprintf.c
> cc -Ae -g -I../include -I../include -c md5.c
> cc -Ae -g -I../include -I../include -c radix.c
> cc -Ae -g -I../include -I../include -c stub_memaccount.c
> cc -Ae -g -I../include -I../include -c Array.c
> cc -Ae -g -I../include -I../include -c Stack.c
> cc -Ae -g -I../include -I../include -c hash.c
> cc -Ae -g -I../include -I../include -c heap.c
> cc -Ae -g -I../include -I../include -c html_quote.c
> /usr/bin/rm -f libmiscutil.a
> /usr/bin/ar r libmiscutil.a rfc1123.o rfc1738.o rfc1035.o
util.o
> getfullhostname.o base64.o uudecode.o splay.o safe_inet_addr.o
> iso3307.o snprintf.o md5.o radix.o stub_memaccount.o Array.o Stack.o
> hash.o heap.o html_quote.o
> ar: creating libmiscutil.a
>
> : libmiscutil.a
>
> Making all in scripts...
> Making all in src...
> Make: line 228: syntax error. Stop.
> *** Error exit code 1
>
> Stop.
>
> ===================================================================
>
> The Configure command completes without and errors :
>
> ===================================================================
>
> bneweb2:/data1/source/squid/squid-2.4# ./configure --prefix=/data1/squid
> creating cache ./config.cache
> checking host system type... hppa1.1-hp-hpux11.11
> checking for gcc... no
> checking for cc... cc
> checking whether the C compiler (cc -g) works... yes
> checking whether the C compiler (cc -g) is a cross-compiler... no
> checking whether we are using GNU C... no
> checking whether cc accepts -g... yes
> Store modules built: ufs
> Removal policies built: lru
> unlinkd enabled
> adding '-Ae' to cc args for hppa1.1-hp-hpux11.11
> checking how to run the C preprocessor... cc -Ae -E
> checking for a BSD compatible install... /opt/imake/bin/install -c
> checking for ranlib... ranlib
> checking whether ln -s works... yes
> checking for sh... /usr/bin/sh
> checking for false... /usr/bin/false
> checking for true... /usr/bin/true
> checking for rm... /usr/bin/rm
> checking for mv... /usr/bin/mv
> checking for mkdir... /usr/bin/mkdir
> checking for ln... /usr/bin/ln
> checking for perl... /usr/contrib/bin/perl
> checking for makedepend... /opt/imake/bin/makedepend
> checking for ar... /usr/bin/ar
> Disabling 'ranlib' for HP-UX...
> checking for dirent.h that defines DIR... yes
> checking for opendir in -ldir... no
> checking for ANSI C header files... yes
> checking for arpa/inet.h... yes
> checking for arpa/nameser.h... yes
> checking for assert.h... yes
> checking for bstring.h... no
> checking for config.h... no
> checking for crypt.h... yes
> checking for ctype.h... yes
> checking for errno.h... yes
> checking for execinfo.h... no
> checking for fcntl.h... yes
> checking for getopt.h... no
> checking for gnumalloc.h... no
> checking for grp.h... yes
> checking for ip_compat.h... no
> checking for ip_fil_compat.h... no
> checking for ip_fil.h... no
> checking for ip_nat.h... no
> checking for libc.h... no
> checking for limits.h... yes
> checking for linux/netfilter_ipv4.h... no
> checking for malloc.h... yes
> checking for math.h... yes
> checking for memory.h... yes
> checking for mount.h... no
> checking for net/if.h... yes
> checking for netdb.h... yes
> checking for netinet/if_ether.h... yes
> checking for netinet/in.h... yes
> checking for netinet/tcp.h... yes
> checking for netinet/ip_compat.h... no
> checking for netinet/ip_fil_compat.h... no
> checking for netinet/ip_fil.h... no
> checking for netinet/ip_nat.h... no
> checking for poll.h... yes
> checking for pwd.h... yes
> checking for regex.h... yes
> checking for resolv.h... yes
> checking for sched.h... yes
> checking for signal.h... yes
> checking for stdarg.h... yes
> checking for stddef.h... yes
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for strings.h... yes
> checking for sys/file.h... yes
> checking for sys/ioctl.h... yes
> checking for sys/mount.h... yes
> checking for sys/msg.h... yes
> checking for sys/param.h... yes
> checking for sys/resource.h... yes
> checking for sys/select.h... no
> checking for sys/socket.h... yes
> checking for sys/stat.h... yes
> checking for sys/statvfs.h... yes
> checking for sys/vfs.h... yes
> checking for sys/syscall.h... yes
> checking for sys/time.h... yes
> checking for sys/types.h... yes
> checking for sys/un.h... yes
> checking for sys/vfs.h... (cached) yes
> checking for sys/wait.h... yes
> checking for syslog.h... yes
> checking for time.h... yes
> checking for unistd.h... yes
> checking for varargs.h... yes
> checking for working const... yes
> checking whether byte ordering is bigendian... yes
> checking if ANSI prototypes work... yes
> checking for tm->tm_gmtoff... no
> checking for struct mallinfo... yes
> checking for extended mallinfo... no
> checking for struct rusage... yes
> checking for ip->ip_hl... yes
> checking size of int... 4
> checking size of long... 4
> checking size of void *... 4
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for ssize_t... yes
> checking for off_t... yes
> checking for mode_t... yes
> checking for fd_mask... yes
> checking for socklen_t... yes
> checking for mtyp_t... no
> checking for main in -lnsl... yes
> checking for main in -lsocket... no
> checking for main in -lgnumalloc... no
> checking for main in -lmalloc... yes
> checking for main in -lbsd... no
> checking for main in -lregex... no
> checking for gethostbyname in -lbind... no
> checking for inet_aton in -lresolv... no
> checking for main in -lresolv... no
> checking for main in -lm... yes
> checking for crypt in -lcrypt... yes
> checking for dlopen in -ldl... no
> checking for main in -lpthread... yes
> disabling poll for hppa1.1-hp-hpux11.11...
> checking for bcopy... yes
> checking for backtrace_symbols_fd... no
> checking for crypt... yes
> checking for fchmod... yes
> checking for getdtablesize... yes
> checking for getpagesize... yes
> checking for getrusage... yes
> checking for getspnam... no
> checking for lrand48... yes
> checking for mallinfo... yes
> checking for mallocblksize... no
> checking for mallopt... yes
> checking for memcpy... yes
> checking for memmove... yes
> checking for memset... yes
> checking for mkstemp... yes
> checking for mktime... yes
> checking for mstats... no
> checking for poll... (cached) no
> checking for pthread_attr_setscope... no
> checking for pthread_setschedparam... no
> checking for pthread_attr_setschedparam... no
> checking for pthread_sigmask... no
> checking for putenv... yes
> checking for random... yes
> checking for regcomp... yes
> checking for regexec... yes
> checking for regfree... yes
> checking for res_init... yes
> checking for rint... yes
> checking for seteuid... no
> checking for setgroups... yes
> checking for setpgrp... yes
> checking for setrlimit... yes
> checking for getrlimit... yes
> checking for setsid... yes
> checking for sigaction... yes
> checking for snprintf... yes
> checking for srand48... yes
> checking for srandom... yes
> checking for statfs... yes
> checking for sysconf... yes
> checking for syslog... yes
> checking for timegm... no
> checking for vsnprintf... yes
> checking if setresuid is implemented... yes
> checking if GNUregex needs to be compiled... no
> checking for drand48... yes
> checking for tempnam... yes
> checking for strerror... yes
> checking Default FD_SETSIZE value... 2048
> checking Maximum number of filedescriptors we can open... 1024
> checking Default UDP send buffer size... 65535
> checking Default UDP receive buffer size... 65535
> checking Default TCP send buffer size... 32768
> checking Default TCP receive buffer size... 32768
> checking if sys_errlist is already defined... yes
> checking for libresolv _dns_ttl_ hack... no
> checking if inet_ntoa() actually works... yes
> checking for working statvfs() interface... yes
> checking for _res.nsaddr_list... yes
> updating cache ./config.cache
> creating ./config.status
> creating ./makefile
> creating ./lib/Makefile
> creating ./include/config.h
> creating ./scripts/Makefile
> creating ./scripts/RunCache
> creating ./scripts/RunAccel
> creating ./src/Makefile
> creating ./src/fs/Makefile
> creating ./src/fs/ufs/Makefile
> creating ./src/repl/Makefile
> creating ./src/repl/lru/Makefile
> creating ./contrib/Makefile
> creating ./icons/Makefile
> creating ./errors/Makefile
> creating ./auth_modules/Makefile
> creating ./auth_modules/LDAP/Makefile
> creating ./auth_modules/MSNT/Makefile
> creating ./auth_modules/NCSA/Makefile
> creating ./auth_modules/PAM/Makefile
> creating ./auth_modules/SMB/Makefile
> creating ./auth_modules/YP/Makefile
> creating ./auth_modules/getpwnam/Makefile
> creating include/autoconf.h
>
>
>
>
>
> **********************************************************************
> This email may be confidential and/or privileged. Only the intended
> recipient may access or use it. Any dissemination, distribution or
> copying of this email is strictly prohibited. If you are not the
> intended recipient please notify us immediately by return email and
> then erase the email.
>
> We use virus scanning software but exclude all liability for viruses
> or similar in any attachment or message...,..,..,.
> **********************************************************************
Received on Fri Jan 04 2002 - 00:21:20 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:44 MST