X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=86kqynnj0te4i2IUk+rTJW9OaRHgJcpqO4K0PyUCuK4=; b=OR30vRSKpf6Rc5cgOMd5d3/ADbnWs/ceFbdIU4myDdzaJo0wAia/lSM9DjmnzNaE7W T9XWH/UHE8/ClAJeORP/Jke09bTls/6yJXmLs/zKy81f/8ZD8He2+hxquT1tFjLS++Cr 7FWGet/Xt8EP+o6xOwfQsOhUe/MUXVB81PaF1cjef9jV0NGS9n5kXQukxhFzMCX2bYky s66m0lMxTB+Sx50hdSD16jESknKReF/PJce52V40VXnEtri93kudzwt9XBKHtsQSD1Jr IzoAPTkY722xfOeG91GWZNN/JK+K49lwiTID35LDdPdsfDRmOz4WIi0Jctv2QFSMCeRi UO8w== MIME-Version: 1.0 X-Received: by 10.107.12.72 with SMTP id w69mr23958241ioi.10.1434733066513; Fri, 19 Jun 2015 09:57:46 -0700 (PDT) In-Reply-To: References: <201506091712 DOT t59HCPci004068 AT delorie DOT com> <557739E0 DOT 6070608 AT gmail DOT com> <55775E64 DOT 2090901 AT gmail DOT com> <5579ED42 DOT 6070309 AT gmail DOT com> <5579FE8D DOT 3080501 AT gmail DOT com> <557B436F DOT 1050101 AT gmx DOT de> <779efaf6-8ebf-4f2a-a526-a2773e3909b4 AT googlegroups DOT com> <4131b54f-b34d-4a84-ada6-3443ed9efce9 AT googlegroups DOT com> <20150618-004800 DOT 313 DOT 0 AT Your-Name-Here DOT News> Date: Fri, 19 Jun 2015 19:57:46 +0300 Message-ID: Subject: Re: DJGGP 2.05 upgrade problems. (appologies) From: "Ozkan Sezer (sezeroz AT gmail DOT com)" To: djgpp AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 6/19/15, RayeR (glaux AT centrum DOT cz) wrote: > Sadly I can only confirm the issues with djdev 2.05 and wattcp, after some > night hours of rebuilding quake2dos and wattcp I didn't find working > solution. I use GCC 4.8.4 with latest djdev 2.05, binutils, fileutils, etc. > from the ftp/beta. > > I tried to use my 2-yeard old wattcp build (on djgpp 2.04, gcc 4.7.3) and it > linked with q2dos without problems and visible conflicts but the binary > doesn't fully work - it can get a list of game servers but then I cannot > connect to any dus to ioctl ERROR: > http://rayer.g6.cz/1tmp/quake2tcp.png > The utilities like ping or trace bundled with wattcp works fine. Then I > reconfigured and rebuild wattcp and rebuild q2dos but nothing changed. then > I tried wattcp package from ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/ used > the library and also rebuild it and stiull the same problem. I know that > wattcp cannot be mixed between 2.03 and 2.04 system due to different > djgpp.err definitions of errcodes and maybe else but I just tried to link > with wattcp build from djdev 2.03 and also didn't worked. If both wattcp and > qdos is compiled with 2.03 it works. So the problem must be somewhere > else... > > Please can somebody else try to compile a different project using wattcp and > djdev 2.05, e.g. links browser? > > I can use wattcp with djgpp-2.04/2.05 with uhexen2 just fine. Remember to rebuild sys/djgpp.err and djgpp/syserr.c for 2.04 or 2.05 (they will be identical for 2.04 and 2.05), you can find such versions in uhexen2 tree under oslibs/dos/watt32/ See common/net_sys.h and engine/hexen2/net_udp.c for how I set it up further. Specifically, you should use ioctlsocket() instead of ioctl(), that's one of the things that comes to my mind. You can my modified watt32 source is at http://uhexen2.sourceforge.net/devel/libsrc/ Hope these help. -- O.S.