sitemule / noxDB

Not only XML. SQL,JSON and XML made easy for IBM i
MIT License
41 stars 20 forks source link

datagen.c compile failure #77

Closed richardschoen closed 1 year ago

richardschoen commented 1 year ago

I haven't built NOXDB in a while. Was building via ILEAstic and got following errors. It appears I am missing something for library QOAR. Open Access ?

Is this a new requirement ?

   |#ifdef QOAR_INCLUDE_IFS                                                                           |     30
   31       |#include  <qoar/h/qrntypes>                                                                       |     31
   32       |#include  <qoar/h/qrndtagen>                                                                      |     32
   33       |#else                                                                                             |     33
   34       |#include  "/QSYS.LIB/QOAR.LIB/H.FILE/QRNTYPES.MBR"                                                |     34
===========> ..........a.......................................................................................
*=SEVERE==========> a - CZM0296  #include file "/QSYS.LIB/QOAR.LIB/H.FILE/QRNTYPES.MBR" not found.
   35       |#include  "/QSYS.LIB/QOAR.LIB/H.FILE/QRNDTAGEN.MBR"                                               |     35
===========> ..........a.......................................................................................
*=SEVERE==========> a - CZM0296  #include file "/QSYS.LIB/QOAR.LIB/H.FILE/QRNDTAGEN.MBR" not found.
   36       |#endif      
richardschoen commented 1 year ago

Enabled QOAR_INCLIDE_IFS in noxDB makefile and now get this on V7R3:

|#ifdef QOAR_INCLUDE_IFS                                                                           |     30
   31       |#include  <qoar/h/qrntypes>                                                                       |     31
===========> ..........a.......................................................................................
*=SEVERE==========> a - CZM0296  #include file <qoar/h/qrntypes> not found.
   32       |#include  <qoar/h/qrndtagen>                                                                      |     32
===========> ..........a.......................................................................................
*=SEVERE==========> a - CZM0296  #include file <qoar/h/qrndtagen> not found.
   33       |#else                                                                                             |     33
   34       |#include  "/QSYS.LIB/QOAR.LIB/H.FILE/QRNTYPES.MBR"                                                |     34
   35       |#include  "/QSYS.LIB/QOAR.LIB/H.FILE/QRNDTAGEN.MBR"                                               |     35
   36       |#endif            
richardschoen commented 1 year ago

Needed to grab QOAR H source members from another machine. In my case it was running V7R5.

richardschoen commented 1 year ago

Also had to comment out the githash code from the makefile for ILEfastCGI in its makefile when building ILEAstic.

NielsLiisberg commented 1 year ago

We know about this issue, and you found the workaround by setting the QOAR_INCLIDE_IFS.

For some reason IBM ships / do not ship these headers - and we do not know how to check this automatically in a perfect way. But if you find it - if it is a PTF that does it - or whatever the reason please let us know.

On Sat, Feb 4, 2023 at 7:57 PM Richard Schoen @.***> wrote:

Also had to comment out the githash code from the makefile for ILEfastCGI in its makefile.

— Reply to this email directly, view it on GitHub https://github.com/sitemule/noxDB/issues/77#issuecomment-1416825591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVIPHX2P43Q2D2ZUJJHAXTWV2RANANCNFSM6AAAAAAURJQ7AU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

richardschoen commented 1 year ago

I think it may be the PTFs that provida DATA-INTO support that add the includes: https://www.ibm.com/support/pages/data-opcode-new-72-and-73-ptfs