Hi David,

I tested current Harbour with OS/2 and result many messages/errors:

a) There are many lines like this ( at least 14 )
make[2]: *** No rule to make target `first'.  Stop.

Seem to be libraries/systems which does not apply to OS/2
Some catched are:
gtwvg, hbole, hbw32, hbw32ddr, hbwhat32, hbziparch

In make_gnu.log appear like this:
------------------------------------------
[E:\harbourprerc2\harbour\contrib]make -C gtwvg first
make[2]: Entering directory `/harbourprerc2/harbour/contrib/gtwvg'
make[2]: Leaving directory `/harbourprerc2/harbour/contrib/gtwvg'
------------------------------------------

This is normal.

Can be replaced with behaviour for example like this ?:
------------------------------------------
[E:\harbourprerc2\harbour\doc]make -C en first
make[2]: Entering directory `/harbourprerc2/harbour/doc/en'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/harbourprerc2/harbour/doc/en'
------------------------------------------

Maybe, but I won't start experimenting with it,
since it's far from critical (rather cosmetic),
and the solution isn't very obvious, plus I would
need to retest and refix all platforms. Maybe
after 1.0, if someone has enough drive and
GNU-make experience for it.

b) A long list of warnings
Seem to be related to sqlite
Look below for "B portion" catched from screen

Yes, unfortunately foreign code throws lots of
warnings.

You can try to suppress them with #pragma's
on your OS/2 C compiler. Look at the top of
contrib/hbsqlit3/hbsqlit3.c.

c) Error compiling tpos2.c
Look below for "C portion" catched from screen

"C portion" ===============================

../../tpos2.c:164: error: `rxqueue' undeclared (first use in this function)
../../tpos2.c: In function `HB_FUN_P_ISDCD':
../../tpos2.c:175: error: `IOCTL_ASYNC' undeclared (first use in this function) ../../tpos2.c:175: error: `ASYNC_GETMODEMINPUT' undeclared (first use in this fu
nction)
../../tpos2.c:177: error: `DCD_ON' undeclared (first use in this function)
../../tpos2.c: In function `HB_FUN_P_ISRI':
../../tpos2.c:186: error: `IOCTL_ASYNC' undeclared (first use in this function) ../../tpos2.c:186: error: `ASYNC_GETMODEMINPUT' undeclared (first use in this fu
nction)
../../tpos2.c:188: error: `RI_ON' undeclared (first use in this function)
../../tpos2.c: In function `HB_FUN_P_ISDSR':
../../tpos2.c:197: error: `IOCTL_ASYNC' undeclared (first use in this function) ../../tpos2.c:197: error: `ASYNC_GETMODEMINPUT' undeclared (first use in this fu
nction)
../../tpos2.c:199: error: `DSR_ON' undeclared (first use in this function)
../../tpos2.c: In function `HB_FUN_P_ISCTS':
../../tpos2.c:208: error: `IOCTL_ASYNC' undeclared (first use in this function) ../../tpos2.c:208: error: `ASYNC_GETMODEMINPUT' undeclared (first use in this fu
nction)
../../tpos2.c:210: error: `CTS_ON' undeclared (first use in this function)

Try to add '#define INCL_DOSDEVICES' to the top of the file
and see if it changes anything. If not, someone familiar with
OS/2 will have to fix it.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to