gnucobol-users
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] CVS Update 20051223 - Read !


From: Jose Vilmar Estacio de Souza
Subject: Re: [open-cobol-list] CVS Update 20051223 - Read !
Date: Tue Dec 27 10:52:14 2005

Hi all.
I'm getting an error when installing CVS Update 20051223 in a fedora 4 box.

I'm sending the messages received after the make command.

address@hidden open-cobol-0.33]# make
Creating defaults.h...
make  all-recursive
make[1]: Entering directory `/tmp/open-cobol/open-cobol-0.33'
Making all in lib
make[2]: Entering directory `/tmp/open-cobol/open-cobol-0.33/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -fsigned-char -O2 -march=i686 -mtune=pent ium4 -finline-functions -fomit-frame-pointer -MT dummymac.o -MD -MP -MF ".deps/d
ummymac.Tpo" -c -o dummymac.o dummymac.c; \
then mv -f ".deps/dummymac.Tpo" ".deps/dummymac.Po"; else rm -f ".deps/dummymac.
Tpo"; exit 1; fi
rm -f libsupport.a
ar cru libsupport.a dummymac.o
ranlib libsupport.a
make[2]: Leaving directory `/tmp/open-cobol/open-cobol-0.33/lib'
Making all in libcob
make[2]: Entering directory `/tmp/open-cobol/open-cobol-0.33/libcob'
if /bin/sh ../libtool --mode=compile -DHAVE_CONFIG_H -I. -I. -I.. -fsigne
d-char -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format-y2k -DSUPER_OP
TIMIZE  -I.. -O2 -march=i686 -mtune=pentium4 -finline-functions -fomit-frame-poi
nter -MT libcob_la-common.lo -MD -MP -MF ".deps/libcob_la-common.Tpo" -c -o libc
ob_la-common.lo `test -f 'common.c' || echo './'`common.c; \
then mv -f ".deps/libcob_la-common.Tpo" ".deps/libcob_la-common.Plo"; else rm -f
".deps/libcob_la-common.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fsigned-char -Wall -Wstrict-prototypes -Wmiss
ing-prototypes -Wno-format-y2k -DSUPER_OPTIMIZE -I.. -O2 -march=i686 -mtune=pent
ium4 -finline-functions -fomit-frame-pointer -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c common.c -fPIC -DPIC -o .libs/libcob_la-common.o common.c:55: error: static declaration of 'cob_argc' follows non-static declarat
ion
common.h:164: error: previous declaration of 'cob_argc' was here
common.c:56: error: static declaration of 'cob_argv' follows non-static declarat
ion
common.h:165: error: previous declaration of 'cob_argv' was here
make[2]: ** [libcob_la-common.lo] Erro 1
make[2]: Leaving directory `/tmp/open-cobol/open-cobol-0.33/libcob'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/tmp/open-cobol/open-cobol-0.33'
make: ** [all] Erro 2
address@hidden open-cobol-0.33]#


Also I'm sending the result of the gcc --version command.

address@hidden open-cobol-0.33]# gcc --version
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 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 open-cobol-0.33]#

Any ideas about what I'm doing wrong?
Thanks.
----- Original Message ----- From: "Roger While" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>; <address@hidden>
Sent: Friday, December 23, 2005 4:23 PM
Subject: [open-cobol-list] CVS Update 20051223 - Read !


CVS Updated

*** NOTE - WARNING ***
The default format for variable length sequential files
has changed !!!

Here is the relevant part from README  for "configure":
  --with-varseq=<n>
     Define the format for variable length sequential
     files. For these files, 4 bytes are written
     preceeding each record. The format of these 4
     bytes for values of <n> is as follows :
     n = 0 (default)
         The first 2 bytes are the record length
         in big-endian order. This is compatible
         with mainframe. Bytes 3 and 4 are set
         to binary 0.
     n = 1
          The 4 bytes are the record length in
          big-endian order.
     n = 2
          The 4 bytes are the record length in
          native machine order (int).
          (This was previously the default)

This change goes back to a request from David Korn
that I agree with.

NOTE - This does NOT apply to INDEX-SEQUENTIAL files
nor LINE SEQUENTIAL files ( obviously :-)  )


Use "bsearch" for table lookup in compiler.
This allows us to define tables in read-only section.

Move certain routines from termio.c to common.c
This allows us to define certain things as static.

Further cleanup's to remove not used code.

Snapshot tarball at (one guess) :
http://www.sim-basis.de/open-cobol-0.33.tar.gz

Roger




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.5/212 - Release Date: 12/23/2005





reply via email to

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