[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ocrad] ocrad-0.7 build feedback
From: |
Nelson H. F. Beebe |
Subject: |
[Bug-ocrad] ocrad-0.7 build feedback |
Date: |
Thu, 12 Feb 2004 18:42:15 -0700 (MST) |
I've just attempted builds of ocrad-0.7 in 45 build environments.
There were 7 successful builds, but the rest had problems, often from
similar causes.
Also, there is a problem in Makefile.in: it is not obeying settings of
CC and CXX made at configure time, but instead is forcing builds with
g++. Makefile.in MUST have
CC = @CC@
CXX = @CXX@
configure will supply suitable values, defaulting to gcc and g++ if
they are not otherwise set.
Thus, the 45 builds that I attempted were effectively only about 15 or
so distinct builds.
Here is a summary of the problems:
------------------------------------------------------------------------
Machinetype: IBM RS6000 43P-132 (133 MHz); AIX 4.2
g++ -Wall -W -O2 -c -o bitmap.o bitmap.cc
bitmap.cc: In function `char {anonymous}::pbm_getrawbyte(FILE *)':
bitmap.cc:32: parse error before `('
bitmap.cc:31: warning: unused parameter `struct FILE * f'
bitmap.cc: In method `void Bitmap::save(FILE *, char = '4') const':
bitmap.cc:552: parse error before `('
bitmap.cc:552: parse error before `)'
bitmap.cc:552: parse error before `)'
bitmap.cc:553: parse error before `('
bitmap.cc:565: parse error before `('
bitmap.cc:567: parse error before `('
bitmap.cc:570: confused by earlier errors, bailing out
make: *** [bitmap.o] Error 1
------------------------------------------------------------------------
Machinetype: Intel Pentium II (2 CPUs, 450 MHz); FreeBSD 4.4.0
g++ -Wall -W -O2 -c -o ucs.o ucs.cc
In file included from ucs.cc:20:
ucs.h:105: parse error before `!'
ucs.h:106: parse error before `!'
ucs.h:107: parse error before `!'
ucs.h:110: parse error before `!'
ucs.h:111: parse error before `!'
ucs.cc:149: parse error before `('
ucs.cc:155: parse error before `('
ucs.cc:161: parse error before `('
ucs.cc:164: ANSI C++ forbids declaration `code' with no type
ucs.cc:164: implicit declaration of function `int base_letter(...)'
ucs.cc:165: parse error before `return'
ucs.cc: In function `static bool UCS::islower_small(int)':
ucs.cc:171: parse error before `('
ucs.cc:179: confused by earlier errors, bailing out
make: *** [ucs.o] Error 1
------------------------------------------------------------------------
Machinetype: SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
g++ -Wall -W -O2 -c -o main.o main.cc
main.cc: In function `int main(int, char**)':
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:234: error: elements of array `option long_options[]' have incomplete
type
main.cc:234: error: storage size of `long_options' isn't known
main.cc:237: error: `getopt_long' undeclared (first use this function)
main.cc:218: error: storage size of `long_options' isn't known
make: *** [main.o] Error 1
------------------------------------------------------------------------
Machinetype: Intel Pentium III (600 MHz); FreeBSD 5.0
g++ -Wall -W -O2 -c -o main.o main.cc
In file included from main.cc:30:
/usr/local/include/getopt.h:115: error: declaration of C function `int getopt()
' conflicts with
/usr/local/lib/gcc-lib/i386-unknown-freebsd5.0/3.3.2/include/unistd.h:379:
error: previous
declaration `int getopt(int, char* const*, const char*)' here
------------------------------------------------------------------------
Machinetype: Intel Itanium-2 (1400 MHz) (2 CPUs); GNU/Linux
2.4.18-e.41smp (Red Hat Advanced Server release 2.1AS (Derry))
g++ -Wall -W -O2 -c -o ucs.o ucs.cc
In file included from ucs.cc:20:
ucs.h:105: parse error before `)'
ucs.h:105: parse error before `&'
ucs.h:106: parse error before `)'
ucs.h:106: parse error before `&'
ucs.h:107: parse error before `)'
ucs.h:107: parse error before `&'
ucs.h:110: parse error before `)'
ucs.h:110: parse error before `&'
ucs.h:111: parse error before `)'
ucs.h:111: parse error before `&'
...
------------------------------------------------------------------------
Machinetype: DEC Alpha 4100-5/466 (4 CPUs, 466 MHz, 2GB RAM);
OSF/1 4.0F
g++ -Wall -W -O2 -c -o main.o main.cc
main.cc: In function `int main(int, char**)':
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:234: error: elements of array `option long_options[]' have incomplete
type
main.cc:234: error: storage size of `long_options' isn't known
main.cc:237: error: `getopt_long' undeclared (first use this function)
main.cc:234: confused by earlier errors, bailing out
make: *** [main.o] Error 1
------------------------------------------------------------------------
Machinetype: Sun Ultra Enterprise 450/400 (4 CPUs, 400 MHz);
Solaris 2.7
g++ -Wall -W -O2 -c -o ucs.o ucs.cc
In file included from ucs.cc:20:
ucs.h:105: parse error before `+'
ucs.h:106: parse error before `+'
ucs.h:107: parse error before `+'
ucs.h:110: parse error before `+'
ucs.h:111: parse error before `+'
...
------------------------------------------------------------------------
Machinetype: Intel Pentium III (600 MHz); OpenBSD 3.2 GENERIC#25
i386
g++ -Wall -W -O2 -c -o main.o main.cc
main.cc:30:20: getopt.h: No such file or directory
main.cc: In function `int main(int, char**)':
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:234: error: elements of array `option long_options[]' have incomplete
type
main.cc:234: error: storage size of `long_options' isn't known
main.cc:237: error: `getopt_long' undeclared (first use this function)
main.cc:234: confused by earlier errors, bailing out
make: *** [main.o] Error 1
------------------------------------------------------------------------
Machinetype: Compaq AlphaServer DS20 Sierra/667 (2 EV67 21264 CPUs,
667 MHz, 1MB RAM); OSF/1 5.1
g++ -Wall -W -O2 -c -o main.o main.cc
main.cc: In function `int main(int, char**)':
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:234: error: elements of array `option long_options[]' have incomplete
type
main.cc:234: error: storage size of `long_options' isn't known
main.cc:237: error: `getopt_long' undeclared (first use this function)
main.cc:218: error: storage size of `long_options' isn't known
make: *** [main.o] Error 1
------------------------------------------------------------------------
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
- [Bug-ocrad] ocrad-0.7 build feedback,
Nelson H. F. Beebe <=