• ..and under Cygwin

    From Serguei Trouchelle@2:550/4077.101 to All on Tue Nov 18 23:59:34 2003
    Can anybody have experience with Squish and Max compilation under Cygwin?

    I just create vars_cygwin_nt-5.0.mk with EXTRA_CPPFLAGS += -DCYGWIN inside and
    tried to compile.

    And below is what I've got:

    Warnings in ./configure:

    ===== CUT =====
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/stamp.h:23,
    from stamp_combo.c:3: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here
    ===== CUT =====

    And after make (STDERR only):

    ===== CUT =====
    make[1]: [depend.mk] Error 1 (ignored)
    In file included from blkio.cc:31: /cygdrive/s/prj/fido/maximus/maximus/unix/include/share.h:18:4: #error flock header missing!
    make[1]: *** [blkio.o] Error 1
    Makefile:62: *** missing separator. Stop.
    make[1]: [depend.mk] Error 1 (ignored)
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/prog.h:38,
    from dosio.c:5: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/uni.h:46,
    from dosio.c:6: /cygdrive/s/prj/fido/maximus/maximus/unix/include/share.h:18:4: #error flock header missing!
    dosio.c: In function `sopen':
    dosio.c:145: warning: implicit declaration of function `flock'
    make[1]: *** [dosio.o] Error 1
    make[1]: [depend.mk] Error 1 (ignored)
    msgapi.c:20: warning: ignoring #pragma off
    msgapi.c:22: warning: ignoring #pragma on
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/prog.h:38,
    from msgapi.c:31: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here msgapi.c: In function `_CopyToBuf':
    msgapi.c:241: warning: suggest parentheses around && within ||
    msgapi.c:267: warning: suggest parentheses around && within || /usr/include/stdio.h: At top level:
    msgapi.c:21: warning: `rcs_id' defined but not used
    sq_area.c:20: warning: ignoring #pragma off
    sq_area.c:22: warning: ignoring #pragma on
    In file included from sq_area.c:34: /cygdrive/s/prj/fido/maximus/maximus/unix/include/share.h:18:4: #error flock header missing!
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/prog.h:38,
    from sq_area.c:35: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here sq_area.c:21: warning: `rcs_id' defined but not used
    make[1]: *** [sq_area.o] Error 1
    make[1]: [depend.mk] Error 1 (ignored)
    squish.c:20: warning: ignoring #pragma off
    squish.c:22: warning: ignoring #pragma on
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/ffind.h:28,
    from /cygdrive/s/prj/fido/maximus/maximus/slib/dr.h:25,
    from squish.c:32: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here squish.c:50: warning: braces around scalar initializer
    squish.c:50: warning: (near initialization for `ar.toscan')
    squish.c:50: warning: missing braces around initializer
    squish.c:50: warning: (near initialization for `ar.n')
    squish.c:21: warning: `rcs_id' defined but not used
    s_abbs.c:20: warning: ignoring #pragma off
    s_abbs.c:22: warning: ignoring #pragma on
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/ffind.h:28,
    from /cygdrive/s/prj/fido/maximus/maximus/slib/dr.h:25,
    from s_abbs.c:33: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here s_abbs.c:21: warning: `rcs_id' defined but not used
    s_config.c:20: warning: ignoring #pragma off
    s_config.c:22: warning: ignoring #pragma on
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/prog.h:3
    8,
    from s_config.c:29: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here s_config.c: In function `V_Feature':
    s_config.c:76: warning: unused variable `szFailName'
    s_config.c:77: warning: unused variable `pfnTest'
    s_config.c:78: warning: unused variable `rc'
    s_config.c: At top level:
    s_config.c:1187: warning: ignoring #pragma on
    s_config.c:1378: warning: ignoring #pragma off
    s_config.c:21: warning: `rcs_id' defined but not used
    In file included from s_scan.c:52: /cygdrive/s/prj/fido/maximus/maximus/unix/include/share.h:18:4: #error flock header missing!
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/ffind.h:28,
    from /cygdrive/s/prj/fido/maximus/maximus/slib/dr.h:25,
    from s_scan.c:56: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here s_scan.c: In function `Scan_Messages':
    s_scan.c:144: warning: long unsigned int format, dword arg (arg 2)
    s_scan.c: In function `Scan_Area':
    s_scan.c:229: warning: long unsigned int format, dword arg (arg 3) s_scan.c:229: warning: long unsigned int format, dword arg (arg 4)
    s_scan.c: In function `PerformMessageUpdate':
    s_scan.c:779: warning: `uid_hwm' might be used uninitialized in this function make[1]: *** [s_scan.o] Error 1
    In file included from s_scan.c:52: /cygdrive/s/prj/fido/maximus/maximus/unix/include/share.h:18:4: #error flock header missing!
    In file included from /cygdrive/s/prj/fido/maximus/maximus/slib/ffind.h:28,
    from /cygdrive/s/prj/fido/maximus/maximus/slib/dr.h:25,
    from s_scan.c:56: /cygdrive/s/prj/fido/maximus/maximus/slib/typedefs.h:100: warning: redefinition
    of `ushort'
    /usr/include/sys/types.h:85: warning: `ushort' previously declared here s_scan.c: In function `Scan_Messages':
    s_scan.c:144: warning: long unsigned int format, dword arg (arg 2)
    s_scan.c: In function `Scan_Area':
    s_scan.c:229: warning: long unsigned int format, dword arg (arg 3) s_scan.c:229: warning: long unsigned int format, dword arg (arg 4)
    s_scan.c: In function `PerformMessageUpdate':
    s_scan.c:779: warning: `uid_hwm' might be used uninitialized in this function make[1]: *** [s_scan.o] Error 1
    make: *** [squish] Error 2
    ===== CUT =====

    gcc version 3.2 20020927 (prerelease)

    Serguei Trouchelle
    --- timEd/386 1.10.y2k+
    * Origin: Send more complaints! (2:550/4077.101)
  • From Russell Tiedt@5:7105/1 to Serguei Trouchelle on Thu Nov 20 05:59:15 2003
    Hello Serguei.

    18 Nov 03 23:59, you wrote to all:

    Can anybody have experience with Squish and Max compilation under
    Cygwin?

    No, that still being developed?

    Is DJGPP not a better option?

    Russell

    --- GoldED+/LNX 1.1.4.7
    * Origin: Rusty's BBS - Bloemfontein, Free State, South Africa (5:7105/1)