Compiling RexxSQL on OpenSuse 11.1

Compiling RexxSQL on OpenSuse 11.1

Post by jacksonm » Sun, 18 Jan 2009 12:50:29


am trying to teach myself REXX. So far everything is going well
except for one problem. I cannot get the RexxSQL to compile on the
32bit version of OpenSuse 11.1. I used the following command to
configure and that part seemed to work:
../configure --with-rexx=oorexx --with-db=mysq

But when I try to do a make it comes up with the following error
message:
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
RFD_ARG0_TYPE ../common/rxpack.h:243: error: expected declaration specifiers or .. before LONG ../common/rxpack.h:243: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:247: error: expected declaration specifiers or .. before FH_ARG0_TYPE ../common/rxpack.h:251: error: expected declaration specifiers or .. before exxSubcomHandler ../common/rxpack.h:252: error: expected declaration specifiers or .. before exxExitHandler ../common/rxpack.h:259: error: expected smor
_attribute__before token
../common/rxpack.h:271: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:272: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:273: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:274: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:275: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:276: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:276: error: expected declaration specifiers or .. before LONG ../common/rxpack.h:277: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:278: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:281: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:281: error: expected declaration specifiers or .. before LONG ../common/rxpack.h:282: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:283: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:284: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:285: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:286: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:287: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:288: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:290: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:292: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:294: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:296: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:298: error: expected declaration specifiers or .. before XSTRING ../common/rxpack.h:298: error: expected declaration specifiers or .. before LONG ../common/loader.c:47: error: expected smor
_attribute__before token
../common/loader.c:48: error: expected s
 
 
 

Compiling RexxSQL on OpenSuse 11.1

Post by mark » Mon, 19 Jan 2009 10:25:20

here is a bug in Rexx/SQL when building with ooRexx. Add:
#undef USE_OOREXX
to config.h.in
and re-run the configure and make

Cheers, Mark
On Jan 17, 1:50m, jacksonmf < XXXX@XXXXX.COM > wrote:
> DHAVE_CONFIG_H -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oc>
> 2006"\" -I/opt/ooRexx/include -I/usr/include/mysql -I./my -o loader.o >
> DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ./common>
> loader.>
> In file included from ./common/loader.c:23>
> ./common/rxpack.h:214: error: expected specifier-qualifier-list befor>
> RFD_ARG0_TYP> > ./common/rxpack.h:243: error: expected declaration specifiers or gt;.. > before >ONG > ./common/rxpack.h:243: error: expected declaration specifiers o> .. > before >STRING > ./common/rxpack.h:247: error: expected declaration specifier> or .. > before FH>ARG0_TYPE > ./common/rxpack.h:251: error: expected declaration specif>ers or .. > before exx>ubcomHandler > ./common/rxpack.h:252: error: expected declaration spe>ifiers or .. > before >RexxExitHandler > ./common/rxpack.h:259: error: expected> smor
> _at>ribute__before token
> ./common/rxpack.h:271: error: expected de>laration specifiers>or .. > before XSTRING > ./common/rxpack.h:272: error: expected>declaration specifi>rs or .. > before XSTRING > ./common/rxpack.h:273: error: expec>ed declaration spec>fiers or .. > before XSTRING > ./common/rxpack.h:274: error: ex>ected declaration s>ecifiers or .. > before XSTRING > ./common/rxpack.h:275: error:>expected declaratio> specifiers or .. > before XSTRING > ./common/rxpack.h:276: err>r: expected declara>ion specifiers or .. > before XSTRING > ./common/rxpack.h:276: >rror: expected d>claration specifiers or .. > before LONG > ./common/rxpack.h:27>: error: expected d>claration specifiers or .. > before XSTRING > ./common/rxpack.h>278: error: expecte> declaration specifiers or .. > before XSTRING > ./common/rxpac>.h:281: error: expe>ted declaration specifiers or .. > before XSTRING > ./common/rx>ack.h:281: error> expected declaration specifiers or .. > before LONG > ./common>rxpack.h:282: error> expected declaration specifiers or .. > before XSTRING > ./com>on/rxpack.h:283: er>or: expected declaration specifiers or .. > before XSTRING > ./>ommon/rxpack.h:284:>error: expected declaration specifiers or .. > before XSTRING >>./common/rxpack.h:2>5: error: expected declaration specifiers or .. > before XSTRINGgt; > ./common/rxpack.>:286: error: expected declaration specifiers or .. > before XSTRI>G > ./common/rxpa>k.h:287: error: expected declaration specifiers or .. > before XS>RING > ./common/r>pack.h:288: error: expected declaration specifiers or .. > before gt;XSTRING > ./commo>/rxpack.h:290: error: expected declaration specifiers or .. > befor> XSTRING > ./co>mon/rxpack.h:292: error: expected declaration specifiers or .. > be>ore XSTRING > .>common/rxpack.h:294: error: expected declaration specifiers or .. >>before XSTRING > before XSTRING>
> ./common/rxpack.h:298: error: expected declaration specifiers or >. > before X>TRING > ./common/rxpack.h:298: error: expected declarat>on specifiers or .. > before>LONG > ./common/loader.c:47: error: expected gt; smor
> _attribute__> before token
> ./common/loader.c:4>: error: expected smor
> _attribute__before >oken
> ./co>mon
 
 
 

