• error on compile hpt with gcc3 emx

    From Torsten Bamberg@2:240/5832 to Alle on Monday, June 29, 2015 22:02:30
    Hello,

    does anyone has an idea, whats going wrong on this:

    -+- Anfang comp.log -+-

    Create hptlink.exe
    E:/GCC/gcc3/usr/i386-pc-os2-emx/bin/ld.exe: symbol `_config' defined more than once in global.o
    make: *** [hptlink.exe] Error 1

    -+- Ende comp.log -+-

    all source are from the sourceforge archiv: husky-all-1.9-source-20150518.tgz gcc is gcc3.3.5b4 emx on ecomstation 2 smp

    Bye/2 Torsten

    ... MAILBOX02: Up 11d 03h 40m (BTUp2V1.5)
    --- GoldED+/EMX 1.1.4.7
    * Origin: DatenBahn BBS (2:240/5832)
  • From Max Vasilyev@2:5057/77.1 to Torsten Bamberg on Tuesday, June 30, 2015 09:16:46
    Hello Torsten!

    Replying to a message of Torsten Bamberg to Alle:

    does anyone has an idea, whats going wrong on this: E:/GCC/gcc3/usr/i386-pc-os2-emx/bin/ld.exe: symbol `_config' defined more than once in global.o make: *** [hptlink.exe] Error 1

    section 1 of file huskyos2.zip < UUE by DN/2 2.14 devel/OS2 >

    filetime 1188972773
    begin 644 huskyos2.zip M4$L#!!0````(`!1'WD:]IKIMC`(``+P)```9````:'5S:WDM;W,R+6UA:V5F M:6QE<RYP871C:*U546_:0`Q^1^(_6%H?BE(H)$':(DUBT]C6E@%B2-O#I.I( M+DV6D$3)92O_?KYPV0Q'4J%Q#W#GLS_;W]FQ%_H^],M\OH&@+*+=8#'[<!MD MXG;+(E[]^&',!V'BJOOY]-OI^VZGW^^_""+7.BCA798#C,"T''OD6$,PAZ-A MMV,8!G'3@E!RN"\30,/A:V=L.6:%,.YV)A/HV^.;D0W&_F\RZ7;@%2PV/[DK M0*(4#F1Y^I2S;8%7RX?UW?SC8O'^_NM;N+I>]+)(A(F?7ET_HJQ7B;PRX_2, M*CEG'A7Y;KK=IDDM^H'(=$F5ISC=L%AI(%MK="W=XO7>LT#<!DS=,Q7]SD/! MB>M^DVL])17*][6IHE&A/`L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````$`&`"4_/HE\;+0`>+".%'QLM`!YFJ/E?"RT`%0 M2P$"/P`4````"`"(1MY&`CR;I@(!``"C`@``%@`D`````````"````##`@`` M:'5S:WDM;W,R+6YO+7!I9"YP871C:`H`(````````0`8`(`IP8CPLM`!1HK4 C5O*RT`&TKU@R\++0`5!+!08``````@`"`-,```#Y`P``````
    `
    end
    sum -r/size 53468/1753 section (from "begin" to "end")
    sum -r/size 41778/1250 entire input file

    WBR, Max. *piwamoto!pisem.net*
    --- FleetStreet 1.27.3.7
    * Origin: Personal Reality (2:5057/77.1)
  • From Torsten Bamberg@2:240/5832 to Max Vasilyev on Tuesday, June 30, 2015 19:24:49
    Hallo Max!

    Dienstag, den 30. Juni 2015 09:16, Max Vasilyev schrieb an Torsten Bamberg:

    does anyone has an idea, whats going wrong on this:
    E:/GCC/gcc3/usr/i386-pc-os2-emx/bin/ld.exe: symbol `_config' defined more
    than once in global.o make: *** [hptlink.exe] Error 1

    section 1 of file huskyos2.zip < UUE by DN/2 2.14 devel/OS2 >
    sum -r/size 41778/1250 entire input file
    Well, thanks a lot, but nothig did changed with the patches.
    I'm currently notable to compile hpt. Everything else is compilable.
    And, yes, I recompiled everything else with the patches.

    -+- Anfang comp.log -+-
    Compiling ../src/pktinfo.c
    In file included from ../../fidoconf/fidoconf/afixcmd.h:34,
    from ../src/pktinfo.c:39: ../../smapi/huskylib/compiler.h:403:1: warning: "far" redefined ../../smapi/huskylib/compiler.h:131:1: warning: this is the location of the previous definition
    ../../smapi/huskylib/compiler.h:405:1: warning: "farread" redefined
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../../fidoconf/fidoconf/common.h:40,
    from ../src/pktinfo.c:38:
    ../../huskylib/huskylib/EMX.h:59:1: warning: this is the location of the previous definition
    In file included from ../../fidoconf/fidoconf/afixcmd.h:34,
    from ../src/pktinfo.c:39: ../../smapi/huskylib/compiler.h:406:1: warning: "farwrite" redefined
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../../fidoconf/fidoconf/common.h:40,
    from ../src/pktinfo.c:38:
    ../../huskylib/huskylib/EMX.h:60:1: warning: this is the location of the previous definition
    Compiling ../src/dupe.c
    In file included from ../src/dupe.c:54:
    ../../smapi/huskylib/compiler.h:403:1: warning: "far" redefined ../../smapi/huskylib/compiler.h:131:1: warning: this is the location of the previous definition
    ../../smapi/huskylib/compiler.h:405:1: warning: "farread" redefined
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../../fidoconf/fidoconf/fidoconf.h:43,
    from ../h/pkt.h:38,
    from ../src/dupe.c:51:
    ../../huskylib/huskylib/EMX.h:59:1: warning: this is the location of the previous definition
    In file included from ../src/dupe.c:54:
    ../../smapi/huskylib/compiler.h:406:1: warning: "farwrite" redefined
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../../fidoconf/fidoconf/fidoconf.h:43,
    from ../h/pkt.h:38,
    from ../src/dupe.c:51:
    ../../huskylib/huskylib/EMX.h:60:1: warning: this is the location of the previous definition
    Compiling ../src/pktread.c
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/pktread.c:39:
    ../../huskylib/huskylib/EMX.h:59:1: warning: "farread" redefined
    In file included from ../src/pktread.c:38: ../../smapi/huskylib/compiler.h:405:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/pktread.c:39:
    ../../huskylib/huskylib/EMX.h:60:1: warning: "farwrite" redefined
    In file included from ../src/pktread.c:38: ../../smapi/huskylib/compiler.h:406:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/pktread.c:39:
    ../../huskylib/huskylib/EMX.h:70:1: warning: "mysleep" redefined
    In file included from ../src/pktread.c:38: ../../smapi/huskylib/compiler.h:642:1: warning: this is the location of the previous definition
    Compiling ../src/fcommon.c
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/fcommon.c:76:
    ../../huskylib/huskylib/EMX.h:59:1: warning: "farread" redefined
    In file included from ../src/fcommon.c:43: ../../smapi/huskylib/compiler.h:405:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/fcommon.c:76:
    ../../huskylib/huskylib/EMX.h:60:1: warning: "farwrite" redefined
    In file included from ../src/fcommon.c:43: ../../smapi/huskylib/compiler.h:406:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/fcommon.c:76:
    ../../huskylib/huskylib/EMX.h:70:1: warning: "mysleep" redefined
    In file included from ../src/fcommon.c:43: ../../smapi/huskylib/compiler.h:642:1: warning: this is the location of the previous definition
    Compiling ../src/global.c
    Create pktinfo.exe
    Compiling ../src/tpkt.c
    Compiling ../src/pktwrite.c
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/pktwrite.c:39:
    ../../huskylib/huskylib/EMX.h:59:1: warning: "farread" redefined
    In file included from ../src/pktwrite.c:38: ../../smapi/huskylib/compiler.h:405:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/pktwrite.c:39:
    ../../huskylib/huskylib/EMX.h:60:1: warning: "farwrite" redefined
    In file included from ../src/pktwrite.c:38: ../../smapi/huskylib/compiler.h:406:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/pktwrite.c:39:
    ../../huskylib/huskylib/EMX.h:70:1: warning: "mysleep" redefined
    In file included from ../src/pktwrite.c:38: ../../smapi/huskylib/compiler.h:642:1: warning: this is the location of the previous definition
    Create tpkt.exe
    Compiling ../src/txt2pkt.c
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/txt2pkt.c:35:
    ../../huskylib/huskylib/EMX.h:59:1: warning: "farread" redefined
    In file included from ../src/txt2pkt.c:34: ../../smapi/huskylib/compiler.h:405:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/txt2pkt.c:35:
    ../../huskylib/huskylib/EMX.h:60:1: warning: "farwrite" redefined
    In file included from ../src/txt2pkt.c:34: ../../smapi/huskylib/compiler.h:406:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../src/txt2pkt.c:35:
    ../../huskylib/huskylib/EMX.h:70:1: warning: "mysleep" redefined
    In file included from ../src/txt2pkt.c:34: ../../smapi/huskylib/compiler.h:642:1: warning: this is the location of the previous definition
    Create txt2pkt.exe
    Compiling ../src/hptlink.c
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../../smapi/smapi/msgapi.h:28,
    from ../src/hptlink.c:48:
    ../../huskylib/huskylib/EMX.h:59:1: warning: "farread" redefined
    In file included from ../src/hptlink.c:34: ../../smapi/huskylib/compiler.h:405:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../../smapi/smapi/msgapi.h:28,
    from ../src/hptlink.c:48:
    ../../huskylib/huskylib/EMX.h:60:1: warning: "farwrite" redefined
    In file included from ../src/hptlink.c:34: ../../smapi/huskylib/compiler.h:406:1: warning: this is the location of the previous definition
    In file included from ../../huskylib/huskylib/compiler.h:1146,
    from ../../huskylib/huskylib/huskylib.h:36,
    from ../../smapi/smapi/msgapi.h:28,
    from ../src/hptlink.c:48:
    ../../huskylib/huskylib/EMX.h:70:1: warning: "mysleep" redefined
    In file included from ../src/hptlink.c:34: ../../smapi/huskylib/compiler.h:642:1: warning: this is the location of the previous definition
    Create hptlink.exe
    E:/GCC/gcc3/usr/i386-pc-os2-emx/bin/ld.exe: symbol `_config' defined more than once in global.o
    make: *** [hptlink.exe] Error 1
    -+- Ende comp.log -+-

    WBR, Max. *piwamoto!pisem.net*
    Bye/2 Torsten

    ... MAILBOX02: Up 12d 01h 02m (BTUp2V1.5)
    --- GoldED+/EMX 1.1.4.7
    * Origin: DatenBahn BBS (2:240/5832)
  • From Torsten Bamberg@2:240/5832 to Torsten Bamberg on Tuesday, June 30, 2015 21:58:00
    Hallo Torsten!

    ../src/hptlink.c:34: ../../smapi/huskylib/compiler.h:642:1: warning: this is the location of the previous definition Create hptlink.exe E:/GCC/gcc3/usr/i386-pc-os2-emx/bin/ld.exe: symbol `_config' defined more than once in global.o make: *** [hptlink.exe] Error 1 -+- Ende comp.log -+-


    -+- Anfang hptlink-os2-global-error.patch -+-
    diff husky_new/hptlink.c husky_old/hptlink.c
    85c85
    < // s_fidoconfig *config; // deaktivated because of dupe _config statement in global.o 06.2015 tb
    -+-
    s_fidoconfig *config;
    104c104
    < // char *versionStr; // deactivated because of dupe error in global.o 06.2015
    tb
    -+-
    char *versionStr;
    -+- Ende hptlink-os2-global-error.patch -+-

    Bye/2 Torsten

    ... MAILBOX02: Up 12d 03h 36m (BTUp2V1.5)
    --- GoldED+/EMX 1.1.4.7
    * Origin: DatenBahn BBS (2:240/5832)
  • From Max Vasilyev@2:5057/77.1 to Torsten Bamberg on Wednesday, July 01, 2015 15:49:50
    Hello Torsten!

    30 Jun 15 19:24, you wrote to me:

    Well, thanks a lot, but nothig did changed with the patches.
    Are they were applied correctly?
    People claimed for rejects.
    Anyway, they are in the CVS now and i built husky with gcc-3.3.5-csd6 today without problems.

    WBR, Max. piwamoto!»¿ßѼ-¡ÑΓ
    --- GoldED+/W32-MSVC 1.1.5-b20130111
    * Origin: Personal Reality (2:5057/77.1)