Re: 7.4beta1 on unixware 713 - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: 7.4beta1 on unixware 713
Date
Msg-id 26520000.1060190794@lerlaptop-red.iadfw.net
Whole thread Raw
In response to 7.4beta1 on unixware 713  (ohp@pyrenet.fr)
List pgsql-hackers
This is caused by sys/socket.h #defining shutdown _shutdown, and already 
reported.

I filed the bug last nite, and Tom replied, and my reply is in the thread.

LER


--On Wednesday, August 06, 2003 19:14:49 +0200 ohp@pyrenet.fr wrote:

> Hi all,
>
> I've put my hands on 7.4beta1 and it doesn't compile on unixware 7.1.3
> (Tom, I know you don't like it)
>
> Here's the logs: I did'nt have enough time to have a closer look, but I
> *think* unixware redefines some symbols like shutdown to _shutdown..
>
> Here are the logs
> checking build system type... i686-unknown-sysv5UnixWare7.1.3
> checking host system type... i686-unknown-sysv5UnixWare7.1.3
> checking which template to use... unixware
> checking whether to build with 64-bit integer date/time support... no
> checking whether NLS is wanted... no
> checking for default port number... 5432
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether cc accepts -g... yes
> configure: using CFLAGS=-O -K inline
> checking whether the C compiler still works... yes
> checking how to run the C preprocessor... cc -E
> checking allow thread-safe libpq and ecpg... no
> checking whether to build with Tcl... yes
> checking whether to build with Tk... yes
> checking whether to build Perl modules... yes
> checking whether to build Python modules... no
> checking whether to build Java/JDBC tools... yes
> checking for jakarta-ant... no
> checking for ant... /usr/local/jakarta/ant/bin/ant
> checking whether /usr/local/jakarta/ant/bin/ant works... yes
> checking whether to build with Kerberos 4 support... no
> checking whether to build with Kerberos 5 support... no
> checking whether to build with PAM support... no
> checking whether to build with Rendezvous support... no
> configure: using CPPFLAGS=  -I/usr/local/include
> configure: using LDFLAGS=  -L/usr/local/lib
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking for flex... /usr/local/bin/flex
> checking whether ln -s works... yes
> checking for non-GNU ld... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking whether ld -R works... yes
> checking for ranlib... :
> checking for lorder... lorder
> checking for tar... /usr/bin/tar
> checking for strip... strip
> checking whether it is possible to strip libraries... no
> checking for bison... bison -y
> checking for perl... /usr/bin/perl
> checking for Perl archlibexp... /usr/local/lib/perl5/5.8.0/i386-svr5
> checking for Perl privlibexp... /usr/local/lib/perl5/5.8.0
> checking for Perl useshrplib... true
> checking for flags to link embedded Perl...   -L/usr/local/lib
> -L/usr/gnu/lib
> /usr/local/lib/perl5/5.8.0/i386-svr5/auto/DynaLoader/DynaLoader.a
> -L/usr/local/lib/perl5/5.8.0/i386-svr5/CORE -lperl -lsocket -lnsl -ldl
> -lld -lm -lcrypt -lutil checking for main in -lbsd... no
> checking for setproctitle in -lutil... no
> checking for main in -lm... yes
> checking for main in -ldl... yes
> checking for main in -lnsl... yes
> checking for main in -lsocket... yes
> checking for main in -lipc... no
> checking for main in -lIPC... no
> checking for main in -llc... no
> checking for main in -ldld... no
> checking for main in -lld... yes
> checking for main in -lcompat... no
> checking for main in -lBSD... no
> checking for main in -lgen... yes
> checking for main in -lPW... no
> checking for main in -lresolv... yes
> checking for main in -lwsock32... no
> checking for library containing getopt_long... no
> checking for main in -lunix... no
> checking for library containing crypt... none required
> checking for library containing fdatasync... no
> checking for shmget in -lcygipc... no
> checking for readline... yes (-lreadline -ltermcap)
> checking for inflate in -lz... yes
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking crypt.h usability... yes
> checking crypt.h presence... yes
> checking for crypt.h... yes
> checking dld.h usability... no
> checking dld.h presence... no
> checking for dld.h... no
> checking endian.h usability... no
> checking endian.h presence... no
> checking for endian.h... no
> checking fp_class.h usability... no
> checking fp_class.h presence... no
> checking for fp_class.h... no
> checking getopt.h usability... no
> checking getopt.h presence... no
> checking for getopt.h... no
> checking ieeefp.h usability... yes
> checking ieeefp.h presence... yes
> checking for ieeefp.h... yes
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking sys/ipc.h usability... yes
> checking sys/ipc.h presence... yes
> checking for sys/ipc.h... yes
> checking sys/poll.h usability... yes
> checking sys/poll.h presence... yes
> checking for sys/poll.h... yes
> checking sys/pstat.h usability... no
> checking sys/pstat.h presence... no
> checking for sys/pstat.h... no
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking sys/sem.h usability... yes
> checking sys/sem.h presence... yes
> checking for sys/sem.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/shm.h usability... yes
> checking sys/shm.h presence... yes
> checking for sys/shm.h... yes
> checking sys/un.h usability... yes
> checking sys/un.h presence... yes
> checking for sys/un.h... yes
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking kernel/OS.h usability... no
> checking kernel/OS.h presence... no
> checking for kernel/OS.h... no
> checking kernel/image.h usability... no
> checking kernel/image.h presence... no
> checking for kernel/image.h... no
> checking SupportDefs.h usability... no
> checking SupportDefs.h presence... no
> checking for SupportDefs.h... no
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking for netinet/tcp.h... yes
> checking readline/readline.h usability... yes
> checking readline/readline.h presence... yes
> checking for readline/readline.h... yes
> checking readline/history.h usability... yes
> checking readline/history.h presence... yes
> checking for readline/history.h... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for preprocessor stringizing operator... yes
> checking for signed types... yes
> checking for working volatile... yes
> checking for __func__... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for struct tm.tm_zone... no
> checking for tzname... yes
> checking for union semun... no
> checking for struct sockaddr_un... yes
> checking for struct sockaddr_storage... no
> checking for struct sockaddr_storage.ss_family... no
> checking for struct sockaddr_storage.__ss_family... no
> checking for struct sockaddr_storage.ss_len... no
> checking for struct sockaddr_storage.__ss_len... no
> checking for struct sockaddr.sa_len... yes
> checking for struct addrinfo... yes
> checking for struct cmsgcred... no
> checking for struct fcred... no
> checking for struct sockcred... no
> checking for z_streamp... yes
> checking for int timezone... yes
> checking types of arguments for accept()... int, struct sockaddr *,
> size_t * checking whether gettimeofday takes only one argument... no
> checking for working memcmp... yes
> checking for cbrt... yes
> checking for dlopen... yes
> checking for fcvt... yes
> checking for fdatasync... no
> checking for getpeereid... no
> checking for memmove... yes
> checking for poll... yes
> checking for pstat... no
> checking for setproctitle... no
> checking for setsid... yes
> checking for sigprocmask... yes
> checking for symlink... yes
> checking for sysconf... yes
> checking for utime... yes
> checking for utimes... yes
> checking for waitpid... yes
> checking whether fdatasync is declared... no
> checking for struct sockaddr_in6... yes
> checking for inet_ntop... yes
> checking for PS_STRINGS... no
> checking for snprintf... yes
> checking for vsnprintf... yes
> checking whether snprintf is declared... yes
> checking whether vsnprintf is declared... yes
> checking for isinf... yes
> checking for crypt... yes
> checking for fseeko... yes
> checking for getopt... yes
> checking for getopt_long... no
> checking for getrusage... yes
> checking for inet_aton... yes
> checking for random... yes
> checking for rint... yes
> checking for srandom... yes
> checking for strcasecmp... yes
> checking for strdup... yes
> checking for strerror... yes
> checking for strtol... yes
> checking for strtoul... yes
> checking for getaddrinfo... yes
> checking for rl_completion_append_character... yes
> checking for rl_completion_matches... no
> checking for rl_filename_completion_function... no
> checking for replace_history_entry... yes
> checking for finite... yes
> checking for sigsetjmp... yes
> checking for syslog... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking for optreset... no
> checking for strtoll... yes
> checking for strtoull... yes
> checking for atexit... yes
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking for fseeko... (cached) yes
> checking test program... ok
> checking whether long int is 64 bits... no
> checking whether long long int is 64 bits... yes
> checking snprintf format for long long int... %lld
> checking for unsigned long... yes
> checking size of unsigned long... 4
> checking for short... yes
> checking alignment of short... 2
> checking for int... yes
> checking alignment of int... 4
> checking for long... yes
> checking alignment of long... 4
> checking for long long int... yes
> checking alignment of long long int... 4
> checking for double... yes
> checking alignment of double... 4
> checking for int8... no
> checking for uint8... no
> checking for int64... no
> checking for uint64... no
> checking for sig_atomic_t... yes
> checking for POSIX signal interface... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... 64
> checking for _LARGE_FILES value needed for large files... no
> checking for tclsh... no
> checking for tcl... /usr/bin/tcl
> checking for tclConfig.sh... /usr/local/lib/tclConfig.sh
> checking for tkConfig.sh... /usr/local/lib/tkConfig.sh
> checking for onsgmls... no
> checking for nsgmls... no
> checking for openjade... no
> checking for jade... no
> checking for DocBook V3.1... no
> checking for DocBook stylesheets... no
> checking for collateindex.pl... no
> checking for sgmlspl... no
> configure: creating ./config.status
> config.status: creating GNUmakefile
> config.status: creating src/Makefile.global
> config.status: creating src/include/pg_config.h
> config.status: linking ./src/backend/port/tas/dummy.s to
> src/backend/port/tas.s config.status: linking
> ./src/backend/port/dynloader/unixware.c to src/backend/port/dynloader.c
> config.status: linking ./src/backend/port/sysv_sema.c to
> src/backend/port/pg_sema.c config.status: linking
> ./src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c
> config.status: linking ./src/backend/port/dynloader/unixware.h to
> src/include/dynloader.h config.status: linking
> ./src/include/port/unixware.h to src/include/pg_config_os.h
> config.status: linking ./src/makefiles/Makefile.unixware to
> src/Makefile.port mkdir man5
> UX:acomp: ERROR: "printtup.c", line 94: undefined struct/union member:
> _shutdown UX:acomp: WARNING: "printtup.c", line 94: improper
> pointer/integer combination: op "=" gmake[4]: *** [printtup.o] Error 1
> gmake[3]: *** [common-recursive] Error 2
> gmake[2]: *** [access-recursive] Error 2
> gmake[1]: *** [all] Error 2
> gmake: *** [all] Error 2
> UX:make: ERROR: fatal error.



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



pgsql-hackers by date:

Previous
From: ohp@pyrenet.fr
Date:
Subject: 7.4beta1 on unixware 713
Next
From: Tom Lane
Date:
Subject: Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2