Compiling RexxSQL on OpenSuse 11.1

Post by jacksonm » Tue, 20 Jan 2009 02:26:35

hat fixed it! THANKS!!

On Jan 17, 8:25m, markh < XXXX@XXXXX.COM > wrote:
> > ./common/rxpack.h:243: error: expected declaration specifiers or gt;.> > > before >O>G > > ./common/rxpack.h:243: error: expected declaration specifiers o> >... > > before >S>RING > > ./common/rxpack.h:247: error: expected declaration specifier> >r .. > > before FH>A>G0_TYPE > > ./common/rxpack.h:251: error: expected declaration specif>e>s or .. > > before exx>u>comHandler > > ./common/rxpack.h:252: error: expected declaration spe>i>iers or .. > > before >R>xxExitHandler > > ./common/rxpack.h:259: error: expected>gt; smor
> > _at>r>bute__before token
> > ./common/rxpack.h:271: error: expected de>l>ration specifiers o> >... > > before XSTRING > > ./common/rxpack.h:272: error: expected>d>claration specifier> >r .. > > before XSTRING > > ./common/rxpack.h:273: error: expec>e> declaration specif>e>s or .. > > before XSTRING > > ./common/rxpack.h:274: error: ex>e>ted declaration spe>i>iers or .. > > before XSTRING > > ./common/rxpack.h:275: error:>e>pected declaration >p>cifiers or .. > > before XSTRING > > ./common/rxpack.h:276: err>r> expected declarati>n>specifiers or .. > > before XSTRING > > ./common/rxpack.h:276: >r>or: expected dec>a>ation specifiers or .. > > before LONG > > ./common/rxpack.h:27>:>error: expected dec>a>ation specifiers or .. > > before XSTRING > > ./common/rxpack.h>2>8: error: expected >e>laration specifiers or .. > > before XSTRING > > ./common/rxpac>.>:281: error: expect>d>declaration specifiers or .. > > before XSTRING > > ./common/rx>a>k.h:281: error: >x>ected declaration specifiers or .. > > before LONG > > ./common>r>pack.h:282: error: >x>ected declaration specifiers or .. > > before XSTRING > > ./com>o>/rxpack.h:283: erro>:>expected declaration specifiers or .. > > before XSTRING > > ./>o>mon/rxpack.h:284: e>r>r: expected declaration specifiers or .. > > before XSTRING > >>.>common/rxpack.h:285> >rror: expected declaration specifiers or .. > > before XSTRING > > before XSTRING> >> > ./common/rxpack>h>287: error: expected declaration specifiers or .. > > before XSTR>N> > > ./common/rxp>c>.h:288: error: expected declaration specifiers or .. > > before X>T>ING > > ./common/>x>ack.h:290: error: expected declaration specifiers or .. > > before >R>STRING > > ./comm>n>rxpack.h:292: error: expected declaration specifiers or .. > > befo>e>XSTRING > > ./c>m>on/rxpack.h:294: error: expected declaration specifiers or .. > > b>f>re XSTRING > > >/>ommon/rxpack.h:296: error: expected declaration specifiers or .. > > >efore XSTRING >>>>./common/rxpack.h:298: error: expected declaration specifiers or ..>>>> before XSTRI>G>
> > ./common/rxpack.h:298: error: expected declaration >p>cifiers or .. > > before L>N> > > ./common/loader.c:47: error: expected >,>smor
> > _attribute__be>o>e token
> > ./common/loader.c:48: e>r>r: expected smor
> > _attribute__before toke> >> > ./common>l>ader.c: In function ain
> > ./common/loader.c:202: error: XSTRING> >ndeclared (f>r>t use in this
> > function)
> > ./common/loader.c:202: error: (E>c> undec