delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/24/09:12:25

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Getting Started, 'errno' problem
24 Oct 1998 09:12:25 -0700 :
Message-ID: <Pine.SUN.3.93.981023170438.22932A-101000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <199810221843 DOT OAA01964 AT buzzword-bingo DOT mit DOT edu>
Mime-Version: 1.0
To: "Stephen E. Schweibinz" <plan AT mit DOT edu>
Cc: gnu-win32 AT cygnus DOT com

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime AT docserver DOT cac DOT washington DOT edu for more info.

--1915750185-1669742654-909180766=:22932
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 22 Oct 1998, Stephen E. Schweibinz wrote:

> I am trying to port some C code from Unix to NT.  I have
> just installed Cygwin32 Beta19 (cdk.exe).  I then installed
> the b19.1-update (new-cygwin19_dll.gz).  Lastly, I replaced
> the Cygwin32 compiler with the egcs-1.1 compiler
> (egcs-1.1-cygb19.tar.gz).  

So far so good.

> 
> After each step, I have tried compiling but I continue
> to get the same problems.  1) Failure to recognize where
> gcc.exe is located (gcc: permission denied) and 2)
> undefined reference to 'errno'

(1) depends on PATH setting obviously, which is ok from your PATH
listing (deleted). Are you using bash? If so, what does `type gcc'
produce? Can you run the following:
  
  $ gcc -v

and if yes, what does it say?

(2) is because of non-ANSI behaviour in lots of old code where instead
of include errno.h, the code declares an "extern int errno" which is
wrong.

> When I try to run 'make', I keep getting an undefined reference
> to 'errno'.

Why can't you just look in the code to see what might be causing this?
Blindly running make and expecting everything to come out ok is probably
asking a bit too much.

I'm attaching my local changes to pbmplus ... comes w/out any warranty
whatsoever (TRANSLATION: free to take what you need, but please don't 
ask me questions about it).

Regards,
Mumit


--1915750185-1669742654-909180766=:22932
Content-Type: APPLICATION/octet-stream; name="pbmplus-win32.diff.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT SUN DOT 3 DOT 93 DOT 981023171246 DOT 22932B AT modi DOT xraylith DOT wisc DOT edu>
Content-Description: pbmplus patch for win32

H4sICDj4MDYAA3BibXBsdXMtd2luMzIuZGlmZgDFWntz2kgS/xs+RS+7zmIj
QBIGA4598StZ7zmOyySb3fO6KBkEqCIklST8uCTf/bp7RtIIhB3X7l6wS2hm
enr6Nd2/GfujPYZfFx4YOhjb/Xarb3TB6PW6AG8XcyeGf88sD15+wueruR2O
FuFD4z60HlwnnjXunGjUsMeL/XK5tAWucxPczI3GCKqHp+cHl38MP16evj8Z
vj47eLPZh2N74nh2o1yqBvOhH9jeHXae23cwWXij2PE9iH2gfpg4rg0TP4S7
0Ikdb8pzbuaBu4gaM+Y0cq0QWZVLg0UQ+GHM1JW6v4iDRczzPWtuV5AdMW6w
eEEwj0aWa5N8c8vx5Oojfz63vDFK79lghVNIuFCnhwS3VuhYNyhRueRPxiQk
iWXTiyVEdbwotq0x+BOI4jFOb8CHyKYFhZ55xcolx4Mbx7PCB5j7YxvuZji0
iFDRZO1U4NgPIkXeM+eTjTYnzd8vbHYb9MA00Gf99s7f5rbLk4PjtV4LsfMD
iwDljxg7B0EIZg8Ms6/jb/uvC2GHoeezn0+9kbsYJ4tjv0+LT5x7iB4iartO
FEMQ+rEfPwS2sNogtsIY5TrCVaf2mT8tl0+9sX3fh7fWJ5s80HC88t5f/5Qv
jwbs0T40F1HYjMJR8+i3weW7d++bse+7kR1z3yJ23Kgp47epCKHdlkM7Dh37
llwf4ldEu8BoGGv6zfLYmUygvoB6C+oB1EOk5adZrtfrqoIldEOnqRtN3QRj
p6/v9Nt6iTjXarVCOqMHeqffMvvtXon4vXoFdaOr7UCNn9h8d/jrAPjT34Of
qgNUv98Y7TX8zTKcnR7KYR5D5rEdUjBnu86nV/SgFeO7hkQ0YRPn8uzLg8vT
kwHNFpHAe90q1y8u3725PHg7YMbMIEYGKddy7QmCZBOJ76kz4fWOcUXWpUbS
nh1TrA826TWRhBpv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sHKSsALY0f0t
C51usZU508i6tYuXY63j0PIi14rtnPIF1FPAX94FTJlcxyUVoIi3Ss1GXGc+
1f5Le3SV+oqIdfyp8zc+rlcmFq/zGUaLMEQP8f+FSWNSIZrZ99KggR/A10Jz
TSyCN63CMVzaD505+u6JmF4Nkkcoc6HyWNArAVNE9m1hUzRTDZ5CAZ4IocI5
TwTS+nXWh9P6OeuDqmjOc0KraP4zA6yIRT7MiihWgk2W+lzBphs0LnD0Ucsz
DnAzu8w0dnqaQWig1yJIW1jxklKPswhd5pZKkYUs7ci9mq/e3MO4JF+f6fNZ
/YeJGcEVEq2iG2Zru93Z6fasmxGGa3Zw4gNAXiOqxRJc1ku4IDGrws9/ej8L
JEZdoq2l8Ki0ZBR9l69MEtAlWAh5rogU9vdh+zrb+kUkL8BoX6tIbVTAIhVh
DREzyeRc9h+dP7LOXEtxaW9Ha5l4rjdaWov/s0RxzHMdygA2yHk0w7TBsk/F
yT7I3w7glGloPVSBrs7enLy/ZIaqMXPDbx4fPkyHa7lhFmhlhfU0b76BJlsr
ZxNBOM0ZRZk8LbAKAexpPujFTWMGqSmSu3ymyNwl41fZQ6rHa3u41suXqTt3
c6kgISnybhoA9eLxRFN5+lD0VI4fa7fzimb7fLD/JsXuZpQ85R6HjaxIyf9Z
yTPJF+LC6jwlif2wGAVFM/8uyHJpAY4OLZQnTBLyisxFKfqR7L0kTBHJkkhr
8XFOMOm0/wE/Sk4pXjAAAA==
--1915750185-1669742654-909180766=:22932--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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