www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/19/20:41:05

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=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding;
bh=IpFpEfAuRo92KMDMkx/i/BlbbEgjuduBnoRM6DCs9xQ=;
b=nfcLIFK1Wo2h+0nm307ZR1OGJVm5xcxzTP4ktngzwv1zejH0GQl9DjGpaEMNHuaKTf
+ko37oLYkIoUI90tgXPT+Yt0QDTaSCKqmq3S/+xzyE4dzcYz8/fUhedWMdmXyrcg7KS+
Ny45adHyUhxPWWSublskL6J+T5MTMMytuuZe8LOh+ZYXisyOMHRjl3Ua/RPMjD7cZPxs
+10o7yPRwaV3Jl9b+S/tOf0hGuRSEhI7jbl/b0K/67TQMVPG+heAwFnZOQS1Yr1lJvjg
7fWZppoQbJSw1y+lyiwn3JWp6kpRRKRvqq1hSHwT55RdJ95DWwpBCTXHylslSuakav8P
YL+Q==
X-Received: by 10.170.211.2 with SMTP id c2mr23009272ykf.34.1434760856952;
Fri, 19 Jun 2015 17:40:56 -0700 (PDT)
Message-ID: <5584B697.60303@gmail.com>
Date: Fri, 19 Jun 2015 20:40:55 -0400
From: "Frank Sapone (emoaddict15 AT gmail DOT com)" <djgpp AT delorie DOT com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: DJGGP 2.05 upgrade problems. (appologies)
References: <201506091712 DOT t59HCPci004068 AT delorie DOT com> <557739E0 DOT 6070608 AT gmail DOT com> <CAB9Rao93XrKFBpUDnZdjCz+rEXHGOU2RNKdou2oMLJOk802LnA AT mail DOT gmail DOT com> <55775E64 DOT 2090901 AT gmail DOT com> <CAB9Rao-Njdr-CB=vqHnb+TVDmXu3eXqsB5CHB7V0kDwBEsM-WQ AT mail DOT gmail DOT com> <5579ED42 DOT 6070309 AT gmail DOT com> <CAB9Rao8cvu3hLEf=KsRWn7woXka0F9Aax7uM9Jj5QqCO=1bL8w AT mail DOT gmail DOT com> <5579FE8D DOT 3080501 AT gmail DOT com> <557B436F DOT 1050101 AT gmx DOT de> <fe60143b-fe03-451f-84d4-a7d59a67cefc AT googlegroups DOT com> <d1f33445-bef3-42d5-a343-55fed9868908 AT googlegroups DOT com> <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> <fda73a64-d86c-400d-a78d-4d11b067d138 AT googlegroups DOT com> <CAA2C=vCYCjih4r38XZ45TURJPxpKAF40kakFM8iRizDH08QbVQ AT mail DOT gmail DOT com> <65ad24c7-0888-4526-9395-e262f348a021 AT googlegroups DOT com>
In-Reply-To: <65ad24c7-0888-4526-9395-e262f348a021@googlegroups.com>
Reply-To: djgpp AT delorie DOT com

I recently took your solution to fixing the watt32 sys/cdefs.h file and 
it was building properly (the version publically available on watt32 site).

Like you mentioned, you have to use gcc 4 as 5 has issues with multiple 
extern defines.
After that, and using Ozkan's solution of changing ioctl to ioctlsockets 
q2dos will now build properly in 2.05 with GCC 4.84.

Frank


On 6/19/2015 8:12 PM, RayeR (glaux AT centrum DOT cz) wrote:
> Thank you for help.
> I DL the watt32s-2.2.11-20141202.tar.gz
> unpacked and ran configur.bat
> I checked that syserr.c and djgpp.err was generated, so I run make and buuld the libwatt.a [1495960B]
> I clean Q2DOS and build again but at the end I got linking error:
>
> wattcp/lib/libwatt.a(pcconfig.o): In function `ReadHosts6File':
> h:/source/wattcp/src/pcconfig.c:150: undefined reference to `_w32_ReadHosts6File
> '
> collect2.exe: error: ld returned 1 exit status
> makeo2a.frank:163: recipe for target 'q2.exe' failed
> make.exe: *** [q2.exe] Error 1
>
> I can see that in get_xby.h is defined
> #define ReadHosts6File    W32_NAMESPACE (ReadHosts6File)
>    W32_FUNC void        W32_CALL ReadHosts6File  (const char *fname);
> and pccconfig.c:
> FUNC_TO_W32CALL (ReadHosts6File)
>
> why W32 prefix?
> And when in config.h is
> #undef USE_IPV6        /* Include IPv6 dual-stack support */
> why is IP6 function compiled?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019