Discussion:
os/2 30+
(too old to reply)
Tommi Koivula
2013-11-14 16:12:44 UTC
Permalink
Hi,

The OS/2 klibc version is not compiling anymore, it has failed since 1.1a-30.

Compiling compress.c...
In file included from tools.h:145,
from compress.c:55:
btypes.h:156: error: parse error before "boff_t"
btypes.h:156: warning: no semicolon at end of struct or union
btypes.h:157: error: `time' redeclared as different kind of symbol
C:/USR/include/time.h:156: error: previous declaration of `time'
btypes.h:162: error: parse error before '}' token
btypes.h:174: error: parse error before "boff_t"
btypes.h:174: warning: no semicolon at end of struct or union
btypes.h:179: error: parse error before '}' token
make.exe: *** [compress.o] Error 1


'Tommi
Max Vasilyev
2013-11-15 06:11:26 UTC
Permalink
Hello Tommi!

14 Nov 13 20:12, you wrote to All:

TK> The OS/2 klibc version is not compiling anymore, it has failed since
TK> 1.1a-30.
TK> Compiling compress.c...
TK> In file included from tools.h:145,
TK> from compress.c:55:
TK> btypes.h:156: error: parse error before "boff_t"
Try it:
diff -urNb oldbinkd/compress.c newbinkd/compress.c
-+- oldbinkd/compress.c Thu Jan 8 16:46:02 2004
+++ newbinkd/compress.c Fri Nov 15 10:15:02 2013
@@ -50,6 +50,7 @@
#endif

#include <stdlib.h>
+#include "sys.h"
#include "zlibdl.h"
#include "compress.h"
#include "tools.h"

I've already post it in the RU.BINKD echo and waiting for maintainer's answer.

WBR, Max. piwamoto!писем-нет
Tommi Koivula
2013-11-15 05:23:33 UTC
Permalink
On 15.11.2013 8:11, Max Vasilyev -> Tommi Koivula wrote:

MV> Hello Tommi!

MV> 14 Nov 13 20:12, you wrote to All:

TK>> The OS/2 klibc version is not compiling anymore, it has failed since
TK>> 1.1a-30.
TK>> Compiling compress.c...
TK>> In file included from tools.h:145,
TK>> from compress.c:55:
TK>> btypes.h:156: error: parse error before "boff_t"
MV> Try it:
MV> diff -urNb oldbinkd/compress.c newbinkd/compress.c
MV> -+- oldbinkd/compress.c Thu Jan 8 16:46:02 2004
MV> +++ newbinkd/compress.c Fri Nov 15 10:15:02 2013
MV> @@ -50,6 +50,7 @@
MV> #endif

MV> #include <stdlib.h>
MV> +#include "sys.h"
MV> #include "zlibdl.h"
MV> #include "compress.h"
MV> #include "tools.h"

MV> I've already post it in the RU.BINKD echo and waiting for maintainer's
MV> answer.

Ok, thanks.

The same thing is happening with cygwin also.

'Tommi
Tommi Koivula
2013-11-21 06:57:46 UTC
Permalink
MV>> #include <stdlib.h>
MV>> +#include "sys.h"
MV>> #include "zlibdl.h"
MV>> #include "compress.h"
MV>> #include "tools.h"

MV>> I've already post it in the RU.BINKD echo and waiting for maintainer's
MV>> answer.

TK> Ok, thanks.

TK> The same thing is happening with cygwin also.

When compiling under cygwin, it seems that unix/daemonize.c should also
contain the "sys.h" line.

Something like this?

#include "../sys.h"
#include "../tools.h"
#include "daemonize.h"

'Tommi
Max Vasilyev
2013-11-22 07:36:04 UTC
Permalink
Hello Tommi!

21 Nov 13 10:57, you wrote to you:

TK> When compiling under cygwin, it seems that unix/daemonize.c should
TK> also contain the "sys.h" line.
Source tree doesn't have makefile for cygwin, but mingw only. Mingw works.
Could you send your makefile for testing?
Netmail to 2:5057/77 or e-mail (look to the nodelist) or upload it to
2:5057/19.

WBR, Max. piwamoto!писем-нет
Tommi Koivula
2013-11-22 07:44:32 UTC
Permalink
22 Nov 13 11:36, Max Vasilyev wrote to Tommi Koivula:

MV> Hello Tommi!

MV> 21 Nov 13 10:57, you wrote to you:

TK>> When compiling under cygwin, it seems that unix/daemonize.c
TK>> should also contain the "sys.h" line.
MV> Source tree doesn't have makefile for cygwin, but mingw only. Mingw
MV> works. Could you send your makefile for testing? Netmail to 2:5057/77

I've used the files in /mkfls/unix to compile the cygwin version. No
modifications done, just 'sh configure' and 'make'.

'Tommi
Tommi Koivula
2013-11-22 08:33:46 UTC
Permalink
On 22.11.2013 9:36, Max Vasilyev -> Tommi Koivula wrote:

TK>> When compiling under cygwin, it seems that unix/daemonize.c should
TK>> also contain the "sys.h" line.

MV> Source tree doesn't have makefile for cygwin, but mingw only. Mingw works.
MV> Could you send your makefile for testing?

Please check your inbound. :)
Max Vasilyev
2013-11-23 17:35:14 UTC
Permalink
Hello Tommi!

22 Nov 13 12:33, you wrote to me:

MV>> Could you send your makefile for testing?
TK> Please check your inbound. :)
got it.

WBR, Max. piwamoto!писем-нет

Loading...