#20 failure during MAKE processing

open
nobody
None
5
2014-08-18
2007-06-30
John Manley
No

I am attempting to install Rexx/SQL 1.0.1 on ubuntu (Feisty Fawn) with following software configuration:
MySQL 5.0.38
ooRexx 3.1.2

I downloaded RexxSQL-2.5.tar.gz.

Ran configure with the following output (among several):
# ./configure --with-rexx=oorexx --with-db=mysql
Rexx/SQL has now been configured with the following options:

Rexx Interpreter: ooRexx (using oorexx-config)
Database: MySQL
Database headers in: /usr/include/mysql
Database libraries in: /usr/lib
Build options: 32BIT
binaries will be installed in: ${exec_prefix}/bin
libraries will be installed in: ${exec_prefix}/lib
{prefix}: /usr
{exec_prefix}: ${prefix}

To build the Rexx/SQL binaries, and dynamically loadable libraries, type 'make'
To install Rexx/SQL in the above directories, type 'make install'

Then ran make with the following error messages which I can't decipher:
# make
gcc -c -O2 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG -I. -I. -I./my -I./common -I./general -DHAVE_CONFIG_H -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oct 2006"\" -I/opt/ooRexx/include -I/usr/include/mysql -I./my -o loader.o -DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ./common/loader.c
In file included from ./common/loader.c:23:
./common/rxpack.h:214: error: expected specifier-qualifier-list before ‘RRFD_ARG0_TYPE’
./common/rxpack.h:243: error: expected declaration specifiers or ‘...’ before ‘ULONG’
./common/rxpack.h:243: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:247: error: expected declaration specifiers or ‘...’ before ‘RFH_ARG0_TYPE’
./common/rxpack.h:251: error: expected declaration specifiers or ‘...’ before ‘RexxSubcomHandler’
./common/rxpack.h:252: error: expected declaration specifiers or ‘...’ before ‘RexxExitHandler’
./common/rxpack.h:259: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
./common/rxpack.h:271: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:272: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:273: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:274: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:275: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:276: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:276: error: expected declaration specifiers or ‘...’ before ‘ULONG’
./common/rxpack.h:277: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:278: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:281: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:281: error: expected declaration specifiers or ‘...’ before ‘ULONG’
./common/rxpack.h:282: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:283: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:284: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:285: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:286: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:287: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:288: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:290: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:292: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:294: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:296: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:298: error: expected declaration specifiers or ‘...’ before ‘RXSTRING’
./common/rxpack.h:298: error: expected declaration specifiers or ‘...’ before ‘ULONG’
./common/loader.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
./common/loader.c:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
./common/loader.c: In function ‘main’:
./common/loader.c:202: error: ‘RXSTRING’ undeclared (first use in this function)
./common/loader.c:202: error: (Each undeclared identifier is reported only once
./common/loader.c:202: error: for each function it appears in.)
./common/loader.c:202: error: expected ‘;’ before ‘retstr’
./common/loader.c:203: error: ‘CHAR’ undeclared (first use in this function)
./common/loader.c:203: error: expected ‘;’ before ‘retbuf’
./common/loader.c:204: error: expected ‘;’ before ‘initexitname’
./common/loader.c:205: error: expected ‘;’ before ‘ArgList’
./common/loader.c:212: error: ‘RXSYSEXIT’ undeclared (first use in this function)
./common/loader.c:212: error: expected ‘;’ before ‘ExitList’
./common/loader.c:326: error: ‘ArgList’ undeclared (first use in this function)
./common/loader.c:326: error: ‘RXSTRING_STRPTR_TYPE’ undeclared (first use in this function)
./common/loader.c:326: error: expected ‘)’ before ‘malloc’
./common/loader.c:336: error: expected ‘)’ before ‘argv’
./common/loader.c:338: error: expected ‘)’ before string constant
./common/loader.c:362: warning: implicit declaration of function ‘getRexxSQLSubcomHandler’
./common/loader.c:362: error: too many arguments to function ‘RegisterRxSubcom’
./common/loader.c:367: error: ‘initexitname’ undeclared (first use in this function)
./common/loader.c:368: warning: implicit declaration of function ‘getRexxSQLInitHandler’
./common/loader.c:368: warning: passing argument 2 of ‘RegisterRxInit’ makes pointer from integer without a cast
./common/loader.c:368: error: too many arguments to function ‘RegisterRxInit’
./common/loader.c:370: error: too many arguments to function ‘FunctionPrologue’
./common/loader.c:394: error: ‘ExitList’ undeclared (first use in this function)
./common/loader.c:395: error: ‘RXINI’ undeclared (first use in this function)
./common/loader.c:396: error: ‘RXENDLST’ undeclared (first use in this function)
./common/loader.c:400: warning: implicit declaration of function ‘MAKERXSTRING’
./common/loader.c:400: error: ‘retstr’ undeclared (first use in this function)
./common/loader.c:400: error: ‘retbuf’ undeclared (first use in this function)
./common/loader.c:406: warning: implicit declaration of function ‘RexxStart’
./common/loader.c:406: error: ‘RS_ARG0_TYPE’ undeclared (first use in this function)
./common/loader.c:407: error: ‘RS_ARG1_TYPE’ undeclared (first use in this function)
./common/loader.c:408: error: ‘RS_ARG2_TYPE’ undeclared (first use in this function)
./common/loader.c:408: error: expected ‘)’ before ‘ProgramName’
./common/loader.c:425: error: ‘ULONG’ undeclared (first use in this function)
./common/loader.c:425: error: expected ‘)’ before ‘rc’
make: *** [loader.o] Error 1
==============================
Please help.
John

Discussion