gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] cannot build Open Cobol 1.1 under cygwin and solaris (


From: Haroldo Sotomayor Penroz
Subject: [open-cobol-list] cannot build Open Cobol 1.1 under cygwin and solaris (gcc 3.4.4)
Date: Wed, 14 Apr 2010 11:56:15 -0400

Hello, I'm attempting to build the new version. Old version 1.0 builds
OK

Similar problem occurs under Sun Solaris 9

$ uname -a
CYGWIN_NT-5.1 NAL9HSDVG1 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

address@hidden /tmp/open-cobol-1.1
$ gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


address@hidden /tmp/open-cobol-1.1
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
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 whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... file_magic ^x86 archive
import|^x86 DLL
checking for dlltool... dlltool
checking for as... as
checking for objdump... objdump
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether a program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for dlfcn.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for fcntl... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strdup... yes
checking for strstr... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for getopt_long_only... yes
checking kpathsea/getopt.h usability... no
checking kpathsea/getopt.h presence... no
checking for kpathsea/getopt.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmp_randinit in -lgmp... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
checking for initscr in -lncurses... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking for BDB db.h version >= 4.1 ... yes (4.3)
checking for BDB 4.1 compatibility in db ... yes
checking for dlopen in -lc... yes
configure: creating ./config.status
config.status: creating cob-config
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating libcob/Makefile
config.status: creating cobc/Makefile
config.status: creating bin/Makefile
config.status: creating po/Makefile.in
config.status: creating texi/Makefile
config.status: creating config/Makefile
config.status: creating copy/Makefile
config.status: creating tests/atlocal
config.status: creating tests/Makefile
config.status: creating tests/cobol85/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

OpenCOBOL Configuration:

  CC                   gcc
  COB_CC               gcc
  CFLAGS                -O2 -march=i686 -mtune=pentium4
-finline-functions -fsigned-char -Wall -Wwrite-strings
-Wmissing-prototypes -Wno-format-y2k
  COB_CFLAGS           -I/usr/local/include
  COB_EXTRA_FLAGS      -march=i686 -mtune=pentium4
  LDFLAGS
  COB_LDFLAGS
  COBC_LIBS             -lintl
  COB_LIBS             -L${exec_prefix}/lib -lcob -lm -lgmp -lintl
-lncurses -ldb
  COB_CONFIG_DIR       ${prefix}/share/open-cobol/config
  COB_COPY_DIR         ${prefix}/share/open-cobol/copy
  COB_LIBRARY_PATH     ${exec_prefix}/lib/open-cobol
  COB_MODULE_EXT       dll
  COB_SHARED_OPT       -shared
  COB_PIC_FLAGS        -DDLL_EXPORT -DPIC
  COB_EXPORT_DYN       -Wl,--export-all-symbols -Wl,--enable-auto-import
  COB_STRIP_CMD        strip --strip-unneeded
  Dynamic loading      System

  Use gettext for international messages:      yes
  Use Berkeley DB for file I/O:                yes
  Use enhanced Berkeley DB (>= 4.1)            yes
  Use fcntl for file locking:                  yes
  Use ncurses/pdcurses/curses for screen I/O:  no

$ make
Creating defaults.h...
make  all-recursive
make[1]: Entering directory `/tmp/open-cobol-1.1'
Making all in lib
make[2]: Entering directory `/tmp/open-cobol-1.1/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/open-cobol-1.1/lib'
Making all in libcob
make[2]: Entering directory `/tmp/open-cobol-1.1/libcob'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I..
    -I.. -O2 -march=i686 -mtune=pentium4 -finline-functions
-fsigned-char -Wall
-Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT
libcob_la-common.lo -MD
 -MP -MF ".deps/libcob_la-common.Tpo" -c -o libcob_la-common.lo `test -f
'common
.c' || echo './'`common.c; \
        then mv -f ".deps/libcob_la-common.Tpo"
".deps/libcob_la-common.Plo"; el
se rm -f ".deps/libcob_la-common.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -march=i686 -mtune=pentium4
-finline-
functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes
-Wno-format-y
2k -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c
common.c  -
DDLL_EXPORT -DPIC -o .libs/libcob_la-common.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -march=i686 -mtune=pentium4
-finline-
functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes
-Wno-format-y
2k -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c
common.c -o
 libcob_la-common.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I..
    -I.. -O2 -march=i686 -mtune=pentium4 -finline-functions
-fsigned-char -Wall
-Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT
libcob_la-call.lo -MD -
MP -MF ".deps/libcob_la-call.Tpo" -c -o libcob_la-call.lo `test -f
'call.c' || e
cho './'`call.c; \
        then mv -f ".deps/libcob_la-call.Tpo"
".deps/libcob_la-call.Plo"; else r
m -f ".deps/libcob_la-call.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -march=i686 -mtune=pentium4
-finline-
functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes
-Wno-format-y
2k -MT libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c call.c
-DDLL_E
XPORT -DPIC -o .libs/libcob_la-call.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -march=i686 -mtune=pentium4
-finline-
functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes
-Wno-format-y
2k -MT libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c call.c
-o libco
b_la-call.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I..
    -I.. -O2 -march=i686 -mtune=pentium4 -finline-functions
-fsigned-char -Wall
-Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT
libcob_la-screenio.lo -
MD -MP -MF ".deps/libcob_la-screenio.Tpo" -c -o libcob_la-screenio.lo
`test -f '
screenio.c' || echo './'`screenio.c; \
        then mv -f ".deps/libcob_la-screenio.Tpo"
".deps/libcob_la-screenio.Plo"
; else rm -f ".deps/libcob_la-screenio.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -march=i686 -mtune=pentium4
-finline-
functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes
-Wno-format-y
2k -MT libcob_la-screenio.lo -MD -MP -MF .deps/libcob_la-screenio.Tpo -c
screeni
o.c  -DDLL_EXPORT -DPIC -o .libs/libcob_la-screenio.o
screenio.c:1079: error: conflicting types for 'cob_field_display'
screenio.h:88: error: previous declaration of 'cob_field_display' was
here
screenio.c:1079: error: conflicting types for 'cob_field_display'
screenio.h:88: error: previous declaration of 'cob_field_display' was
here
screenio.c:1085: error: conflicting types for 'cob_field_accept'
screenio.h:91: error: previous declaration of 'cob_field_accept' was
here
screenio.c:1085: error: conflicting types for 'cob_field_accept'
screenio.h:91: error: previous declaration of 'cob_field_accept' was
here
make[2]: *** [libcob_la-screenio.lo] Error 1
make[2]: Leaving directory `/tmp/open-cobol-1.1/libcob'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/open-cobol-1.1'
make: *** [all] Error 2


SOLARIS


hsotoma@/altec070/hsotoma/open-cobol-1.1 # ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... gcc
checking for C compiler default output file name... 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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
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... no
checking for unistd.h... yes
checking whether ln -s works... yes
checking for a BSD-compatible install... ./install-sh -c
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 786240
checking command to parse /usr/ccs/bin/nm -p output from gcc object...
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld -64) supports shared
libraries.
.. yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) no
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for dlfcn.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for fcntl... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strdup... yes
checking for strstr... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for ld used by GCC... /usr/ccs/bin/ld -64
checking if the linker (/usr/ccs/bin/ld -64) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesle
ft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for getopt_long_only... no
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmp_randinit in -lgmp... yes
checking for nanosleep in -lrt... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for initscr in -lncurses... no
checking for initscr in -lpdcurses... no
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking db3/db_185.h usability... no
checking db3/db_185.h presence... no
checking for db3/db_185.h... no
checking db4/db_185.h usability... no
checking db4/db_185.h presence... no
checking for db4/db_185.h... no
checking db4.1/db_185.h usability... no
checking db4.1/db_185.h presence... no
checking for db4.1/db_185.h... no
checking db4.2/db_185.h usability... no
checking db4.2/db_185.h presence... no
checking for db4.2/db_185.h... no
checking db4.3/db_185.h usability... no
checking db4.3/db_185.h presence... no
checking for db4.3/db_185.h... no
checking db4.4/db_185.h usability... no
checking db4.4/db_185.h presence... no
checking for db4.4/db_185.h... no
checking db4.5/db_185.h usability... no
checking db4.5/db_185.h presence... no
checking for db4.5/db_185.h... no
checking for __db_open in -ldb-4.5... no
checking for dbopen in -ldb-4.5... no
checking for __db_open in -ldb-4.4... yes
checking for dlopen in -lc... no
checking for dlopen in -ldl... (cached) yes
configure: creating ./config.status
config.status: creating cob-config
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating libcob/Makefile
config.status: creating cobc/Makefile
config.status: creating bin/Makefile
config.status: creating po/Makefile.in
config.status: creating texi/Makefile
config.status: creating config/Makefile
config.status: creating copy/Makefile
config.status: creating tests/atlocal
config.status: creating tests/Makefile
config.status: creating tests/cobol85/Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

OpenCOBOL Configuration:

  CC                   gcc
  COB_CC               gcc
  CFLAGS                -O2 -finline-functions -fsigned-char -Wall
-Wwrite-strin
gs -Wmissing-prototypes -Wno-format-y2k
  COB_CFLAGS           -I/usr/local/include
  COB_EXTRA_FLAGS
  LDFLAGS
  COB_LDFLAGS
  COB_LIBS             -L${exec_prefix}/lib -lcob -lm -lgmp -lrt
-lcurses -ldb-4
.4 -ldl
  COB_CONFIG_DIR       ${prefix}/share/open-cobol/config
  COB_COPY_DIR         ${prefix}/share/open-cobol/copy
  COB_LIBRARY_PATH     ${exec_prefix}/lib/open-cobol
  COB_MODULE_EXT       so
  COB_SHARED_OPT       -shared
  COB_PIC_FLAGS        -fPIC -DPIC
  COB_EXPORT_DYN
  Dynamic loading      System

  Use gettext for international messages:      no
  Use Berkeley DB for file I/O:                yes
  Use enhanced Berkeley DB (>= 4.1)            no
  Use fcntl for file locking:                  yes
  Use ncurses/pdcurses/curses for screen I/O:  curses


 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -finline-functions
-fsigned-char -Wal
l -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT
libcob_la-fileio.lo -
MD -MP -MF .deps/libcob_la-fileio.Tpo -c fileio.c  -fPIC -DPIC -o
.libs/libcob_l
a-fileio.o
fileio.c:296:1: warning: "DB_FIRST" redefined
In file included from fileio.c:91:
/usr/local/include/db.h:1231:1: warning: this is the location of the
previous de
finition
fileio.c:297:1: warning: "DB_LAST" redefined
/usr/local/include/db.h:1239:1: warning: this is the location of the
previous de
finition
fileio.c:298:1: warning: "DB_NEXT" redefined
/usr/local/include/db.h:1240:1: warning: this is the location of the
previous de
finition
fileio.c:299:1: warning: "DB_PREV" redefined
/usr/local/include/db.h:1247:1: warning: this is the location of the
previous de
finition
fileio.c: In function `cob_sync':
fileio.c:649: error: too few arguments to function
fileio.c: In function `indexed_open':
fileio.c:1899: error: `BTREEINFO' undeclared (first use in this
function)
fileio.c:1899: error: (Each undeclared identifier is reported only once
fileio.c:1899: error: for each function it appears in.)
fileio.c:1899: error: parse error before "info"
fileio.c:2000: error: `info' undeclared (first use in this function)
fileio.c:2002: error: `R_DUP' undeclared (first use in this function)
fileio.c:2013: warning: implicit declaration of function `dbopen'
fileio.c:2013: warning: assignment makes pointer from integer without a
cast
fileio.c:2020: error: too few arguments to function
fileio.c:2067: error: structure has no member named `seq'
fileio.c:2067: error: `R_FIRST' undeclared (first use in this function)
fileio.c: In function `indexed_close':
fileio.c:2116: error: too few arguments to function
fileio.c: In function `indexed_start_internal':
fileio.c:2178: error: structure has no member named `seq'
fileio.c:2178: error: `R_CURSOR' undeclared (first use in this function)
fileio.c:2191: error: structure has no member named `seq'
fileio.c:2191: error: `R_LAST' undeclared (first use in this function)
fileio.c:2197: error: structure has no member named `seq'
fileio.c:2197: error: `R_PREV' undeclared (first use in this function)
fileio.c:2206: error: structure has no member named `seq'
fileio.c:2212: error: structure has no member named `seq'
fileio.c:2219: error: structure has no member named `seq'
fileio.c:2219: error: `R_NEXT' undeclared (first use in this function)
fileio.c:2226: error: structure has no member named `seq'
fileio.c:2232: error: structure has no member named `seq'
fileio.c:2242: error: structure has no member named `seq'
fileio.c:2259: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:2259: error: too few arguments to function
fileio.c: In function `indexed_read_next':
fileio.c:2794: error: `R_NEXT' undeclared (first use in this function)
fileio.c:2806: error: `R_LAST' undeclared (first use in this function)
fileio.c:2808: error: `R_PREV' undeclared (first use in this function)
fileio.c:2811: error: `R_FIRST' undeclared (first use in this function)
fileio.c:2841: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:2841: error: too few arguments to function
fileio.c:2852: error: structure has no member named `seq'
fileio.c:2869: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:2869: error: too few arguments to function
fileio.c:2911: error: structure has no member named `seq'
fileio.c:2911: error: `R_CURSOR' undeclared (first use in this function)
fileio.c:2939: error: structure has no member named `seq'
fileio.c:2986: error: structure has no member named `seq'
fileio.c:3009: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3009: error: too few arguments to function
fileio.c: In function `get_dupno':
fileio.c:3090: error: structure has no member named `seq'
fileio.c:3090: error: `R_CURSOR' undeclared (first use in this function)
fileio.c:3097: error: structure has no member named `seq'
fileio.c:3097: error: `R_NEXT' undeclared (first use in this function)
fileio.c: In function `check_alt_keys':
fileio.c:3117: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3117: error: too few arguments to function
fileio.c: In function `indexed_write_internal':
fileio.c:3187: error: `R_NOOVERWRITE' undeclared (first use in this
function)
fileio.c:3187: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3187: error: too few arguments to function
fileio.c:3216: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3216: warning: passing arg 4 of pointer to function makes
pointer from
integer without a cast
fileio.c:3216: error: too few arguments to function
fileio.c: In function `indexed_delete_internal':
fileio.c:3360: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3360: error: too few arguments to function
fileio.c:3380: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3380: error: too few arguments to function
fileio.c:3388: error: structure has no member named `seq'
fileio.c:3388: error: `R_CURSOR' undeclared (first use in this function)
fileio.c:3398: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3398: error: too few arguments to function
fileio.c:3404: error: structure has no member named `seq'
fileio.c:3404: error: `R_NEXT' undeclared (first use in this function)
fileio.c:3421: warning: passing arg 2 of pointer to function from
incompatible p
ointer type
fileio.c:3421: error: too few arguments to function
fileio.c: In function `cob_open':
fileio.c:3828: warning: subscript has type `char'
fileio.c:3833: warning: subscript has type `char'
make[2]: *** [libcob_la-fileio.lo] Error 1
make[2]: Leaving directory `/altec070/hsotoma/open-cobol-1.1/libcob'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/altec070/hsotoma/open-cobol-1.1'
make: *** [all] Error 2

hsotoma@/altec070/hsotoma/open-cobol-1.1 # gcc --version
gcc (GCC) 3.4.4
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

hsotoma@/altec070/hsotoma/open-cobol-1.1 # uname -a
SunOS altec070 5.9 Generic_118558-05 sun4u sparc SUNW,Sun-Fire-280R


*********************AVISO LEGAL **********************
Este mensaje es privado y confidencial y solamente para la persona
a la que va dirigido. Si usted ha recibido este mensaje por error,
no debe revelar, copiar, distribuir o usarlo en ningún sentido. Le
rogamos lo comunique al remitente y borre dicho mensaje y cualquier
documento adjunto que pudiera contener. No hay renuncia a la
confidencialidad ni a ningún privilegio por causa de transmisión
errónea o mal funcionamiento.
Cualquier opinión expresada en este mensaje pertenece únicamente al
autor remitente, y no representa necesariamente la opinión de
ISBAN, a no ser que expresamente se diga y el remitente esté
autorizado para hacerlo.
Los correos electrónicos no son seguros, no garantizan la
confidencialidad ni la correcta recepción de los mismos, dado que
pueden ser interceptados, manipulados, destruidos, llegar con
demora o incompletos, o con virus. ISBAN no se hace responsable de
los cambios, alteraciones, errores u omisiones que pudieran hacerse
al mensaje una vez enviado.
Este mensaje sólo tiene una finalidad de información, y no debe
interpretarse como una oferta de venta o de compra de valores ni de
instrumentos financieros relacionados.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]